Old versions of GILS tables
[yaz-moved-to-github.git] / Makefile
index 9c37e7a..c50e021 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.29 1996-05-22 08:35:24 adam 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
@@ -9,7 +9,7 @@
 #LIBMOSI=../../xtimosi/src/libmosi.a ../lib/librfc.a
 #XMOSI=xmosi.o
 
-CDEFS=$(ODEFS)
+CDEFS=$(ODEFS) 
 #CC=
 SHELL=/bin/sh
 MAKE=make
@@ -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`