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# Program: Portable C client makefile -- WCE 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 25 26 27EXTRAAUTHENTICATORS= 28DEFAULTAUTHENTICATORS=ext md5 pla log 29EXTRADRIVERS = 30DRIVERS = imap nntp pop3 31DEFAULTDRIVER = dummy 32CFLAGS= /MT /W3 /D_SH3_ -nologo $(EXTRACFLAGS) 33CC = shcl 34CCLIENTLIB= cclient.lib 35 36all: $(CCLIENTLIB) 37 38.c.obj: 39 $(CC) -c $(CFLAGS) $*.c 40 41osdep.h: os_wce.h 42 copy os_wce.h osdep.h 43 drivers $(EXTRADRIVERS) $(DRIVERS) dummy 44 setproto $(DEFAULTDRIVER) $(DEFAULTDRIVER) 45 mkauths $(EXTRAAUTHENTICATORS) $(DEFAULTAUTHENTICATORS) 46 47mail.obj: mail.h misc.h osdep.h mail.c 48 49misc.obj: mail.h misc.h misc.c 50 51flstring.obj: mail.h misc.h osdep.h flstring.h flstring.c 52 53netmsg.obj: mail.h misc.h netmsg.h osdep.h netmsg.c 54 55newsrc.obj: mail.h misc.h newsrc.h osdep.h newsrc.c 56 57rfc822.obj: mail.h rfc822.h misc.h rfc822.c 58 59smanager.obj: mail.h misc.h smanager.c 60 61utf8.obj: mail.h misc.h osdep.h utf8.h 62 63utf8aux.obj: mail.h misc.h osdep.h utf8.h 64 65imap4r1.obj: mail.h imap4r1.h misc.h osdep.h imap4r1.c 66 67nntp.obj: mail.h nntp.h smtp.h rfc822.h misc.h osdep.h nntp.c 68 69pop3.obj: mail.h pop3.h rfc822.h misc.h osdep.h pop3.c 70 71smtp.obj: mail.h smtp.h rfc822.h misc.h osdep.h smtp.c 72 73os_wce.obj: mail.h osdep.h env_wce.h fs.h ftl.h nl.h tcp.h tcp_wce.h \ 74 os_wce.c fs_wce.c ftl_wce.c nl_wce.c env_wce.c tcp_wce.c \ 75 auth_md5.c auth_log.c pmatch.c 76 77dummywce.obj: mail.h dummy.h misc.h osdep.h dummywce.c 78 79$(CCLIENTLIB): mail.obj misc.obj flstring.obj netmsg.obj \ 80 newsrc.obj rfc822.obj smanager.obj utf8.obj utf8aux.obj \ 81 imap4r1.obj nntp.obj pop3.obj smtp.obj os_wce.obj \ 82 dummywce.obj 83 erase $(CCLIENTLIB) 84 LIB /NOLOGO /OUT:cclient.lib \ 85 mail.obj misc.obj flstring.obj netmsg.obj \ 86 newsrc.obj rfc822.obj smanager.obj utf8.obj utf8aux.obj \ 87 imap4r1.obj nntp.obj pop3.obj smtp.obj os_wce.obj \ 88 dummywce.obj 89 90clean: 91 del *.lib *.obj linkage.* osdep.* auths.c *.exe *.exp || rem 92 93# A monument to a hack of long ago and far away... 94 95love: 96 @echo not war? 97