# Top level Makefile for the Email - Z39.50 gateway
# Europagate, 1995-1996.
#
-# $Id: Makefile.email,v 1.6 1996/09/03 14:06:38 adam Exp $
+# $Id: Makefile.email,v 1.7 1997/02/19 16:47:03 adam Exp $
#
SHELL=/bin/sh
MAKE=make
#CC=cc
CPP=$(CC) -E
-VERSION=1.0
+VERSION=1.1
# Email gateway settings --------------------------------------
#REGEXINC=-I../../../pd-src/regex-0.12
# Other libraries needed on some systems
-#ELIB=-lnsl -lsocket
+#ELIBS=-lnsl -lsocket
# If you are using YAZ uncomment these lines
ZACC=zlayer-yaz
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)" ELIB="$(ELIB)" 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)" ELIBS="$(ELIBS)" 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