X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=zlayer%2FMakefile;h=40ebdc0545ae679df5d46601efd337711a61684c;hb=7b58e36bc4c5a57dec46408bbfb3707638dd967a;hp=e9ca4589f7dee0a09f978339393ab15eb480e58c;hpb=3f6af0f3aa9f114cf562c28f2ed0b954e4c5d659;p=egate.git diff --git a/zlayer/Makefile b/zlayer/Makefile index e9ca458..40ebdc0 100644 --- a/zlayer/Makefile +++ b/zlayer/Makefile @@ -1,7 +1,37 @@ -# Makefile for Email gateway utilities +# Makefile for Email gateway Z39.50 interface # Europagate, 1995 # -# Makefile,v +# $Log: Makefile,v $ +# 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. # @@ -11,21 +41,25 @@ # 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 +PO=zaccess-yaz.o CPP=$(CC) -E DEFS=$(INCLUDE) -ZDEFS=-DHIGH_TO_LOW -Dfar= +CFILES=zaccess-yaz.c all: $(LIB) @@ -46,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