1 # Makefile for Email gateway CCL
5 # Revision 1.1 1995/02/15 17:45:29 adam
6 # First version of email gateway kernel. Email requests are read
7 # from stdin. The output is transferred to an MTA if 'From' is
8 # found in the header - or stdout if absent. No Z39.50 client is used.
13 CFLAGS=-g -Wall -pedantic -ansi
18 USELIBS=../lib/ccl.a ../lib/fml.a ../lib/libres+log.a ../lib/util.a
23 $(TPROG1): $(O) $(USELIBS)
24 $(CC) $(CFLAGS) -o $(TPROG1) $(O) $(USELIBS)
27 $(CC) -c $(DEFS) $(CFLAGS) $<
30 rm -f *.log *.[oa] $(TPROG1) $(TPROG2) core mon.out gmon.out errlist *~
35 mv Makefile Makefile.tmp
36 sed '/^#Depend/q' <Makefile.tmp >Makefile
37 $(CPP) $(INCLUDE) -M *.c >>Makefile
41 $(CPP) $(INCLUDE) -M *.c >.depend
43 ifeq (.depend,$(wildcard .depend))
47 #Depend --- DOT NOT DELETE THIS LINE