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