0
|
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 for Windows 9x and Windows NT + Kerberos
|
|
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=\\imapd.alert
|
|
29 USERALERT=alert.txt
|
|
30 SHUTDOWN=\\nologin
|
|
31 ANO=\\anonymous.newsgroups
|
|
32 NNTP=\\imapd.nntp
|
|
33
|
|
34
|
|
35 C = ..\c-client
|
|
36 CCLIENTLIB = $C\cclient.lib
|
|
37 K5 = \k5\lib
|
|
38 K5LIB = $(K5)\comerr32.lib $(K5)\gssapi32.lib $(K5)\krb5_32.lib
|
|
39 LIBS = $(CCLIENTLIB) $(K5LIB) ws2_32.lib winmm.lib advapi32.lib
|
|
40 OSCOMPAT = /DWIN32 /D_WIN32_WINNT=0x0400
|
|
41 VSCOMPAT = /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE
|
|
42 CFLAGS= -I$C /MT /W3 $(OSCOMPAT) $(VSCOMPAT) -nologo $(EXTRACFLAGS) -DALERTFILE=\"$(ALERT)\" -DNNTPFILE=\"$(NNTP)\" -DUSERALERTFILE=\"$(USERALERT)\" -DANOFILE=\"$(ANO)\" -DSHUTDOWNFILE=\"$(SHUTDOWN)\"
|
|
43
|
|
44 imapd: $(CCLIENTLIB) imapd.obj
|
|
45 LINK /NOLOGO imapd.obj $(LIBS)
|
|
46
|
|
47 imapd.obj: $C\mail.h $C\misc.h $C\osdep.h
|
|
48
|
|
49 $(CCLIENTLIB):
|
|
50 @echo Make c-client first
|
|
51 false
|
|
52
|
|
53 clean:
|
|
54 del *.obj *.exe *.lib *.exp || rem
|
|
55
|
|
56 # A monument to a hack of long ago and far away...
|
|
57 love:
|
|
58 @echo not war?
|