X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=Makefile;h=1d1217224d852bfc0e6ff9070d49b2852305705e;hb=25db261b6bbbfcc7bc26f679f195b51d31b9d7d7;hp=73b15908190dc5b350b12263646b59637a9b93e1;hpb=9138053e666a052b898ebd2792f37154dea70e61;p=egate.git diff --git a/Makefile b/Makefile index 73b1590..1d12172 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # Top level Makefile for Email gateway. # Europagate, 1994-1995. # -# $Id: Makefile,v 1.25 1995/07/11 11:48:59 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 @@ -28,15 +37,15 @@ ZDEFS= #ZLIB=/home/proj/zdist/zdist102b1-1/libz3950/libz3950.a #ZDEFS=-DLOW_TO_HIGH -Dfar= -SUBDIR=res+log util ccl fml $(ZACC) kernel +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); \