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