imapext-2007

annotate src/osdep/nt/makefile.ntk @ 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 -- NT version + Kerberos
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 EXTRAAUTHENTICATORS =
yuuji@0 28 EXTRADRIVERS =
yuuji@0 29 EXTRACFLAGS =
yuuji@0 30 AUTHENTICATORS = ext gss md5 pla log
yuuji@0 31 DRIVERS = imap nntp pop3 mbx mtx tenex unix
yuuji@0 32 CREATEDRIVER = mbx
yuuji@0 33 APPENDDRIVER = unix
yuuji@0 34 OSCOMPAT = /DWIN32 /D_WIN32_WINNT=0x0400 /I\k5\include
yuuji@0 35 VSCOMPAT = /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE
yuuji@0 36 CFLAGS = /MT /W3 /Ox /DCHUNKSIZE=65536 $(OSCOMPAT) $(VSCOMPAT) -nologo /I.. $(EXTRACFLAGS)
yuuji@0 37 CC = cl
yuuji@0 38 CCLIENTLIB = cclient.lib
yuuji@0 39
yuuji@0 40 all: $(CCLIENTLIB)
yuuji@0 41
yuuji@0 42 .c.obj:
yuuji@0 43 $(CC) -c $(CFLAGS) $*.c
yuuji@0 44
yuuji@0 45 osdep.h: os_nt.h
yuuji@0 46 copy os_nt.h osdep.h
yuuji@0 47 drivers $(EXTRADRIVERS) $(DRIVERS) dummy
yuuji@0 48 setproto $(CREATEDRIVER) $(APPENDDRIVER)
yuuji@0 49 echo ssl_onceonlyinit (); >> linkage.c
yuuji@0 50 mkauths $(EXTRAAUTHENTICATORS) $(AUTHENTICATORS)
yuuji@0 51 echo mail_versioncheck (CCLIENTVERSION); >> linkage.c
yuuji@0 52
yuuji@0 53 ip_nt.c: ip4_nt.c
yuuji@0 54 copy ip4_nt.c ip_nt.c
yuuji@0 55
yuuji@0 56 mail.obj: mail.h misc.h osdep.h mail.c
yuuji@0 57
yuuji@0 58 misc.obj: mail.h misc.h misc.c
yuuji@0 59
yuuji@0 60 fdstring.obj: mail.h misc.h osdep.h fdstring.h fdstring.c
yuuji@0 61
yuuji@0 62 flstring.obj: mail.h misc.h osdep.h flstring.h flstring.c
yuuji@0 63
yuuji@0 64 netmsg.obj: mail.h misc.h netmsg.h osdep.h netmsg.c
yuuji@0 65
yuuji@0 66 newsrc.obj: mail.h misc.h newsrc.h osdep.h newsrc.c
yuuji@0 67
yuuji@0 68 rfc822.obj: mail.h rfc822.h misc.h rfc822.c
yuuji@0 69
yuuji@0 70 smanager.obj: mail.h misc.h smanager.c
yuuji@0 71
yuuji@0 72 utf8.obj: mail.h misc.h osdep.h utf8.h
yuuji@0 73
yuuji@0 74 utf8aux.obj: mail.h misc.h osdep.h utf8.h
yuuji@0 75
yuuji@0 76 imap4r1.obj: mail.h imap4r1.h misc.h osdep.h imap4r1.c
yuuji@0 77
yuuji@0 78 nntp.obj: mail.h nntp.h smtp.h rfc822.h misc.h osdep.h nntp.c
yuuji@0 79
yuuji@0 80 pop3.obj: mail.h rfc822.h misc.h osdep.h pop3.c
yuuji@0 81
yuuji@0 82 smtp.obj: mail.h smtp.h rfc822.h misc.h osdep.h smtp.c
yuuji@0 83
yuuji@0 84 os_ntk.obj: mail.h osdep.h env_nt.h fs.h ftl.h nl.h tcp.h tcp_nt.h yunchan.h \
yuuji@0 85 os_ntk.c fs_nt.c ftl_nt.c nl_nt.c env_nt.c ssl_nt.c ssl_none.c \
yuuji@0 86 ip_nt.c tcp_nt.c yunchan.c pmatch.c write.c \
yuuji@0 87 mailfile.h auth_gss.c auth_md5.c auth_pla.c auth_log.c kerb_mit.c
yuuji@0 88
yuuji@0 89 mbxnt.obj: mail.h misc.h osdep.h mbxnt.c
yuuji@0 90
yuuji@0 91 mtxnt.obj: mail.h misc.h osdep.h mtxnt.c
yuuji@0 92
yuuji@0 93 tenexnt.obj: mail.h misc.h osdep.h tenexnt.c
yuuji@0 94
yuuji@0 95 unixnt.obj: mail.h unixnt.h pseudo.h misc.h osdep.h unixnt.c
yuuji@0 96
yuuji@0 97 dummynt.obj: mail.h dummy.h misc.h osdep.h dummynt.c
yuuji@0 98
yuuji@0 99 pseudo.obj: pseudo.h
yuuji@0 100
yuuji@0 101 $(CCLIENTLIB): mail.obj misc.obj fdstring.obj flstring.obj netmsg.obj \
yuuji@0 102 newsrc.obj rfc822.obj smanager.obj utf8.obj utf8aux.obj \
yuuji@0 103 imap4r1.obj nntp.obj pop3.obj smtp.obj os_ntk.obj \
yuuji@0 104 mbxnt.obj mtxnt.obj tenexnt.obj unixnt.obj dummynt.obj pseudo.obj
yuuji@0 105 if exist $(CCLIENTLIB) del $(CCLIENTLIB)
yuuji@0 106 LIB /NOLOGO /OUT:cclient.lib \
yuuji@0 107 mail.obj misc.obj fdstring.obj flstring.obj netmsg.obj \
yuuji@0 108 newsrc.obj rfc822.obj smanager.obj utf8.obj utf8aux.obj \
yuuji@0 109 imap4r1.obj nntp.obj pop3.obj smtp.obj os_ntk.obj \
yuuji@0 110 mbxnt.obj mtxnt.obj tenexnt.obj unixnt.obj dummynt.obj pseudo.obj
yuuji@0 111
yuuji@0 112 clean:
yuuji@0 113 del *.lib *.obj linkage.* osdep.* ip_nt.c auths.c *.exe *.exp || rem
yuuji@0 114
yuuji@0 115 # A monument to a hack of long ago and far away...
yuuji@0 116
yuuji@0 117 love:
yuuji@0 118 @echo not war?

UW-IMAP'd extensions by yuuji