# Makefile for Email gateway CCL # Europagate, 1995 # # $Log: Makefile,v $ # Revision 1.6 1995/02/21 14:00:08 adam # Minor changes. # # Revision 1.5 1995/02/21 12:11:59 adam # Diagnostic record with error info. observed. # # Revision 1.4 1995/02/20 21:16:16 adam # FML support. Bug fixes. Profile for drewdb. # # Revision 1.3 1995/02/17 09:08:35 adam # Reply with subject. CCL base command implemented. # # Revision 1.2 1995/02/16 18:35:07 adam # First use of Zdist library. Search requests are supported. # Present requests are not supported yet. # # Revision 1.1 1995/02/15 17:45:29 adam # First version of email gateway kernel. Email requests are read # from stdin. The output is transferred to an MTA if 'From' is # found in the header - or stdout if absent. No Z39.50 client is used. # # SHELL=/bin/sh ZPRE=/home/proj/zdist/zdist102b1-1/libz3950 ZINC=-I$(ZPRE) ZLIB=$(ZPRE)/libz3950.a INCLUDE=-I../include CFLAGS=-g -Wall TPROG1=kernel O=main.o urp.o CPP=cc -E USELIBS1=../lib/ccl.a ../lib/fml.a ../lib/libzass.a ../lib/libres+log.a \ ../lib/util.a $(ZLIB) DEFS=$(INCLUDE) -DUSE_FML=1 all: $(TPROG1) $(TPROG1): $(O) $(USELIBS1) $(CC) $(CFLAGS) -o $(TPROG1) $(O) $(USELIBS1) $(NETLIB) .c.o: $(CC) -c $(DEFS) $(CFLAGS) $< clean: rm -f *.log *.[oa] $(TPROG1) $(TPROG2) core mon.out gmon.out errlist *~ depend: depend2 depend1: mv Makefile Makefile.tmp sed '/^#Depend/q' Makefile $(CPP) $(INCLUDE) -M *.c >>Makefile -rm Makefile.tmp depend2: $(CPP) $(INCLUDE) -M *.c >.depend ifeq (.depend,$(wildcard .depend)) include .depend endif #Depend --- DOT NOT DELETE THIS LINE