Bug fix. ZLIB wasn't inherited.
authorAdam Dickmeiss <adam@indexdata.dk>
Wed, 5 Jul 1995 10:19:42 +0000 (10:19 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Wed, 5 Jul 1995 10:19:42 +0000 (10:19 +0000)
Makefile

index 01f029a..ed65b6f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 # Top level Makefile for Email gateway.
 # Europagate, 1994-1995.
 #
-# $Id: Makefile,v 1.23 1995/07/05 10:06:11 adam Exp $
+# $Id: Makefile,v 1.24 1995/07/05 10:19:42 adam Exp $
 #
 SHELL=/bin/sh
 MAKE=make
@@ -17,22 +17,21 @@ LIBDIR=/usr/local/lib/emailgw
 #NETLIB=-lnsl -lsocket
 
 # If you are using YAZ uncomment these lines
-#ZACC=zlayer-yaz
-#ZINC=-I../../yaz/include
-#ZLIB=../../yaz/libyaz.a
-#ZDEFS=
+ZACC=zlayer-yaz
+ZINC=-I../../yaz/include
+ZLIB=../../yaz/lib/libyaz.a
+ZDEFS=
 
 # If you are using Zdist uncomment these lines
-ZACC=zlayer-zdist
-ZINC=-I/home/proj/zdist/zdist102b1-1/libz3950
-ZLIB=/home/proj/zdist/zdist102b1-1/libz3950/libz3950.a
-
-ZDEFS=-DLOW_TO_HIGH -Dfar=
+#ZACC=zlayer-zdist
+#ZINC=-I/home/proj/zdist/zdist102b1-1/libz3950
+#ZLIB=/home/proj/zdist/zdist102b1-1/libz3950/libz3950.a
+#ZDEFS=-DLOW_TO_HIGH -Dfar=
 
 SUBDIR=res+log util ccl fml $(ZACC) kernel
 
 all:
-       for i in $(SUBDIR); do cd $$i; if $(MAKE) CFLAGS="$(CFLAGS)" CC="$(CC)" ZINC="$(ZINC)" $(ZLIB)="$(ZLIB)" CPP="$(CPP)" NETLIB="$(NETLIB)" REGEXOBJ="$(REGEXOBJ)" REGEXINC="$(REGEXINC)" ZDEFS="$(ZDEFS)"; then cd ..; else exit 1; fi; done
+       for i in $(SUBDIR); do cd $$i; if $(MAKE) CFLAGS="$(CFLAGS)" CC="$(CC)" ZINC="$(ZINC)" ZLIB="$(ZLIB)" CPP="$(CPP)" NETLIB="$(NETLIB)" REGEXOBJ="$(REGEXOBJ)" REGEXINC="$(REGEXINC)" ZDEFS="$(ZDEFS)"; then cd ..; else exit 1; fi; done
 
 dep depend:
        for i in $(SUBDIR); do cd $$i; if $(MAKE) CFLAGS="$(CFLAGS)" CC="$(CC)" ZINC="$(ZINC)" CPP="$(CPP)" REGEXINC="$(REGEXINC)" ZDEFS="$(ZDEFS)" depend; then cd ..; else exit 1; fi; done