X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=blobdiff_plain;f=Makefile;h=968a20d7fd284c790202068a80fa30c5f437a99d;hb=1140389ab96fc8ca7bc9c8dc642adbcec625f4a6;hp=fed75db7b3898150fe45bfb5f58573bccff8a006;hpb=ebca0ae675e77526b1c4d11b98b063eca693e4ec;p=egate.git diff --git a/Makefile b/Makefile index fed75db..968a20d 100644 --- a/Makefile +++ b/Makefile @@ -1,13 +1,15 @@ # 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.36 1996/08/05 10:27:58 adam Exp $ # SHELL=/bin/sh MAKE=make #CC=checkergcc CPP=$(CC) -E +VERSION=1.0 + # Email gateway settings -------------------------------------- # Directory for the email gateway files @@ -27,8 +29,8 @@ 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 @@ -37,7 +39,7 @@ IRTCLINC=-I$(IRTCLDIR) # Common settings --------------------------------------------- -# Other libraries libraries needed on some systems +# Other libraries needed on some systems #ELIB=-lnsl -lsocket # If you are using YAZ uncomment these lines @@ -61,6 +63,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: @@ -116,5 +122,16 @@ gnudepend: sed 's/^depend: depend1/depend: depend2/g' >Makefile.tmp;then \ mv -f Makefile.tmp Makefile; fi); done -wc: - wc `find . -name '*.[ch]'` +distribution: + echo "Making distribution version $(VERSION). Did you commit?" + if [ -d tmp ]; then \ + rm -fr tmp; \ + fi + mkdir tmp; cd tmp; cvs export -f -D now egate + cd tmp/egate/www; rm *wais*.[ch] + cd tmp; mv egate egate-$(VERSION) + cd tmp/egate-$(VERSION); make taildepend + cd tmp/egate-$(VERSION)/doc; make all + cd tmp; tar zcf ../egate-$(VERSION).tar.gz egate-$(VERSION) + rm -fr tmp +