X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=zlayer%2FMakefile;h=40ebdc0545ae679df5d46601efd337711a61684c;hb=4938d0c2e8f4e1eec397c2bfbbc7e23fd150c369;hp=851234d3ffe46ef6b9d1bd1bc0f1349cdaf8287f;hpb=202c42c4dd7bc08d6fa062334aa6d48aca1407aa;p=egate.git diff --git a/zlayer/Makefile b/zlayer/Makefile index 851234d..40ebdc0 100644 --- a/zlayer/Makefile +++ b/zlayer/Makefile @@ -1,28 +1,65 @@ -# Makefile for Email gateway utilities +# Makefile for Email gateway Z39.50 interface # Europagate, 1995 # # $Log: Makefile,v $ -# Revision 1.2 1995/02/16 15:01:38 quinn +# Revision 1.14 1995/04/20 15:25:31 quinn +# Asynch. API +# +# Revision 1.13 1995/04/19 16:08:25 adam +# Minor changes. +# +# Revision 1.12 1995/04/19 16:02:28 adam +# Record type hack. +# +# Revision 1.11 1995/04/19 09:24:01 quinn +# Fixed bug in zass_open - variable initialized after use +# +# Revision 1.10 1995/04/19 07:31:28 adam +# Minor changes. +# +# Revision 1.9 1995/04/17 11:26:52 quinn +# Added YAZ version of zaccess +# +# Revision 1.8 1995/04/17 09:36:44 adam +# Minor changes in makefile. +# +# Revision 1.7 1995/03/27 12:52:25 adam +# Minor changes. +# +# 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 -ZPRE=/home/proj/zdist/zdist102b1-1/libz3950 -ZINC=-I$(ZPRE) -ZLIB=$(ZPRE)/libz3950.a +#ZDEFS=-DLOW_TO_HIGH -Dfar= +#ZPRE=/home/proj/zdist/zdist102b1-1/libz3950 +#ZINC=-I$(ZPRE) +#ZLIB=$(ZPRE)/libz3950.a + +ZINC=-I../../yaz/include +#ZDEFS=-DUSE_XTIMOSI +ZLIB=../../yaz/lib/libyaz.a -SHELL=/bin/sh INCLUDE=-I. -I../include $(ZINC) -CFLAGS=-g -Wall -pedantic -ansi +#CFLAGS=-g -Wall -pedantic -ansi TPROG1=test LIB=../lib/libzass.a -PO=zaccess.o -CPP=cc -E +PO=zaccess-yaz.o +CPP=$(CC) -E DEFS=$(INCLUDE) -ZDEFS=-DLOW_TO_HIGH -Dfar= +CFILES=zaccess-yaz.c all: $(LIB) @@ -43,14 +80,14 @@ clean: depend: depend2 depend1: - mv Makefile Makefile.tmp - sed '/^#Depend/q' Makefile - $(CPP) $(INCLUDE) -M *.c >>Makefile - -rm Makefile.tmp + sed '/^#Depend/q' Makefile.tmp + $(CPP) $(DEFS) -M $(CFILES) >>Makefile.tmp + mv -f Makefile.tmp Makefile depend2: - $(CPP) $(INCLUDE) -M *.c >.depend + $(CPP) $(DEFS) -M $(CFILES) >.depend +#GNU make style depend ifeq (.depend,$(wildcard .depend)) include .depend endif