X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=Makefile;h=a491ea6b327f159042a0789edad3901288d18661;hp=6a8df693a3b43cac4ed007701d4ffa598135e2d1;hb=f305305306da9af74ed6c559f2b06353fd5a7c82;hpb=189fa86838b242b5f37e5ea2db92a84935050a81 diff --git a/Makefile b/Makefile index 6a8df69..a491ea6 100644 --- a/Makefile +++ b/Makefile @@ -1,23 +1,27 @@ # Copyright (C) 1994, Index Data I/S # All rights reserved. # Sebastian Hammer, Adam Dickmeiss -# $Id: Makefile,v 1.16 1995-06-14 15:26:30 quinn Exp $ +# $Id: Makefile,v 1.22 1995-08-28 16:29:45 quinn Exp $ # Uncomment the lines below to enable mOSI communcation. -ODEFS=-DUSE_XTIMOSI -RFC1006=rfc1006 -LIBMOSI=../../xtimosi/src/libmosi.a ../lib/librfc.a -XMOSI=xmosi.o +#ODEFS=-DUSE_XTIMOSI +#RFC1006=rfc1006 +#LIBMOSI=../../xtimosi/src/libmosi.a ../lib/librfc.a +#XMOSI=xmosi.o -# Take out the Z_95 if you based your app on v.21b or earlier. -DEFS=$(ODEFS) -DZ_95 +CDEFS=$(ODEFS) #CC= SHELL=/bin/sh MAKE=make 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