X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=Makefile;h=2c927405569ca4c3b91e70a3beb679d5b371e89d;hb=b22117b182e372c6d1adc77c7da6a1de508e8594;hp=851f03189987a7fad308eba99b2a1b190f179334;hpb=ddd998ca83ffe16e7548f0717d218d32a2b57a33;p=yaz-moved-to-github.git diff --git a/Makefile b/Makefile index 851f031..2c92740 100644 --- a/Makefile +++ b/Makefile @@ -1,21 +1,27 @@ # Copyright (C) 1994, Index Data I/S # All rights reserved. # Sebastian Hammer, Adam Dickmeiss -# $Id: Makefile,v 1.14 1995-05-30 10:25:40 quinn Exp $ +# $Id: Makefile,v 1.25 1995-10-06 08:51:13 quinn Exp $ # Uncomment the lines below to enable mOSI communcation. -DEFS=-DUSE_XTIMOSI +ODEFS=-DUSE_XTIMOSI RFC1006=rfc1006 LIBMOSI=../../xtimosi/src/libmosi.a ../lib/librfc.a XMOSI=xmosi.o +CDEFS=$(ODEFS) #CC= SHELL=/bin/sh MAKE=make -SUBDIR=util odr asn $(RFC1006) ccl yazlib client server makelib +SUBDIR=util odr asn $(RFC1006) ccl comstack client server makelib +# Add external libraries to the ELIBS macro +ELIBS= +CONTROL=RANLIB="ranlib" ELIBS=$(ELIBS) all: - for i in $(SUBDIR); do cd $$i; if $(MAKE) CFLAGS="$(CFLAGS) $(DEFS)" LIBMOSI="$(LIBMOSI)" XMOSI="$(XMOSI)"; then cd ..; else exit 1; fi; done + for i in $(SUBDIR); do cd $$i; if $(MAKE) $(CONTROL)\ + CFLAGS="$(CFLAGS) $(CDEFS)" LIBMOSI="$(LIBMOSI)" XMOSI="$(XMOSI)";\ + then cd ..; else exit 1; fi; done dep depend: for i in $(SUBDIR); do cd $$i; if $(MAKE) depend; then cd ..; else exit 1; fi; done