From: Adam Dickmeiss Date: Wed, 5 Jul 1995 10:19:42 +0000 (+0000) Subject: Bug fix. ZLIB wasn't inherited. X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=4e18b8d09c20492ad6ac107a0037299ff4519844;p=egate.git Bug fix. ZLIB wasn't inherited. --- diff --git a/Makefile b/Makefile index 01f029a..ed65b6f 100644 --- 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