# Europagate, 1995
#
# $Log: Makefile,v $
-# Revision 1.12 1995/03/27 08:23:57 adam
+# Revision 1.21 1995/04/20 16:10:45 adam
+# Modified to work with non-blocking zass-api. Not using non-blocking
+# facility yet.
+#
+# Revision 1.20 1995/04/20 15:24:59 quinn
+# *** empty log message ***
+#
+# Revision 1.19 1995/04/19 16:08:20 adam
+# Minor changes.
+#
+# Revision 1.18 1995/04/19 16:01:57 adam
+# Some hacks to get the FIFO communication work!! Isn't reliable.
+# Resource gw.account added - default account info.
+#
+# Revision 1.17 1995/04/19 10:46:17 adam
+# Persistency works much better now. New command: status - history-like
+#
+# Revision 1.16 1995/04/19 07:30:56 adam
+# First work on Z39.50 persistence.
+#
+# Revision 1.15 1995/04/17 11:27:29 quinn
+# Smallish
+#
+# Revision 1.14 1995/04/17 09:34:23 adam
+# Timeout (idletime) adjustable. Minor changes in kernel.
+#
+# 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.
#
#
SHELL=/bin/sh
-ZPRE=/home/proj/zdist/zdist102b1-1/libz3950
-ZINC=-I$(ZPRE)
-ZLIB=$(ZPRE)/libz3950.a
+#ZPRE=/home/proj/zdist/zdist102b1-1/libz3950
+#ZINC=-I$(ZPRE)
+#ZLIB=$(ZPRE)/libz3950.a
+
+ZLIB=../../yaz/lib/libyaz.a
INCLUDE=-I../include
-CFLAGS=-g -Wall
+#CFLAGS=-g -Wall
CPP=$(CC) -E
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
+O1=main.o urp.o persist.o
PROG2=eti
O2=eti.o
depend: depend2
depend1:
- mv Makefile Makefile.tmp
- sed '/^#Depend/q' <Makefile.tmp >Makefile
- $(CPP) $(INCLUDE) -M *.c >>Makefile
- -rm Makefile.tmp
+ sed '/^#Depend/q' <Makefile >Makefile.tmp
+ $(CPP) $(DEFS) -M *.c >>Makefile.tmp
+ mv -f Makefile.tmp Makefile
depend2:
- $(CPP) $(INCLUDE) -M *.c >.depend
+ $(CPP) $(DEFS) -M *.c >.depend
+#GNU make style depend
ifeq (.depend,$(wildcard .depend))
include .depend
endif