

ml: $(OBJS) $(LOCAL_LIBRARIES)




XCOMM   Compile time defines: 
XCOMM	-DPGP     include PGP support. This isn't yet perfect.
XCOMM	-Dconst=  If you have a non-ANSI C compiler, include this.


CFLAGS= -g -DPGP -Dconst= -I$(INCROOT) -I. -I./imap


SRCS=	addressbook.c \
	addressfncs.c \
	authenticate.c \
	buttons.c \
	compose.c \
	edfilter.c \
	filefncs.c \
	imapfncs.c \
	localsearch.c \
	lvfncs.c \
	mailboxes.c \
	mime.c \
	miscfncs.c \
	ml.c \
	msgfncs.c \
	parse.c \
	pgp.c \
	preferences.c \
	read.c \
	system.c \
	textfncs.c \
	view.c \
	wildmat.c \
	winfncs.c




OBJS=	addressbook.o \
	addressfncs.o \
	authenticate.o \
	buttons.o \
	compose.o \
	edfilter.o \
	filefncs.o \
	imapfncs.o \
	localsearch.o \
	lvfncs.o \
	mailboxes.o \
	mime.o \
	miscfncs.o \
	ml.o \
	msgfncs.o \
	parse.o \
	pgp.o \
	preferences.o \
	read.o \
	system.o \
	textfncs.o \
	view.o \
	wildmat.o \
	winfncs.o


LOCAL_LIBRARIES = imap/c-client/c-client.a

SYS_LIBRARIES = $(XMLIB) $(XMULIB) $(XTOOLLIB) $(XEXTLIB) $(XLIB)

release:
	tar cf ml.tar \
	Imakefile README* CHANGELOG KNOWNBUGS CREDITS *.[ch] lib imap*.tar
	/bin/rm ml.tar.Z ml.tar.gz
	gzip -c ml.tar > ml.tar.gz
	compress -c ml.tar > ml.tar.Z

submit:
	ftpsubmit -e +365 -d ml ml.tar.* README.ml


ComplexProgramTarget(ml)


