* Several changes to the compilation of Alpine in Windows to use
[alpine.git] / imap / src / mailutil / makefile.nt
blob9732435041c541e161e2f7f872d736440ba485e0
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:      MAILUTIL 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:         25 February 1996
25 # Last Edited:  30 August 2006
28 C = ..\c-client
29 CCLIENTLIB = $C\cclient.lib
30 LIBS = $(CCLIENTLIB) ws2_32.lib winmm.lib advapi32.lib $(LIBRESSLLIBS)
31 CFLAGS= -I$C /MT /W3 /DWIN32 /D_WIN32_WINNT=0x0501 -nologo $(EXTRACFLAGS)
32 OSCOMPAT = /DWIN32 /D_WIN32_WINNT=0x0501
33 VSCOMPAT = /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE
34 CFLAGS= -I$C /MT /W3 $(OSCOMPAT) $(VSCOMPAT) -nologo $(EXTRACFLAGS)
36 mailutil: $(CCLIENTLIB) mailutil.obj
37         LINK /NOLOGO mailutil.obj $(LIBS)
39 mailutil.obj: $C\mail.h $C\smtp.h $C\misc.h $C\osdep.h mailutil.c
41 $(CCLIENTLIB):
42         @echo Make c-client first
43         false
45 clean:
46         del *.obj *.exe *.lib *.exp || rem
48 # A monument to a hack of long ago and far away...
49 love:
50         @echo not war?