annotate src/imapd/makefile.ntk @ 0:ada5e610ab86

imap-2007e
author yuuji@gentei.org
date Mon, 14 Sep 2009 15:17:45 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1 # ========================================================================
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
2 # Copyright 1988-2006 University of Washington
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
3 #
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
4 # Licensed under the Apache License, Version 2.0 (the "License");
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
5 # you may not use this file except in compliance with the License.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
6 # You may obtain a copy of the License at
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
7 #
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
8 # http://www.apache.org/licenses/LICENSE-2.0
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
9 #
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
10 #
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
11 # ========================================================================
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
12
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
13
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
14 # Program: IMAPD Makefile for Windows 9x and Windows NT + Kerberos
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
15 #
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
16 # Author: Mark Crispin
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
17 # Networks and Distributed Computing
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
18 # Computing & Communications
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
19 # University of Washington
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
20 # Administration Building, AG-44
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
21 # Seattle, WA 98195
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
22 # Internet: MRC@CAC.Washington.EDU
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
23 #
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
24 # Date: 5 November 1990
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
25 # Last Edited: 30 August 2006
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
26
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
27
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
28 ALERT=\\imapd.alert
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
29 USERALERT=alert.txt
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
30 SHUTDOWN=\\nologin
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
31 ANO=\\anonymous.newsgroups
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
32 NNTP=\\imapd.nntp
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
33
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
34
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
35 C = ..\c-client
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
36 CCLIENTLIB = $C\cclient.lib
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
37 K5 = \k5\lib
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
38 K5LIB = $(K5)\comerr32.lib $(K5)\gssapi32.lib $(K5)\krb5_32.lib
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
39 LIBS = $(CCLIENTLIB) $(K5LIB) ws2_32.lib winmm.lib advapi32.lib
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
40 OSCOMPAT = /DWIN32 /D_WIN32_WINNT=0x0400
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
41 VSCOMPAT = /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
42 CFLAGS= -I$C /MT /W3 $(OSCOMPAT) $(VSCOMPAT) -nologo $(EXTRACFLAGS) -DALERTFILE=\"$(ALERT)\" -DNNTPFILE=\"$(NNTP)\" -DUSERALERTFILE=\"$(USERALERT)\" -DANOFILE=\"$(ANO)\" -DSHUTDOWNFILE=\"$(SHUTDOWN)\"
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
43
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
44 imapd: $(CCLIENTLIB) imapd.obj
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
45 LINK /NOLOGO imapd.obj $(LIBS)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
46
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
47 imapd.obj: $C\mail.h $C\misc.h $C\osdep.h
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
48
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
49 $(CCLIENTLIB):
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
50 @echo Make c-client first
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
51 false
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
52
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
53 clean:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
54 del *.obj *.exe *.lib *.exp || rem
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
55
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
56 # A monument to a hack of long ago and far away...
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
57 love:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
58 @echo not war?

yatex.org