Lots of changes. They aren't visible though.
[egate.git] / zlayer / Makefile
index e1dbc4d..40ebdc0 100644 (file)
@@ -2,7 +2,25 @@
 # Europagate, 1995
 #
 # $Log: Makefile,v $
-# Revision 1.8  1995/04/17 09:36:44  adam
+# Revision 1.14  1995/04/20 15:25:31  quinn
+# Asynch. API
+#
+# Revision 1.13  1995/04/19  16:08:25  adam
+# Minor changes.
+#
+# Revision 1.12  1995/04/19  16:02:28  adam
+# Record type hack.
+#
+# Revision 1.11  1995/04/19  09:24:01  quinn
+# Fixed bug in zass_open - variable initialized after use
+#
+# Revision 1.10  1995/04/19  07:31:28  adam
+# Minor changes.
+#
+# Revision 1.9  1995/04/17  11:26:52  quinn
+# Added YAZ version of zaccess
+#
+# Revision 1.8  1995/04/17  09:36:44  adam
 # Minor changes in makefile.
 #
 # Revision 1.7  1995/03/27  12:52:25  adam
 #
 SHELL=/bin/sh
 
-ZDEFS=-DLOW_TO_HIGH -Dfar=
-ZPRE=/home/proj/zdist/zdist102b1-1/libz3950
-ZINC=-I$(ZPRE)
-ZLIB=$(ZPRE)/libz3950.a
+#ZDEFS=-DLOW_TO_HIGH -Dfar=
+#ZPRE=/home/proj/zdist/zdist102b1-1/libz3950
+#ZINC=-I$(ZPRE)
+#ZLIB=$(ZPRE)/libz3950.a
+
+ZINC=-I../../yaz/include
+#ZDEFS=-DUSE_XTIMOSI
+ZLIB=../../yaz/lib/libyaz.a
 
 INCLUDE=-I. -I../include $(ZINC)
 #CFLAGS=-g -Wall -pedantic -ansi
 TPROG1=test
 LIB=../lib/libzass.a
-PO=zaccess.o
+PO=zaccess-yaz.o
 CPP=$(CC) -E
 DEFS=$(INCLUDE)
+CFILES=zaccess-yaz.c
 
 all: $(LIB)
 
@@ -58,11 +81,11 @@ depend: depend2
 
 depend1:
        sed '/^#Depend/q' <Makefile >Makefile.tmp
-       $(CPP) $(DEFS) -M *.c >>Makefile.tmp
+       $(CPP) $(DEFS) -M $(CFILES) >>Makefile.tmp
        mv -f Makefile.tmp Makefile
 
 depend2:
-       $(CPP) $(DEFS) -M *.c >.depend  
+       $(CPP) $(DEFS) -M $(CFILES) >.depend    
 
 #GNU make style depend
 ifeq (.depend,$(wildcard .depend))