# Europagate, 1995
#
# $Log: Makefile,v $
-# Revision 1.1 1995/02/15 17:45:29 adam
+# 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
INCLUDE=-I../include
-CFLAGS=-g -Wall -pedantic -ansi
-CC=gcc
+CFLAGS=-g -Wall
+#CC=gcc
TPROG1=kernel
-O=urp.o main.o
+O=main.o urp.o
CPP=cc -E
-USELIBS=../lib/ccl.a ../lib/fml.a ../lib/libres+log.a ../lib/util.a
-DEFS=$(INCLUDE)
+USELIBS1=../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) -DUSE_FML=1
all: $(TPROG1)
-$(TPROG1): $(O) $(USELIBS)
- $(CC) $(CFLAGS) -o $(TPROG1) $(O) $(USELIBS)
+$(TPROG1): $(O) $(USELIBS1)
+ $(CC) $(CFLAGS) -o $(TPROG1) $(O) $(USELIBS1)
.c.o:
$(CC) -c $(DEFS) $(CFLAGS) $<