imapext-2007
diff src/imapd/Makefile @ 0:ada5e610ab86
imap-2007e
author | yuuji@gentei.org |
---|---|
date | Mon, 14 Sep 2009 15:17:45 +0900 |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/imapd/Makefile Mon Sep 14 15:17:45 2009 +0900 1.3 @@ -0,0 +1,68 @@ 1.4 +# ======================================================================== 1.5 +# Copyright 1988-2006 University of Washington 1.6 +# 1.7 +# Licensed under the Apache License, Version 2.0 (the "License"); 1.8 +# you may not use this file except in compliance with the License. 1.9 +# You may obtain a copy of the License at 1.10 +# 1.11 +# http://www.apache.org/licenses/LICENSE-2.0 1.12 +# 1.13 +# 1.14 +# ======================================================================== 1.15 + 1.16 + 1.17 +# Program: IMAPD Makefile 1.18 +# 1.19 +# Author: Mark Crispin 1.20 +# Networks and Distributed Computing 1.21 +# Computing & Communications 1.22 +# University of Washington 1.23 +# Administration Building, AG-44 1.24 +# Seattle, WA 98195 1.25 +# Internet: MRC@CAC.Washington.EDU 1.26 +# 1.27 +# Date: 5 November 1990 1.28 +# Last Edited: 30 August 2006 1.29 + 1.30 + 1.31 +ALERT=/etc/imapd.alert 1.32 +USERALERT=.imapalert 1.33 +SHUTDOWN=/etc/nologin 1.34 +ANO=/etc/anonymous.newsgroups 1.35 +NNTP=/etc/imapd.nntp 1.36 +SHELL= /bin/sh 1.37 + 1.38 + 1.39 +# Un-comment this to get somewhat better interoperability with Netscape. It 1.40 +# causes the "Manage Mail" menu item to open the given URL, e.g. to point to 1.41 +# an alternative IMAP client (e.g. Pine) or perhaps to a homebrew mail 1.42 +# account management page. 1.43 +#NSBD= -DNETSCAPE_BRAIN_DAMAGE=\"http://www.washington.edu/pine\" 1.44 + 1.45 + 1.46 +# Get local definitions from c-client directory 1.47 + 1.48 +C = ../c-client 1.49 +CCLIENTLIB = $C/c-client.a 1.50 +CC = `cat $C/CCTYPE` 1.51 +CFLAGS = -I$C `cat $C/CFLAGS` $(NSBD) $(ENBD) -DANOFILE=\"$(ANO)\" \ 1.52 + -DALERTFILE=\"$(ALERT)\" -DNNTPFILE=\"$(NNTP)\" \ 1.53 + -DUSERALERTFILE=\"$(USERALERT)\" -DSHUTDOWNFILE=\"$(SHUTDOWN)\" 1.54 +LDFLAGS = $(CCLIENTLIB) `cat $C/LDFLAGS` 1.55 + 1.56 +all: imapd 1.57 + 1.58 +imapd: $(CCLIENTLIB) imapd.o 1.59 + $(CC) $(CFLAGS) -o imapd imapd.o $(LDFLAGS) 1.60 + 1.61 +imapd.o: $C/mail.h $C/misc.h $C/osdep.h 1.62 + 1.63 +$(CCLIENTLIB): 1.64 + cd $C;make 1.65 + 1.66 +clean: 1.67 + rm -f *.o imapd || true 1.68 + 1.69 +# A monument to a hack of long ago and far away... 1.70 +love: 1.71 + @echo 'not war?'