X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=Makefile.in;h=0e03edd0f6406b1a9a1db282eb584dbcd36e0c8a;hp=bd2c11bce90280ece5b942caafd098f0b89d3c3d;hb=a19243ec18959150a30c63c521fc5b0af860ce18;hpb=161ec45b40a3ab08e08946c9654ab6fea4604760 diff --git a/Makefile.in b/Makefile.in index bd2c11b..0e03edd 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,7 +1,7 @@ # Copyright (C) 1995-1999, Index Data # All rights reserved. # Sebastian Hammer, Adam Dickmeiss -# $Id: Makefile.in,v 1.8 1999-06-08 10:10:15 adam Exp $ +# $Id: Makefile.in,v 1.12 1999-06-09 09:43:31 adam Exp $ # Uncomment the lines below to enable mOSI communcation. #CDEFS=-DUSE_XTIMOSI @@ -12,7 +12,7 @@ CDEFS=@DEFS@ # Standard include path and original protocol encoders. -INCLUDE=-I. -I../z39.50 -I../include +INCLUDE=-I. -I../include # The Module below is either asn (the original de/en-coders) # or z39.50 (the compiled de/en-coders). @@ -22,7 +22,7 @@ CC=@CC@ CPP=@CPP@ SHELL=/bin/sh MAKE=make -SUBDIR=$(MOD) util odr zutil $(RFC1006) ccl comstack retrieval client server ztest lib +SUBDIR=util odr $(MOD) zutil $(RFC1006) ccl comstack client server ztest retrieval lib # Add external libraries to the LIBS macro LIBS=@LIBS@ @@ -41,17 +41,17 @@ INCDIR=$(prefix)/include YAZDIR=$(prefix)/lib/yaz all: - for i in $(SUBDIR); do (cd $$i; $(MAKE) CC="$(CC)" \ + for i in $(SUBDIR); do cd $$i; if $(MAKE) CC="$(CC)" \ RANLIB="$(RANLIB)" LIBS="$(LIBS)" \ INCLUDE="$(INCLUDE)" CFLAGS="$(CFLAGS)" \ CDEFS="$(CDEFS)" \ - LIBMOSI="$(LIBMOSI)" XMOSI="$(XMOSI)");\ - done + LIBMOSI="$(LIBMOSI)" XMOSI="$(XMOSI)";\ + then cd ..; else exit 1; fi; done dep depend: - for i in $(SUBDIR); do (cd $$i; $(MAKE) CPP="$(CPP)" \ - INCLUDE="$(INCLUDE)" CDEFS="$(CDEFS)" depend);\ - done + for i in $(SUBDIR); do cd $$i; if $(MAKE) CPP="$(CPP)" \ + INCLUDE="$(INCLUDE)" CDEFS="$(CDEFS)" depend; \ + then cd ..; else exit 1; fi; done clean: for i in $(SUBDIR); do (cd $$i; $(MAKE) clean); done @@ -70,6 +70,9 @@ cleanup: distclean: clean cleandepend +comp: + cd z39.50; make comp + cleandepend: for i in $(SUBDIR); do (cd $$i; \ if sed '/^#Depend/q' Makefile.tmp; then \