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:	MAILUTIL Makefile for Windows 9x and Windows NT
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:		25 February 1996
25# Last Edited:	30 August 2006
26
27
28C = ..\c-client
29CCLIENTLIB = $C\cclient.lib
30LIBS = $(CCLIENTLIB) ws2_32.lib winmm.lib advapi32.lib
31CFLAGS= -I$C /MT /W3 /DWIN32 /D_WIN32_WINNT=0x0400 -nologo $(EXTRACFLAGS)
32OSCOMPAT = /DWIN32 /D_WIN32_WINNT=0x0400
33VSCOMPAT = /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE
34CFLAGS= -I$C /MT /W3 $(OSCOMPAT) $(VSCOMPAT) -nologo $(EXTRACFLAGS)
35
36mailutil: $(CCLIENTLIB) mailutil.obj
37	LINK /NOLOGO mailutil.obj $(LIBS)
38
39mailutil.obj: $C\mail.h $C\smtp.h $C\misc.h $C\osdep.h mailutil.c
40
41$(CCLIENTLIB):
42	@echo Make c-client first
43	false
44
45clean:
46	del *.obj *.exe *.lib *.exp || rem
47
48# A monument to a hack of long ago and far away...
49love:
50	@echo not war?
51