Minor changes.
[egate.git] / kernel / Makefile
index 852fed5..0be3750 100644 (file)
@@ -1,7 +1,24 @@
 # Makefile for Email gateway CCL
 # Europagate, 1995
 #
-# Makefile,v
+# $Log: Makefile,v $
+# Revision 1.13  1995/03/27 12:51:04  adam
+# New log level in use: GW_LOG_ERRNO.
+#
+# Revision 1.12  1995/03/27  08:23:57  adam
+# First use of gip interface and gw-db.
+# First work on eti program.
+#
+# Revision 1.11  1995/03/03  17:19:09  adam
+# Smarter presentation. Bug fix in email header interpretation.
+#
+# Revision 1.10  1995/03/01  14:32:24  adam
+# Better diagnostics. Default is, that only one database selected when
+# several are known.
+#
+# Revision 1.9  1995/02/23  08:32:14  adam
+# Changed header.
+#
 # Revision 1.7  1995/02/22  08:51:34  adam
 # Output function can be customized in fml, which is used to print
 # the reply to reply_fd.
@@ -35,24 +52,32 @@ ZINC=-I$(ZPRE)
 ZLIB=$(ZPRE)/libz3950.a
 
 INCLUDE=-I../include
-CFLAGS=-g -Wall 
-TPROG1=kernel
-O=main.o urp.o
+#CFLAGS=-g -Wall 
 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
+USELIBS1=../lib/ccl.a ../lib/fml.a ../lib/libzass.a ../lib/libres+log.a \
+../lib/util.a $(ZLIB) $(REGEXOBJ)
+
+PROG1=kernel
+O1=main.o urp.o ttyemit.o
+
+PROG2=eti
+O2=eti.o
+
+all: $(PROG1) $(PROG2)
 
-all: $(TPROG1)
+$(PROG1): $(O1) $(USELIBS1)
+       $(CC) $(CFLAGS) -o $(PROG1) $(O1) $(USELIBS1) $(NETLIB)
 
-$(TPROG1): $(O) $(USELIBS1)
-       $(CC) $(CFLAGS) -o $(TPROG1) $(O) $(USELIBS1) $(NETLIB)
+$(PROG2): $(O2) $(USELIBS1)
+       $(CC) $(CFLAGS) -o $(PROG2) $(O2) $(USELIBS1) $(NETLIB)
 
 .c.o:
        $(CC) -c $(DEFS) $(CFLAGS) $<
 
 clean:
-       rm -f *.log *.[oa] $(TPROG1) $(TPROG2) core mon.out gmon.out errlist *~
+       rm -f *.log *.[oa] $(PROG1) $(PROG2) 
+       rm -f core mon.out gmon.out errlist *~ fifo.* 
 
 depend: depend2