# Top level Makefile for the Z39.50 gateway (Web and email)
# Europagate, 1995-1996.
#
-# $Id: Makefile,v 1.33 1996/06/06 10:34:31 adam Exp $
+# $Id: Makefile,v 1.34 1996/06/06 11:10:04 adam Exp $
#
SHELL=/bin/sh
MAKE=make
GIFDIR=$(HTDOCS)/egwgif
# Location of Tcl
-TCLLIB=/usr/local/lib/libtcl7.5.a
-TCLINC=
+TCLLIB=/usr/local/lib/libtcl7.5.a -lm
+TCLINC=-I/usr/local/include
# Location of IrTcl
-IRTCLDIR=../../ir-tcl
+IRTCLDIR=../ir-tcl
IRTCLLIB=$(IRTCLDIR)/libirtcl.a
IRTCLINC=-I$(IRTCLDIR)
# If you are using YAZ uncomment these lines
ZACC=zlayer-yaz
-ZINC=-I../../yaz/include
-ZLIB=../../yaz/lib/libyaz.a
+ZINC=-I../yaz/include
+ZLIB=../yaz/lib/libyaz.a
ZDEFS=
# If you are using Zdist uncomment these lines
SUBDIRWWW=res+log util www
all:
+ @echo "Type 'make email' to make email gateway"
+ @echo "Type 'make web' to make web gateway"
+
+alll:
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)" TCLLIB="$(TCLLIB)" TCLINC="$(TCLINC)" IRTCLLIB="$(IRTCLLIB)" IRTCLINC="$(IRTCLINC)" EGWDIR="$(EGWDIR)"; then cd ..; else exit 1; fi; done
email: