Minor changes.
[egate.git] / Makefile
index e02df89..11a3c94 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
-# Top level Makefile for the Z39.50 gateway (WWW and email)
-# Europagate, 1994-1995.
+# Top level Makefile for the Z39.50 gateway (Web and email)
+# Europagate, 1995-1996.
 #
-# $Id: Makefile,v 1.31 1996/05/31 08:02:20 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 -ldl
-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,12 +61,16 @@ 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:
        for i in $(SUBDIREMAIL); 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
 
-egw:
+web:
        for i in $(SUBDIRWWW); do cd $$i; if $(MAKE) CFLAGS="$(CFLAGS)" CC="$(CC)" ZINC="$(ZINC)" ZLIB="$(ZLIB)" CPP="$(CPP)" ELIB="$(ELIB)" ZDEFS="$(ZDEFS)" TCLLIB="$(TCLLIB)" TCLINC="$(TCLINC)" IRTCLLIB="$(IRTCLLIB)" IRTCLINC="$(IRTCLINC)" EGWDIR="$(EGWDIR)"; then cd ..; else exit 1; fi; done
 
 dep depend:
@@ -86,7 +90,7 @@ install.email:
                cp $$i $(EMAILLIBDIR);\
        done
 
-install.egw:
+install.web:
        cd www; $(MAKE) HTTPDDIR="$(HTTPDDIR)" CGIDIR="$(CGIDIR)" HTDOCS="$(HTDOCS)" EGWDIR="$(EGWDIR)" GIFDIR="$(GIFDIR)" install
 
 clean: