imapext-2007

annotate src/osdep/os2/makefile.os2 @ 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-2006 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 -- OS/2 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: 30 August 2006
yuuji@0 25
yuuji@0 26
yuuji@0 27 EXTRAAUTHENTICATORS =
yuuji@0 28 EXTRADRIVERS =
yuuji@0 29 EXTRACFLAGS =
yuuji@0 30 DEFAULTAUTHENTICATORS = ext md5 pla log
yuuji@0 31 DRIVERS = imap nntp pop3 mbx mtx tenex unix
yuuji@0 32 DEFAULTDRIVER = mbx
yuuji@0 33 CFLAGS = -DOMF -DCHUNKSIZE=65536 -O2 -Zomf $(EXTRACFLAGS)
yuuji@0 34 CC = gcc
yuuji@0 35 CCLIENTLIB = cclient.lib
yuuji@0 36
yuuji@0 37 all: $(CCLIENTLIB)
yuuji@0 38
yuuji@0 39 .c.obj:
yuuji@0 40 $(CC) $(CFLAGS) -o $@ -c $*.c
yuuji@0 41
yuuji@0 42 osdep.h: os_os2.h
yuuji@0 43 copy os_os2.h osdep.h
yuuji@0 44 drivers.cmd $(EXTRADRIVERS) $(DRIVERS) dummy
yuuji@0 45 auths.cmd $(EXTRAAUTHENTICATORS) $(DEFAULTAUTHENTICATORS)
yuuji@0 46 setproto.cmd $(DEFAULTDRIVER)
yuuji@0 47
yuuji@0 48 mail.obj: mail.h misc.h osdep.h mail.c
yuuji@0 49
yuuji@0 50 misc.obj: mail.h misc.h misc.c
yuuji@0 51
yuuji@0 52 fdstring.obj: mail.h misc.h osdep.h fdstring.h fdstring.c
yuuji@0 53
yuuji@0 54 flstring.obj: mail.h misc.h osdep.h flstring.h flstring.c
yuuji@0 55
yuuji@0 56 netmsg.obj: mail.h misc.h netmsg.h osdep.h netmsg.c
yuuji@0 57
yuuji@0 58 newsrc.obj: mail.h misc.h newsrc.h osdep.h newsrc.c
yuuji@0 59
yuuji@0 60 rfc822.obj: mail.h rfc822.h misc.h rfc822.c
yuuji@0 61
yuuji@0 62 smanager.obj: mail.h misc.h smanager.c
yuuji@0 63
yuuji@0 64 utf8.obj: mail.h misc.h osdep.h utf8.h
yuuji@0 65
yuuji@0 66 utf8aux.obj: mail.h misc.h osdep.h utf8.h
yuuji@0 67
yuuji@0 68 imap4r1.obj: mail.h imap4r1.h misc.h osdep.h imap4r1.c
yuuji@0 69
yuuji@0 70 nntp.obj: mail.h nntp.h smtp.h rfc822.h misc.h osdep.h nntp.c
yuuji@0 71
yuuji@0 72 pop3.obj: mail.h rfc822.h misc.h osdep.h pop3.c
yuuji@0 73
yuuji@0 74 smtp.obj: mail.h smtp.h rfc822.h misc.h osdep.h smtp.c
yuuji@0 75
yuuji@0 76 os_os2.obj: mail.h osdep.h env_os2.h fs.h ftl.h nl.h tcp.h tcp_os2.h \
yuuji@0 77 os_os2.c fs_os2.c ftl_os2.c nl_os2.c env_os2.c tcp_os2.c \
yuuji@0 78 mailfile.h auth_md5.c auth_log.c pmatch.c write.c
yuuji@0 79
yuuji@0 80 mbxnt.obj: mail.h misc.h osdep.h mbxnt.c
yuuji@0 81
yuuji@0 82 mtxnt.obj: mail.h misc.h osdep.h mtxnt.c
yuuji@0 83
yuuji@0 84 tenexnt.obj: mail.h misc.h osdep.h tenexnt.c
yuuji@0 85
yuuji@0 86 unixnt.obj: mail.h unixnt.h pseudo.h misc.h osdep.h unixnt.c
yuuji@0 87
yuuji@0 88 dummyos2.obj: mail.h dummy.h misc.h osdep.h dummyos2.c
yuuji@0 89
yuuji@0 90 pseudo.obj: pseudo.h
yuuji@0 91
yuuji@0 92 $(CCLIENTLIB): mail.obj misc.obj fdstring.obj flstring.obj netmsg.obj \
yuuji@0 93 newsrc.obj rfc822.obj smanager.obj utf8.obj utf8aux.obj \
yuuji@0 94 imap4r1.obj nntp.obj pop3.obj smtp.obj os_os2.obj \
yuuji@0 95 mbxnt.obj mtxnt.obj tenexnt.obj unixnt.obj dummynt.obj pseudo.obj
yuuji@0 96 del $(CCLIENTLIB)
yuuji@0 97 LIB /NOLOGO /OUT:$(CCLIENTLIB) \
yuuji@0 98 mail.obj misc.obj fdstring.obj flstring.obj netmsg.obj \
yuuji@0 99 newsrc.obj rfc822.obj smanager.obj utf8.obj utf8aux.obj \
yuuji@0 100 imap4r1.obj nntp.obj pop3.obj smtp.obj os_os2.obj \
yuuji@0 101 mbxnt.obj mtxnt.obj tenexnt.obj unixnt.obj dummynt.obj pseudo.obj
yuuji@0 102
yuuji@0 103 clean:
yuuji@0 104 del *.lib *.obj linkage.* osdep.* auths.c *.exe *.exp
yuuji@0 105
yuuji@0 106 # A monument to a hack of long ago and far away...
yuuji@0 107
yuuji@0 108 love:
yuuji@0 109 @echo not war?

UW-IMAP'd extensions by yuuji