1 # Makefile for Email gateway CCL
5 # Revision 1.3 1995/02/17 09:08:35 adam
6 # Reply with subject. CCL base command implemented.
8 # Revision 1.2 1995/02/16 18:35:07 adam
9 # First use of Zdist library. Search requests are supported.
10 # Present requests are not supported yet.
12 # Revision 1.1 1995/02/15 17:45:29 adam
13 # First version of email gateway kernel. Email requests are read
14 # from stdin. The output is transferred to an MTA if 'From' is
15 # found in the header - or stdout if absent. No Z39.50 client is used.
25 USELIBS=../lib/ccl.a ../lib/fml.a ../lib/libzass.a ../lib/libres+log.a \
26 ../lib/util.a /home/proj/zdist/zdist102b1-1/libz3950/libz3950.a
31 $(TPROG1): $(O) $(USELIBS)
32 $(CC) $(CFLAGS) -o $(TPROG1) $(O) $(USELIBS)
35 $(CC) -c $(DEFS) $(CFLAGS) $<
38 rm -f *.log *.[oa] $(TPROG1) $(TPROG2) core mon.out gmon.out errlist *~
43 mv Makefile Makefile.tmp
44 sed '/^#Depend/q' <Makefile.tmp >Makefile
45 $(CPP) $(INCLUDE) -M *.c >>Makefile
49 $(CPP) $(INCLUDE) -M *.c >.depend
51 ifeq (.depend,$(wildcard .depend))
55 #Depend --- DOT NOT DELETE THIS LINE