Update of /cvsroot/mahogany/M/extra/src/c-client
In directory sc8-pr-cvs1:/tmp/cvs-serv5117/extra/src/c-client

Modified Files:
        Makefile 
Added Files:
        makefile.nt.gcc 
Log Message:
Mahogany can now be compiled with cygwin's -mno-cygwin switch (mingw)

--- NEW FILE ---
# Program:      Portable C client makefile -- NT version
#
# Author:       Mark Crispin
#               Networks and Distributed Computing
#               Computing & Communications
#               University of Washington
#               Administration Building, AG-44
#               Seattle, WA  98195
#               Internet: [EMAIL PROTECTED]
#
# Date:         11 May 1989
# Last Edited:  29 March 2001
#
# The IMAP toolkit provided in this Distribution is
# Copyright 2001 University of Washington.
#
# The full text of our legal notices is contained in the file called
# CPYRIGHT, included with this Distribution.

#derived from makefile.nt

include ../../../makeopts
CPPFLAGS=$(IMAP_CPPFLAGS)
CFLAGS=$(IMAP_CFLAGS)

EXTRAAUTHENTICATORS =
EXTRADRIVERS = mh mtx news
EXTRACFLAGS =
AUTHENTICATORS = md5 pla log
DRIVERS = imap nntp pop3 mbx mtx tenex unix
DEFAULTDRIVER = mbx
CCLIENTLIB = c-client.a

all:    $(CCLIENTLIB)

.c.obj:
        $(CC) -c $(CFLAGS) $*.c

osdep.h: os_nt.h
        cp os_nt.h osdep.h
        drivers $(DEFAULTDRIVER) $(EXTRADRIVERS) $(DRIVERS) dummy
        echo "#define DEFAULTPROTO mbxproto" >> linkage.h
        mkauths $(EXTRAAUTHENTICATORS) $(AUTHENTICATORS)

mail.o: mail.h misc.h osdep.h mail.c

misc.o: mail.h misc.h misc.c

fdstring.o: mail.h misc.h osdep.h fdstring.h fdstring.c

flstring.o: mail.h misc.h osdep.h flstring.h flstring.c

netmsg.o: mail.h misc.h netmsg.h osdep.h netmsg.c

newsrc.o: mail.h misc.h newsrc.h osdep.h newsrc.c

rfc822.o: mail.h rfc822.h misc.h rfc822.c

smanager.o: mail.h misc.h smanager.c

utf8.o: mail.h misc.h osdep.h utf8.h

imap4r1.o: mail.h imap4r1.h misc.h osdep.h imap4r1.c

nntp.o: mail.h nntp.h smtp.h rfc822.h misc.h osdep.h nntp.c

pop3.o: mail.h pop3.h rfc822.h misc.h osdep.h pop3.c

smtp.o: mail.h smtp.h rfc822.h misc.h osdep.h smtp.c

os_nt.o: mail.h osdep.h env_nt.h fs.h ftl.h nl.h tcp.h tcp_nt.h yunchan.h \
        os_nt.c fs_nt.c ftl_nt.c nl_nt.c env_nt.c ssl_nt.c ssl_none.c \
        tcp_nt.c yunchan.c \
        mailfile.h auth_md5.c auth_pla.c auth_log.c pmatch.c write.c

mbxnt.o: mail.h mbxnt.h misc.h osdep.h mbxnt.c

mtxnt.o: mail.h mtxnt.h misc.h osdep.h mtxnt.c

tenexnt.o: mail.h tenexnt.h misc.h osdep.h tenexnt.c

unixnt.o: mail.h unixnt.h pseudo.h misc.h osdep.h unixnt.c

dummynt.o: mail.h dummy.h misc.h osdep.h dummynt.c

pseudo.o: pseudo.h

$(CCLIENTLIB): mail.o misc.o fdstring.o flstring.o netmsg.o \
        newsrc.o rfc822.o smanager.o utf8.o \
        imap4r1.o nntp.o pop3.o smtp.o os_nt.o \
        mbxnt.o mtxnt.o tenexnt.o unixnt.o dummynt.o pseudo.o \
        mhnt.o mtxnt.o newsnt.o
        $(AR) rc $(CCLIENTLIB) \
        mail.o misc.o fdstring.o flstring.o netmsg.o \
        newsrc.o rfc822.o smanager.o utf8.o \
        imap4r1.o nntp.o pop3.o smtp.o os_nt.o \
        mbxnt.o mtxnt.o tenexnt.o unixnt.o dummynt.o pseudo.o \
        mhnt.o mtxnt.o newsnt.o
        $(RANLIB) $(CCLIENTLIB)

clean:
        $(RM) *.o *.a *.sh *.d core a.out $(CCLIENTLIB) linkage.* osdep.* auths.c

# A monument to a hack of long ago and far away...

love:
        @echo not war?

Index: Makefile
===================================================================
RCS file: /cvsroot/mahogany/M/extra/src/c-client/Makefile,v
retrieving revision 1.20
retrieving revision 1.21
diff -b -u -2 -r1.20 -r1.21
--- Makefile    20 Feb 2003 18:51:17 -0000      1.20
+++ Makefile    15 Jul 2003 00:47:33 -0000      1.21
@@ -98,5 +98,5 @@
 
 ARRC=ar rc
-CC=cc
+#CC=cc
 LN=ln -s
 RANLIB=ranlib
@@ -249,6 +249,5 @@
        RSHPATH=/usr/bin/rsh \
        BASECFLAGS="-g -O" \
-       BASELDFLAGS="-lcrypt" \
-       CC=gcc
+       BASELDFLAGS="-lcrypt"
 
 d-g:   # Data General DG/UX



-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to