X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=Makefile;h=1d1217224d852bfc0e6ff9070d49b2852305705e;hb=25db261b6bbbfcc7bc26f679f195b51d31b9d7d7;hp=b1383ed99993b2a275272b60e47e8136962e7bb8;hpb=f7782074f0b95181a9fe5b04453f42c643ed0844;p=egate.git diff --git a/Makefile b/Makefile index b1383ed..1d12172 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # Top level Makefile for Email gateway. # Europagate, 1994-1995. # -# $Id: Makefile,v 1.26 1995/10/20 11:49:11 adam Exp $ +# $Id: Makefile,v 1.29 1996/02/29 15:33:18 adam Exp $ # SHELL=/bin/sh MAKE=make @@ -10,12 +10,21 @@ CPP=$(CC) -E LIBDIR=/usr/local/lib/emailgw # GNU regex package location -#REGEXOBJ=../../regex-0.12/regex.o -#REGEXINC=-I../../regex-0.12 +#REGEXOBJ=../../../pd-src/regex-0.12/regex.o +#REGEXINC=-I../../../pd-src/regex-0.12 # Other libraries libraries needed on some systems #NETLIB=-lnsl -lsocket +# Location of Tcl +TCLLIB=/usr/local/lib/libtcl7.5.a +TCLINC= + +# Location of IrTcl +IRTCLDIR=../../ir-tcl +IRTCLLIB=$(IRTCLDIR)/libirtcl.a +IRTCLINC=-I$(IRTCLDIR) + # If you are using YAZ uncomment these lines ZACC=zlayer-yaz ZINC=-I../../yaz/include @@ -31,12 +40,12 @@ ZDEFS= SUBDIR=res+log util ccl fml $(ZACC) kernel www all: - for i in $(SUBDIR); do cd $$i; if $(MAKE) CFLAGS="$(CFLAGS)" CC="$(CC)" ZINC="$(ZINC)" ZLIB="$(ZLIB)" CPP="$(CPP)" NETLIB="$(NETLIB)" REGEXOBJ="$(REGEXOBJ)" REGEXINC="$(REGEXINC)" ZDEFS="$(ZDEFS)"; 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)" NETLIB="$(NETLIB)" REGEXOBJ="$(REGEXOBJ)" REGEXINC="$(REGEXINC)" ZDEFS="$(ZDEFS)" TCLLIB="$(TCLLIB)" TCLINC="$(TCLINC)" IRTCLLIB="$(IRTCLLIB)" IRTCLINC="$(IRTCLINC)"; 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)" REGEXINC="$(REGEXINC)" ZDEFS="$(ZDEFS)" depend; then cd ..; else exit 1; fi; done + for i in $(SUBDIR); do cd $$i; if $(MAKE) CFLAGS="$(CFLAGS)" CC="$(CC)" ZINC="$(ZINC)" CPP="$(CPP)" REGEXINC="$(REGEXINC)" ZDEFS="$(ZDEFS)" TCLINC="$(TCLINC)" IRTCLINC="$(IRTCLINC)" depend; then cd ..; else exit 1; fi; done -install: +install: @if [ ! -d $(LIBDIR) ]; then \ echo "Making directory $(LIBDIR)"; \ mkdir $(LIBDIR); \