* Do not define _BSD_SOURCE but define _DEFAULT_SOURCE instead.
[alpine.git] / imap / src / dmail / Makefile
blob4aef24cf21682d6ee1a69749b9e9ee897155e4d3
1 # ========================================================================
2 # Copyright 1988-2006 University of Washington
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
8 # http://www.apache.org/licenses/LICENSE-2.0
11 # ========================================================================
14 # Program: dmail Makefile
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
24 # Date: 5 April 1993
25 # Last Edited: 10 September 2007
28 C = ../c-client
29 CCLIENTLIB = $C/c-client.a
30 SHELL = /bin/sh
32 # Get local definitions from c-client directory
34 CC = `cat $C/CCTYPE`
35 CFLAGS = -I$C `cat $C/CFLAGS`
36 LDFLAGS = $(CCLIENTLIB) `cat $C/LDFLAGS`
38 dmail: $(CCLIENTLIB) dmail.o dquota.o
39 $(CC) $(CFLAGS) -o dmail dmail.o dquota.o $(LDFLAGS)
41 dmail.o: $C/mail.h $C/misc.h $C/osdep.h dquota.h
43 dquota.o: dquota.h
45 $(CCLIENTLIB):
46 cd $C;make
48 clean:
49 rm -f *.o dmail
51 # A monument to a hack of long ago and far away...
52 love:
53 @echo 'not war?'