Minor changes.
authorAdam Dickmeiss <adam@indexdata.dk>
Wed, 1 Mar 1995 14:31:03 +0000 (14:31 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Wed, 1 Mar 1995 14:31:03 +0000 (14:31 +0000)
Makefile

index 1e054a0..cd01bd4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,15 +1,19 @@
 # Top level Makefile for Email gateway.
 # Europagate, 1994-1995.
 #
-# $Id: Makefile,v 1.15 1995/02/23 10:07:53 adam Exp $
+# $Id: Makefile,v 1.16 1995/03/01 14:31:03 adam Exp $
 #
 SHELL=/bin/sh
 MAKE=make
 SUBDIR=res+log util fml ccl zlayer kernel
 CFLAGS=-Wall -g -pedantic -ansi 
-#CC=gcc
+CC=gcc
 CPP=$(CC) -E
 
+# GNU regex package location
+#REGEXOBJ=/usr/local/gnu/regex-0.12/regex.o
+#REGEXINC=-I/usr/local/gnu/regex-0.12
+
 # For sun-sparc-solaris 
 #ZPRE=/usr/local/emailgw/src/zdist102b1-1/libz3950
 #ZDEFS=-DHIGH_TO_LOW -Dfar=
@@ -20,10 +24,10 @@ ZPRE=/home/proj/zdist/zdist102b1-1/libz3950
 ZDEFS=-DLOW_TO_HIGH -Dfar=
 
 all:
-       for i in $(SUBDIR); do cd $$i; if $(MAKE) CFLAGS="$(CFLAGS)" CC="$(CC)" ZPRE="$(ZPRE)" CPP="$(CPP)" NETLIB="$(NETLIB)" ZDEFS="$(ZDEFS)"; then cd ..; else exit 1; fi; done
+       for i in $(SUBDIR); do cd $$i; if $(MAKE) CFLAGS="$(CFLAGS)" CC="$(CC)" ZPRE="$(ZPRE)" CPP="$(CPP)" NETLIB="$(NETLIB)" REGEXOBJ="$(REGEXOBJ)" REGEXINC="$(REGEXINC)" ZDEFS="$(ZDEFS)"; then cd ..; else exit 1; fi; done
 
 dep depend:
-       for i in $(SUBDIR); do cd $$i; if $(MAKE) CFLAGS="$(CFLAGS)" CC="$(CC)" ZPRE="$(ZPRE)" CPP="$(CPP)" ZDEFS="$(ZDEFS)" depend; then cd ..; else exit 1; fi; done
+       for i in $(SUBDIR); do cd $$i; if $(MAKE) CFLAGS="$(CFLAGS)" CC="$(CC)" ZPRE="$(ZPRE)" CPP="$(CPP)" REGEXINC="$(REGEXINC)" ZDEFS="$(ZDEFS)" depend; then cd ..; else exit 1; fi; done
 
 clean:
        -rm -f lib/*.a