~ubuntu-branches/debian/squeeze/alpine/squeeze

« back to all changes in this revision

Viewing changes to imap/src/imapd/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Asheesh Laroia
  • Date: 2007-02-17 13:17:42 UTC
  • Revision ID: james.westby@ubuntu.com-20070217131742-99x5c6cpg1pbkdhw
Tags: upstream-0.82+dfsg
ImportĀ upstreamĀ versionĀ 0.82+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# ========================================================================
 
2
# Copyright 1988-2006 University of Washington
 
3
#
 
4
# Licensed under the Apache License, Version 2.0 (the "License");
 
5
# you may not use this file except in compliance with the License.
 
6
# You may obtain a copy of the License at
 
7
#
 
8
#     http://www.apache.org/licenses/LICENSE-2.0
 
9
#
 
10
 
11
# ========================================================================
 
12
 
 
13
 
 
14
# Program:      IMAPD Makefile
 
15
#
 
16
# Author:       Mark Crispin
 
17
#               Networks and Distributed Computing
 
18
#               Computing & Communications
 
19
#               University of Washington
 
20
#               Administration Building, AG-44
 
21
#               Seattle, WA  98195
 
22
#               Internet: MRC@CAC.Washington.EDU
 
23
#
 
24
# Date:         5 November 1990
 
25
# Last Edited:  30 August 2006
 
26
 
 
27
 
 
28
ALERT=/etc/imapd.alert
 
29
USERALERT=.imapalert
 
30
SHUTDOWN=/etc/nologin
 
31
ANO=/etc/anonymous.newsgroups
 
32
NNTP=/etc/imapd.nntp
 
33
SHELL= /bin/sh
 
34
 
 
35
 
 
36
# Un-comment this to get somewhat better interoperability with Netscape.  It
 
37
# causes the "Manage Mail" menu item to open the given URL, e.g. to point to
 
38
# an alternative IMAP client (e.g. Pine) or perhaps to a homebrew mail
 
39
# account management page.
 
40
#NSBD= -DNETSCAPE_BRAIN_DAMAGE=\"http://www.washington.edu/pine\"
 
41
 
 
42
 
 
43
# Get local definitions from c-client directory
 
44
 
 
45
C = ../c-client
 
46
CCLIENTLIB = $C/c-client.a
 
47
CC = `cat $C/CCTYPE`
 
48
CFLAGS = -I$C `cat $C/CFLAGS` $(NSBD) $(ENBD) -DANOFILE=\"$(ANO)\" \
 
49
        -DALERTFILE=\"$(ALERT)\" -DNNTPFILE=\"$(NNTP)\" \
 
50
        -DUSERALERTFILE=\"$(USERALERT)\" -DSHUTDOWNFILE=\"$(SHUTDOWN)\"
 
51
LDFLAGS = $(CCLIENTLIB) `cat $C/LDFLAGS`
 
52
 
 
53
all:    imapd
 
54
 
 
55
imapd: $(CCLIENTLIB) imapd.o
 
56
        $(CC) $(CFLAGS) -o imapd imapd.o $(LDFLAGS)
 
57
 
 
58
imapd.o: $C/mail.h $C/misc.h $C/osdep.h
 
59
 
 
60
$(CCLIENTLIB):
 
61
        cd $C;make
 
62
 
 
63
clean:
 
64
        rm -f *.o imapd || true
 
65
 
 
66
# A monument to a hack of long ago and far away...
 
67
love:
 
68
        @echo 'not war?'