imapext-2007

view src/osdep/os2/makefile.os2 @ 0:ada5e610ab86

imap-2007e
author yuuji@gentei.org
date Mon, 14 Sep 2009 15:17:45 +0900
parents
children
line source
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 # ========================================================================
13 # Program: Portable C client makefile -- OS/2 version
14 #
15 # Author: Mark Crispin
16 # Networks and Distributed Computing
17 # Computing & Communications
18 # University of Washington
19 # Administration Building, AG-44
20 # Seattle, WA 98195
21 # Internet: MRC@CAC.Washington.EDU
22 #
23 # Date: 11 May 1989
24 # Last Edited: 30 August 2006
27 EXTRAAUTHENTICATORS =
28 EXTRADRIVERS =
29 EXTRACFLAGS =
30 DEFAULTAUTHENTICATORS = ext md5 pla log
31 DRIVERS = imap nntp pop3 mbx mtx tenex unix
32 DEFAULTDRIVER = mbx
33 CFLAGS = -DOMF -DCHUNKSIZE=65536 -O2 -Zomf $(EXTRACFLAGS)
34 CC = gcc
35 CCLIENTLIB = cclient.lib
37 all: $(CCLIENTLIB)
39 .c.obj:
40 $(CC) $(CFLAGS) -o $@ -c $*.c
42 osdep.h: os_os2.h
43 copy os_os2.h osdep.h
44 drivers.cmd $(EXTRADRIVERS) $(DRIVERS) dummy
45 auths.cmd $(EXTRAAUTHENTICATORS) $(DEFAULTAUTHENTICATORS)
46 setproto.cmd $(DEFAULTDRIVER)
48 mail.obj: mail.h misc.h osdep.h mail.c
50 misc.obj: mail.h misc.h misc.c
52 fdstring.obj: mail.h misc.h osdep.h fdstring.h fdstring.c
54 flstring.obj: mail.h misc.h osdep.h flstring.h flstring.c
56 netmsg.obj: mail.h misc.h netmsg.h osdep.h netmsg.c
58 newsrc.obj: mail.h misc.h newsrc.h osdep.h newsrc.c
60 rfc822.obj: mail.h rfc822.h misc.h rfc822.c
62 smanager.obj: mail.h misc.h smanager.c
64 utf8.obj: mail.h misc.h osdep.h utf8.h
66 utf8aux.obj: mail.h misc.h osdep.h utf8.h
68 imap4r1.obj: mail.h imap4r1.h misc.h osdep.h imap4r1.c
70 nntp.obj: mail.h nntp.h smtp.h rfc822.h misc.h osdep.h nntp.c
72 pop3.obj: mail.h rfc822.h misc.h osdep.h pop3.c
74 smtp.obj: mail.h smtp.h rfc822.h misc.h osdep.h smtp.c
76 os_os2.obj: mail.h osdep.h env_os2.h fs.h ftl.h nl.h tcp.h tcp_os2.h \
77 os_os2.c fs_os2.c ftl_os2.c nl_os2.c env_os2.c tcp_os2.c \
78 mailfile.h auth_md5.c auth_log.c pmatch.c write.c
80 mbxnt.obj: mail.h misc.h osdep.h mbxnt.c
82 mtxnt.obj: mail.h misc.h osdep.h mtxnt.c
84 tenexnt.obj: mail.h misc.h osdep.h tenexnt.c
86 unixnt.obj: mail.h unixnt.h pseudo.h misc.h osdep.h unixnt.c
88 dummyos2.obj: mail.h dummy.h misc.h osdep.h dummyos2.c
90 pseudo.obj: pseudo.h
92 $(CCLIENTLIB): mail.obj misc.obj fdstring.obj flstring.obj netmsg.obj \
93 newsrc.obj rfc822.obj smanager.obj utf8.obj utf8aux.obj \
94 imap4r1.obj nntp.obj pop3.obj smtp.obj os_os2.obj \
95 mbxnt.obj mtxnt.obj tenexnt.obj unixnt.obj dummynt.obj pseudo.obj
96 del $(CCLIENTLIB)
97 LIB /NOLOGO /OUT:$(CCLIENTLIB) \
98 mail.obj misc.obj fdstring.obj flstring.obj netmsg.obj \
99 newsrc.obj rfc822.obj smanager.obj utf8.obj utf8aux.obj \
100 imap4r1.obj nntp.obj pop3.obj smtp.obj os_os2.obj \
101 mbxnt.obj mtxnt.obj tenexnt.obj unixnt.obj dummynt.obj pseudo.obj
103 clean:
104 del *.lib *.obj linkage.* osdep.* auths.c *.exe *.exp
106 # A monument to a hack of long ago and far away...
108 love:
109 @echo not war?

UW-IMAP'd extensions by yuuji