X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=Makefile;h=e690b1b11a704f49ad71bbf7973fae260b267e10;hp=36337644422eb13deb75123350b58a464edffafd;hb=feeec79483b93bb8bc3f0b25b90377114d271db6;hpb=231d73232fc9420212ae6889a9e8002d7a124b95 diff --git a/Makefile b/Makefile index 3633764..e690b1b 100644 --- a/Makefile +++ b/Makefile @@ -1,21 +1,28 @@ # Copyright (C) 1994, Index Data I/S # All rights reserved. # Sebastian Hammer, Adam Dickmeiss -# $Id: Makefile,v 1.2 1995-03-14 16:59:05 quinn Exp $ +# $Id: Makefile,v 1.13 1995-05-22 14:02:23 quinn Exp $ + +# Uncomment the lines below to enable mOSI communcation. +DEFS=-DUSE_XTIMOSI +RFC1006=rfc1006 +LIBMOSI=../../xtimosi/src/libmosi.a ../lib/librfc.a +XMOSI=xmosi.o #CC= SHELL=/bin/sh MAKE=make -SUBDIR=odr asn yazlib server +SUBDIR=util odr asn $(RFC1006) ccl yazlib client server makelib all: - for i in $(SUBDIR); do cd $$i; if $(MAKE) CFLAGS="$(CFLAGS)"; then cd ..; else exit 1; fi; done + for i in $(SUBDIR); do cd $$i; if $(MAKE) CFLAGS="$(CFLAGS) $(DEFS)" 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 clean: for i in $(SUBDIR); do (cd $$i; $(MAKE) clean); done + -rm lib/*.a cleanup: rm -f `find $(SUBDIR) -name "*.[oa]" -print`