# Europagate, 1995
#
# $Log: Makefile,v $
-# Revision 1.3 1995/02/17 09:08:35 adam
+# 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
#
#
SHELL=/bin/sh
+
+ZPRE=/home/proj/zdist/zdist102b1-1/libz3950
+ZINC=-I$(ZPRE)
+ZLIB=$(ZPRE)/libz3950.a
+
INCLUDE=-I../include
CFLAGS=-g -Wall
-#CC=gcc
TPROG1=kernel
O=main.o urp.o
-CPP=cc -E
-USELIBS=../lib/ccl.a ../lib/fml.a ../lib/libzass.a ../lib/libres+log.a \
-../lib/util.a /home/proj/zdist/zdist102b1-1/libz3950/libz3950.a
-DEFS=$(INCLUDE)
+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
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) $<