# 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
#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