Minor changes.
[egate.git] / Makefile
index fed75db..11a3c94 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 # 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
@@ -27,11 +27,11 @@ EGWDIR=$(HTTPDDIR)/egw
 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)
 
@@ -42,8 +42,8 @@ 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
@@ -61,6 +61,10 @@ SUBDIREMAIL=res+log util ccl fml $(ZACC) kernel
 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: