From 98c0ee83b935b88e685e98ffb02ead83e006f2b8 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 29 Feb 1996 15:33:18 +0000 Subject: [PATCH] More settings in main Makefile. --- Makefile | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index d8d51c6..1d12172 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # Top level Makefile for Email gateway. # Europagate, 1994-1995. # -# $Id: Makefile,v 1.28 1996/01/09 16:16:02 adam Exp $ +# $Id: Makefile,v 1.29 1996/02/29 15:33:18 adam Exp $ # SHELL=/bin/sh MAKE=make @@ -16,6 +16,15 @@ LIBDIR=/usr/local/lib/emailgw # 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); \ -- 1.7.10.4