SHELL= /bin/sh TOPDIR= ../.. PZCONFIG= $(TOPDIR)/zmailer.Config INSTALL= /usr/bin/install -c #DESTDIR= MAILBIN= $(DESTDIR)/opt/mail/bin srcdir= . CC= gcc COPTS= -g -O2 CPPFLAGS= CPPDEP= gcc -MM TOPDIR= .. MAILBIN= $(DESTDIR)/opt/mail/bin DEFS= -DHAVE_CONFIG_H MD5SUM= /usr/bin/md5sum INSTALL= /usr/bin/install -c # INCL= -I$(srcdir)/$(TOPDIR)/include -I$(TOPDIR)/include -I$(TOPDIR) -I$(srcdir)/$(TOPDIR)/libsh -I$(TOPDIR)/libsh -I. CFLAGS= $(COPTS) $(CPPFLAGS) $(DEFS) $(ROUTER_INCL) $(INCL) LIBMALLOC= LIBMALLOCDEB= $(TOPDIR)/libmalloc/libmalloc_d.a-a # LIB= -L$(TOPDIR)/libs -lzmdb -lsh -lzm -lzc -lresolv $(LIBMALLOC) LIBDEB= $(TOPDIR)/libs/libtag PERL= /usr/bin/perl all: mailq/Makefile install: mailq/Makefile cd mailq && $(MAKE) $(MFLAGS) install mailq/Makefile: if [ ! -d mailq ] ; then mkdir mailq ; fi if [ ! -f mailq/Makefile.PL ] ; then cp -pr $(srcdir)/mailq/* mailq/ ; fi cd mailq && $(PERL) Makefile.PL && $(MAKE) $(MFLAGS) .c.o: $(CC) $(CFLAGS) -c $< FRC: clean: FRC if [ "$(srcdir)" != "." ] ; then \ rm -rf mailq ; \ else \ if [ -d mailq -a -r mailq/Makefile ] ; then \ cd mailq && $(MAKE) $(MFLAGS) clean && rm -f Makefile.old ; \ fi \ fi distclean: clean rm -f Makefile depend: