imapext-2007

annotate src/osdep/nt/makefile.w2k @ 0:ada5e610ab86

imap-2007e
author yuuji@gentei.org
date Mon, 14 Sep 2009 15:17:45 +0900
parents
children
rev   line source
yuuji@0 1 # ========================================================================
yuuji@0 2 # Copyright 1988-2007 University of Washington
yuuji@0 3 #
yuuji@0 4 # Licensed under the Apache License, Version 2.0 (the "License");
yuuji@0 5 # you may not use this file except in compliance with the License.
yuuji@0 6 # You may obtain a copy of the License at
yuuji@0 7 #
yuuji@0 8 # http://www.apache.org/licenses/LICENSE-2.0
yuuji@0 9 #
yuuji@0 10 #
yuuji@0 11 # ========================================================================
yuuji@0 12
yuuji@0 13 # Program: Portable C client makefile -- Windows 2000/XP version
yuuji@0 14 #
yuuji@0 15 # Author: Mark Crispin
yuuji@0 16 # Networks and Distributed Computing
yuuji@0 17 # Computing & Communications
yuuji@0 18 # University of Washington
yuuji@0 19 # Administration Building, AG-44
yuuji@0 20 # Seattle, WA 98195
yuuji@0 21 # Internet: MRC@CAC.Washington.EDU
yuuji@0 22 #
yuuji@0 23 # Date: 11 May 1989
yuuji@0 24 # Last Edited: 23 May 2007
yuuji@0 25
yuuji@0 26
yuuji@0 27 IP=6
yuuji@0 28 EXTRAAUTHENTICATORS =
yuuji@0 29 EXTRADRIVERS =
yuuji@0 30 EXTRACFLAGS =
yuuji@0 31 AUTHENTICATORS = ext gss md5 pla log
yuuji@0 32 DRIVERS = imap nntp pop3 mbx mtx tenex unix
yuuji@0 33 CREATEDRIVER = mbx
yuuji@0 34 APPENDDRIVER = unix
yuuji@0 35 OSCOMPAT = /DWIN32
yuuji@0 36 VSCOMPAT = /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE
yuuji@0 37 CFLAGS = /MT /W3 /Ox /DCHUNKSIZE=65536 $(OSCOMPAT) $(VSCOMPAT) -nologo /I.. $(EXTRACFLAGS)
yuuji@0 38 CC = cl
yuuji@0 39 CCLIENTLIB = cclient.lib
yuuji@0 40
yuuji@0 41 all: $(CCLIENTLIB)
yuuji@0 42
yuuji@0 43 .c.obj:
yuuji@0 44 $(CC) -c $(CFLAGS) $*.c
yuuji@0 45
yuuji@0 46 osdep.h: os_nt.h
yuuji@0 47 copy os_nt.h osdep.h
yuuji@0 48 drivers $(EXTRADRIVERS) $(DRIVERS) dummy
yuuji@0 49 setproto $(CREATEDRIVER) $(APPENDDRIVER)
yuuji@0 50 echo ssl_onceonlyinit (); >> linkage.c
yuuji@0 51 mkauths $(EXTRAAUTHENTICATORS) $(AUTHENTICATORS)
yuuji@0 52 echo mail_versioncheck (CCLIENTVERSION); >> linkage.c
yuuji@0 53
yuuji@0 54 ip_nt.c: ip$(IP)_nt.c
yuuji@0 55 copy ip$(IP)_nt.c ip_nt.c
yuuji@0 56
yuuji@0 57 mail.obj: mail.h misc.h osdep.h mail.c
yuuji@0 58
yuuji@0 59 misc.obj: mail.h misc.h misc.c
yuuji@0 60
yuuji@0 61 fdstring.obj: mail.h misc.h osdep.h fdstring.h fdstring.c
yuuji@0 62
yuuji@0 63 flstring.obj: mail.h misc.h osdep.h flstring.h flstring.c
yuuji@0 64
yuuji@0 65 netmsg.obj: mail.h misc.h netmsg.h osdep.h netmsg.c
yuuji@0 66
yuuji@0 67 newsrc.obj: mail.h misc.h newsrc.h osdep.h newsrc.c
yuuji@0 68
yuuji@0 69 rfc822.obj: mail.h rfc822.h misc.h rfc822.c
yuuji@0 70
yuuji@0 71 smanager.obj: mail.h misc.h smanager.c
yuuji@0 72
yuuji@0 73 utf8.obj: mail.h misc.h osdep.h utf8.h
yuuji@0 74
yuuji@0 75 utf8aux.obj: mail.h misc.h osdep.h utf8.h
yuuji@0 76
yuuji@0 77 imap4r1.obj: mail.h imap4r1.h misc.h osdep.h imap4r1.c
yuuji@0 78
yuuji@0 79 nntp.obj: mail.h nntp.h smtp.h rfc822.h misc.h osdep.h nntp.c
yuuji@0 80
yuuji@0 81 pop3.obj: mail.h rfc822.h misc.h osdep.h pop3.c
yuuji@0 82
yuuji@0 83 smtp.obj: mail.h smtp.h rfc822.h misc.h osdep.h smtp.c
yuuji@0 84
yuuji@0 85 os_w2k.obj: mail.h osdep.h env_nt.h fs.h ftl.h nl.h tcp.h tcp_nt.h yunchan.h \
yuuji@0 86 os_w2k.c fs_nt.c ftl_nt.c nl_nt.c env_nt.c ssl_w2k.c ssl_none.c \
yuuji@0 87 ip_nt.c tcp_nt.c yunchan.c pmatch.c write.c \
yuuji@0 88 mailfile.h auth_gss.c auth_md5.c auth_pla.c auth_log.c kerb_w2k.c
yuuji@0 89
yuuji@0 90 mbxnt.obj: mail.h misc.h osdep.h mbxnt.c
yuuji@0 91
yuuji@0 92 mtxnt.obj: mail.h misc.h osdep.h mtxnt.c
yuuji@0 93
yuuji@0 94 tenexnt.obj: mail.h misc.h osdep.h tenexnt.c
yuuji@0 95
yuuji@0 96 unixnt.obj: mail.h unixnt.h pseudo.h misc.h osdep.h unixnt.c
yuuji@0 97
yuuji@0 98 dummynt.obj: mail.h dummy.h misc.h osdep.h dummynt.c
yuuji@0 99
yuuji@0 100 pseudo.obj: pseudo.h
yuuji@0 101
yuuji@0 102 $(CCLIENTLIB): mail.obj misc.obj fdstring.obj flstring.obj netmsg.obj \
yuuji@0 103 newsrc.obj rfc822.obj smanager.obj utf8.obj utf8aux.obj \
yuuji@0 104 imap4r1.obj nntp.obj pop3.obj smtp.obj os_w2k.obj \
yuuji@0 105 mbxnt.obj mtxnt.obj tenexnt.obj unixnt.obj dummynt.obj pseudo.obj
yuuji@0 106 if exist $(CCLIENTLIB) del $(CCLIENTLIB)
yuuji@0 107 LIB /NOLOGO /OUT:cclient.lib \
yuuji@0 108 mail.obj misc.obj fdstring.obj flstring.obj netmsg.obj \
yuuji@0 109 newsrc.obj rfc822.obj smanager.obj utf8.obj utf8aux.obj \
yuuji@0 110 imap4r1.obj nntp.obj pop3.obj smtp.obj os_w2k.obj \
yuuji@0 111 mbxnt.obj mtxnt.obj tenexnt.obj unixnt.obj dummynt.obj pseudo.obj
yuuji@0 112
yuuji@0 113 clean:
yuuji@0 114 del *.lib *.obj linkage.* osdep.* ip_nt.c auths.c *.exe *.exp || rem
yuuji@0 115
yuuji@0 116 # A monument to a hack of long ago and far away...
yuuji@0 117
yuuji@0 118 love:
yuuji@0 119 @echo not war?

UW-IMAP'd extensions by yuuji