X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=Makefile;h=09d3083f73a1f3c8284315dc7ad294d0f68ab4ac;hp=76b421e50d23d9b9288eb06f6a1b4ae9a346c4fc;hb=9a2b41f58cf220c9583b654ff77776a18e958b44;hpb=abda0ffc1ac8fca34535f39c6581ed16e70e15f9 diff --git a/Makefile b/Makefile index 76b421e..09d3083 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ -# 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.30 1996-10-07 15:28:56 quinn Exp $ +# $Id: Makefile,v 1.33 1997-09-01 08:47:18 adam Exp $ # Uncomment the lines below to enable mOSI communcation. #ODEFS=-DUSE_XTIMOSI @@ -13,7 +13,7 @@ CDEFS=$(ODEFS) #CC= SHELL=/bin/sh MAKE=make -SUBDIR=util odr asn $(RFC1006) ccl comstack retrieval client server makelib +SUBDIR=util odr asn $(RFC1006) ccl comstack retrieval client server ztest makelib # Add external libraries to the ELIBS macro ELIBS= CONTROL=RANLIB="ranlib" ELIBS="$(ELIBS)" @@ -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`