Removed definition statserv_remove to eventl.h. (A hack really).
[yaz-moved-to-github.git] / Makefile
index 76b421e..09d3083 100644 (file)
--- 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`