X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=Makefile;h=c50e021cf08455abca90ac2947ff1d17aadd2ef8;hp=9e68963ed02954419f34933d6eb9bea78a0ffae1;hb=88941d4a9e272daca9323cd19bf4829b6d32871b;hpb=f850b018fdcafddfb5c0f72cc16c51a6be47cddc diff --git a/Makefile b/Makefile index 9e68963..c50e021 100644 --- a/Makefile +++ b/Makefile @@ -1,15 +1,15 @@ -# Copyright (C) 1994, Index Data I/S +# Copyright (C) 1995-1997, Index Data I/S # All rights reserved. # Sebastian Hammer, Adam Dickmeiss -# $Id: Makefile,v 1.28 1995-12-06 16:06:20 quinn Exp $ +# $Id: Makefile,v 1.32 1997-02-24 10:37:26 adam 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 -CDEFS=$(ODEFS) +CDEFS=$(ODEFS) #CC= SHELL=/bin/sh MAKE=make @@ -28,7 +28,7 @@ INCDIR=/usr/local/include YAZDIR=/usr/local/lib/yaz all: - for i in $(SUBDIR); do cd $$i; if $(MAKE) $(CONTROL)\ + for i in $(SUBDIR); do cd $$i; if $(MAKE) $(CONTROL) \ CFLAGS="$(CFLAGS) $(CDEFS)" LIBMOSI="$(LIBMOSI)" XMOSI="$(XMOSI)";\ then cd ..; else exit 1; fi; done @@ -39,6 +39,12 @@ clean: for i in $(SUBDIR); do (cd $$i; $(MAKE) clean); done -rm lib/*.a +oclean: + for i in $(SUBDIR); do (cd $$i; rm -f *.o); done + mv lib/libyaz.a .; rm -f lib/*.a; mv libyaz.a lib + cd client; strip client + cd server; strip ztest + cleanup: rm -f `find $(SUBDIR) -name "*.[oa]" -print` rm -f `find $(SUBDIR) -name "core" -print`