imapext-2007

annotate src/imapd/Makefile @ 0:ada5e610ab86

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

UW-IMAP'd extensions by yuuji