X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=zlayer%2FMakefile;h=8096f70e2a0fe3fc4def6254a51ef3112c1c0f84;hb=c698f8c8545d6f2eecd1f8fdcef39fcc38ba1a6d;hp=0aee2b57c1a94a3869fe775abd8266e72cae01b5;hpb=8efa8d0416a5c568739f0686bd50af4253667cc6;p=egate.git diff --git a/zlayer/Makefile b/zlayer/Makefile index 0aee2b5..8096f70 100644 --- a/zlayer/Makefile +++ b/zlayer/Makefile @@ -1,30 +1,41 @@ -# Makefile for Email gateway utilities +# Makefile for Email gateway Z39.50 interface # Europagate, 1995 # # $Log: Makefile,v $ -# Revision 1.1 1995/02/16 14:47:55 quinn -# First kick. +# Revision 1.6 1995/02/23 10:09:39 adam +# Minor changes. +# +# Revision 1.5 1995/02/23 08:32:25 adam +# Changed header. +# +# Revision 1.3 1995/02/22 08:51:49 adam +# Definition of CPP changed. # +# Revision 1.2 1995/02/16 15:01:38 quinn +# Polished some library-references +# +# Revision 1.1 1995/02/16 14:47:55 quinn +# First kick. # +SHELL=/bin/sh +ZDEFS=-DLOW_TO_HIGH -Dfar= ZPRE=/home/proj/zdist/zdist102b1-1/libz3950 ZINC=-I$(ZPRE) ZLIB=$(ZPRE)/libz3950.a -SHELL=/bin/sh INCLUDE=-I. -I../include $(ZINC) CFLAGS=-g -Wall -pedantic -ansi TPROG1=test -LIB=../lib/zaccess.a +LIB=../lib/libzass.a PO=zaccess.o -CPP=cc -E +CPP=$(CC) -E DEFS=$(INCLUDE) -ZDEFS=-DLOW_TO_HIGH -Dfar= all: $(LIB) $(TPROG1): $(TPROG1).o $(LIB) - $(CC) $(CFLAGS) -o $(TPROG1) $(TPROG1).o $(LIB) + $(CC) $(CFLAGS) -o $(TPROG1) $(TPROG1).o $(LIB) $(ZLIB) ../lib/libres+log.a $(LIB): $(PO) rm -f $(LIB) @@ -42,11 +53,11 @@ depend: depend2 depend1: mv Makefile Makefile.tmp sed '/^#Depend/q' Makefile - $(CPP) $(INCLUDE) -M *.c >>Makefile + $(CPP) $(ZDEFS) $(INCLUDE) -M *.c >>Makefile -rm Makefile.tmp depend2: - $(CPP) $(INCLUDE) -M *.c >.depend + $(CPP) $(ZDEFS) $(INCLUDE) -M *.c >.depend ifeq (.depend,$(wildcard .depend)) include .depend