Better diagnostics. Default is, that only one database selected when
[egate.git] / kernel / Makefile
index 536fe6d..adcfb09 100644 (file)
@@ -2,26 +2,58 @@
 # Europagate, 1995
 #
 # $Log: Makefile,v $
-# Revision 1.1  1995/02/15 17:45:29  adam
+# 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.
+#
+# Revision 1.6  1995/02/21  14:00:08  adam
+# Minor changes.
+#
+# Revision 1.5  1995/02/21  12:11:59  adam
+# Diagnostic record with error info. observed.
+#
+# Revision 1.4  1995/02/20  21:16:16  adam
+# FML support. Bug fixes. Profile for drewdb.
+#
+# Revision 1.3  1995/02/17  09:08:35  adam
+# Reply with subject. CCL base command implemented.
+#
+# Revision 1.2  1995/02/16  18:35:07  adam
+# First use of Zdist library. Search requests are supported.
+# Present requests are not supported yet.
+#
+# Revision 1.1  1995/02/15  17:45:29  adam
 # First version of email gateway kernel. Email requests are read
 # from stdin. The output is transferred to an MTA if 'From' is
 # found in the header - or stdout if absent. No Z39.50 client is used.
 #
 #
 SHELL=/bin/sh
+
+ZPRE=/home/proj/zdist/zdist102b1-1/libz3950
+ZINC=-I$(ZPRE)
+ZLIB=$(ZPRE)/libz3950.a
+
 INCLUDE=-I../include
-CFLAGS=-g -Wall -pedantic -ansi
-CC=gcc
+CFLAGS=-g -Wall 
 TPROG1=kernel
-O=urp.o main.o
-CPP=cc -E
-USELIBS=../lib/ccl.a ../lib/fml.a ../lib/libres+log.a ../lib/util.a
-DEFS=$(INCLUDE)
+O=main.o urp.o
+CPP=$(CC) -E
+USELIBS1=../lib/ccl.a ../lib/fml.a ../lib/libzass.a ../lib/libres+log.a \
+../lib/util.a $(ZLIB) $(REGEXOBJ)
+DEFS=$(INCLUDE) -DUSE_FML=1
 
 all: $(TPROG1)
 
-$(TPROG1):  $(O) $(USELIBS)
-       $(CC) $(CFLAGS) -o $(TPROG1) $(O) $(USELIBS)
+$(TPROG1): $(O) $(USELIBS1)
+       $(CC) $(CFLAGS) -o $(TPROG1) $(O) $(USELIBS1) $(NETLIB)
 
 .c.o:
        $(CC) -c $(DEFS) $(CFLAGS) $<