X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=Makefile.web;h=c616be78eedf44e85edb2f5ae39ab328203915a8;hb=733e43ac3eed3b6c0c52a14dcb6f20c3fd2bc3ae;hp=e8f4fdafa2ad5a3b54b726f2ae981ab357006854;hpb=04b0fb05ad5d1fe81cb5c949f4b454af08732ae0;p=egate.git diff --git a/Makefile.web b/Makefile.web index e8f4fda..c616be7 100644 --- a/Makefile.web +++ b/Makefile.web @@ -1,24 +1,26 @@ # Top level Makefile for the Web - Z39.50 gateway # Europagate, 1995-1996. # -# $Id: Makefile.web,v 1.3 1996/08/28 08:34:23 adam Exp $ +# $Id: Makefile.web,v 1.8 1997/02/19 16:47:04 adam Exp $ # SHELL=/bin/sh MAKE=make #CC=cc CPP=$(CC) -E -VERSION=1.0 +VERSION=1.1 # Install directories -HTTPDDIR=/usr/local/etc/httpd +HTTPDDIR=/var/lib/httpd CGIDIR=$(HTTPDDIR)/cgi-bin HTDOCS=$(HTTPDDIR)/htdocs EGWDIR=$(HTTPDDIR)/egw GIFDIR=$(HTDOCS)/egwgif +EGWUSER=nobody + # Location of Tcl -TCLLIB=/usr/local/lib/libtcl7.5.a -lm +TCLLIB=-L/usr/local/lib -ltcl8.0 -lm TCLINC=-I/usr/local/include # Location of IrTcl @@ -27,7 +29,7 @@ IRTCLLIB=$(IRTCLDIR)/libirtcl.a IRTCLINC=-I$(IRTCLDIR) # Other libraries needed on some systems -#ELIB=-lnsl -lsocket +#ELIBS=-lnsl -lsocket # If you are using YAZ uncomment these lines ZINC=-I../../yaz/include @@ -40,13 +42,13 @@ ZDEFS= SUBDIR=res+log util www all: - for i in $(SUBDIR); 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 + for i in $(SUBDIR); do cd $$i; if $(MAKE) CFLAGS="$(CFLAGS)" CC="$(CC)" ZINC="$(ZINC)" ZLIB="$(ZLIB)" CPP="$(CPP)" ELIBS="$(ELIBS)" ZDEFS="$(ZDEFS)" TCLLIB="$(TCLLIB)" TCLINC="$(TCLINC)" IRTCLLIB="$(IRTCLLIB)" IRTCLINC="$(IRTCLINC)" EGWDIR="$(EGWDIR)"; 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)" ZDEFS="$(ZDEFS)" TCLINC="$(TCLINC)" IRTCLINC="$(IRTCLINC)" depend; then cd ..; else exit 1; fi; done install: - cd www; $(MAKE) HTTPDDIR="$(HTTPDDIR)" CGIDIR="$(CGIDIR)" HTDOCS="$(HTDOCS)" EGWDIR="$(EGWDIR)" GIFDIR="$(GIFDIR)" install + cd www; $(MAKE) HTTPDDIR="$(HTTPDDIR)" CGIDIR="$(CGIDIR)" HTDOCS="$(HTDOCS)" EGWDIR="$(EGWDIR)" GIFDIR="$(GIFDIR)" EGWUSER="$(EGWUSER)" install clean: -rm -f lib/*.a @@ -86,6 +88,7 @@ distribution: cd tmp/egate; rm zdist.patch cd tmp/egate/www; rm *wais*.[ch] cd tmp/egate; mv Makefile.web Makefile + cd tmp/egate; mv CHANGELOG.web CHANGELOG cd tmp/egate; mv README.web README cd tmp; mv egate web-z39-$(VERSION) cd tmp/web-z39-$(VERSION); make taildepend