* Several changes to the compilation of Alpine in Windows to use
[alpine.git] / imap / src / imapd / makefile.nt
blob9831ffea2417e5d005ce90515ab4ca7725c201f0
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
10
11 # ========================================================================
14 # Program:      IMAPD Makefile for Windows 9x and Windows NT
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 November 1990
25 # Last Edited:  30 August 2006
28 ALERT=\\imapd.alert
29 USERALERT=alert.txt
30 SHUTDOWN=\\nologin
31 ANO=\\anonymous.newsgroups
32 NNTP=\\imapd.nntp
34 C = ..\c-client
35 CCLIENTLIB = $C\cclient.lib
36 LIBS = $(CCLIENTLIB) ws2_32.lib winmm.lib advapi32.lib
37 OSCOMPAT = /DWIN32 /D_WIN32_WINNT=0x0501
38 VSCOMPAT = /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE
39 CFLAGS= -I$C /MT /W3 $(OSCOMPAT) $(VSCOMPAT) -nologo $(EXTRACFLAGS) -DALERTFILE=\"$(ALERT)\" -DNNTPFILE=\"$(NNTP)\" -DUSERALERTFILE=\"$(USERALERT)\" -DANOFILE=\"$(ANO)\" -DSHUTDOWNFILE=\"$(SHUTDOWN)\"
41 imapd: $(CCLIENTLIB) imapd.obj
42         LINK /NOLOGO imapd.obj $(LIBS)
44 imapd.obj: $C\mail.h $C\misc.h $C\osdep.h
46 $(CCLIENTLIB):
47         @echo Make c-client first
48         false
50 clean:
51         del *.obj *.exe *.lib *.exp || rem
53 # A monument to a hack of long ago and far away...
54 love:
55         @echo not war?