1 # Makefile for Email gateway CCL
5 # Revision 1.2 1995/02/16 18:35:07 adam
6 # First use of Zdist library. Search requests are supported.
7 # Present requests are not supported yet.
9 # Revision 1.1 1995/02/15 17:45:29 adam
10 # First version of email gateway kernel. Email requests are read
11 # from stdin. The output is transferred to an MTA if 'From' is
12 # found in the header - or stdout if absent. No Z39.50 client is used.
17 CFLAGS=-g -Wall -pedantic -ansi
22 USELIBS=../lib/ccl.a ../lib/fml.a ../lib/libzass.a ../lib/libres+log.a \
23 ../lib/util.a /home/proj/zdist/zdist102b1-1/libz3950/libz3950.a
28 $(TPROG1): $(O) $(USELIBS)
29 $(CC) $(CFLAGS) -o $(TPROG1) $(O) $(USELIBS)
32 $(CC) -c $(DEFS) $(CFLAGS) $<
35 rm -f *.log *.[oa] $(TPROG1) $(TPROG2) core mon.out gmon.out errlist *~
40 mv Makefile Makefile.tmp
41 sed '/^#Depend/q' <Makefile.tmp >Makefile
42 $(CPP) $(INCLUDE) -M *.c >>Makefile
46 $(CPP) $(INCLUDE) -M *.c >.depend
48 ifeq (.depend,$(wildcard .depend))
52 #Depend --- DOT NOT DELETE THIS LINE