X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=Makefile.web;h=125bc80db66ce787483300849dbe3787a3908b81;hb=dd2cec68cc17ae5fe3188d89020f3eda9e648e49;hp=55327410b10c5e4b2105483f06e85f4f3372a448;hpb=644da8e5a840d868f7b31cf94fea111d0fa43a4a;p=egate.git diff --git a/Makefile.web b/Makefile.web index 5532741..125bc80 100644 --- a/Makefile.web +++ b/Makefile.web @@ -1,27 +1,27 @@ # Top level Makefile for the Web - Z39.50 gateway # Europagate, 1995-1996. # -# $Id: Makefile.web,v 1.5 1997/01/24 13:11:31 adam Exp $ +# $Id: Makefile.web,v 1.11 2003/02/26 15:35:46 adam Exp $ # SHELL=/bin/sh MAKE=make #CC=cc CPP=$(CC) -E -VERSION=1.0 +VERSION=1.2 # Install directories -HTTPDDIR=/var/lib/httpd +HTTPDDIR=/home/adam/proj/apache CGIDIR=$(HTTPDDIR)/cgi-bin HTDOCS=$(HTTPDDIR)/htdocs EGWDIR=$(HTTPDDIR)/egw GIFDIR=$(HTDOCS)/egwgif -EGWUSER=nobody +EGWUSER=adam # Location of Tcl -TCLLIB=-L/usr/local/lib -ltcl8.0 -lm -TCLINC=-I/usr/local/include +TCLLIB=-ltcl8.3 -lm -dl +TCLINC=-I/usr/include/tcl8.3 # Location of IrTcl IRTCLDIR=../../ir-tcl @@ -29,11 +29,11 @@ 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 -ZLIB=../../yaz/lib/libyaz.a +ZLIB=../../yaz/lib/.libs/libyaz.a ZDEFS= # End of settings --------------------------------------------- @@ -42,7 +42,7 @@ 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 @@ -95,4 +95,3 @@ distribution: cd tmp/web-z39-$(VERSION)/doc; rm egate.sgml; make web cd tmp; tar zcf ../web-z39-$(VERSION).tar.gz web-z39-$(VERSION) rm -fr tmp -