Header files moved to include (used to be z39.50).
[yaz-moved-to-github.git] / Makefile.in
index 70334f3..0e03edd 100644 (file)
@@ -1,7 +1,7 @@
-# Copyright (C) 1995-1998, Index Data 
+# Copyright (C) 1995-1999, Index Data 
 # All rights reserved.
 # Sebastian Hammer, Adam Dickmeiss
-# $Id: Makefile.in,v 1.5 1998-10-28 15:09:59 adam Exp $
+# $Id: Makefile.in,v 1.12 1999-06-09 09:43:31 adam Exp $
 
 # Uncomment the lines below to enable mOSI communcation.
 #CDEFS=-DUSE_XTIMOSI
@@ -12,7 +12,7 @@
 CDEFS=@DEFS@
 
 # Standard include path and original protocol encoders.
-INCLUDE=-I. -I../z39.50 -I../include
+INCLUDE=-I. -I../include
 
 # The Module below is either asn (the original de/en-coders)
 # or z39.50 (the compiled de/en-coders).
@@ -22,7 +22,7 @@ CC=@CC@
 CPP=@CPP@
 SHELL=/bin/sh
 MAKE=make
-SUBDIR=$(MOD) util odr $(RFC1006) ccl comstack retrieval client server ztest lib
+SUBDIR=util odr $(MOD) zutil $(RFC1006) ccl comstack client server ztest retrieval lib
 # Add external libraries to the LIBS macro
 LIBS=@LIBS@
 
@@ -50,8 +50,8 @@ all:
 
 dep depend:
        for i in $(SUBDIR); do cd $$i; if $(MAKE) CPP="$(CPP)" \
-               INCLUDE="$(INCLUDE)" CDEFS="$(CDEFS)" depend;\
-                then cd ..; else exit 1; fi; done
+               INCLUDE="$(INCLUDE)" CDEFS="$(CDEFS)" depend; \
+               then cd ..; else exit 1; fi; done
 
 clean:
        for i in $(SUBDIR); do (cd $$i; $(MAKE) clean); done
@@ -60,7 +60,7 @@ 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
+       cd ztest; strip ztest
 
 cleanup:
        rm -f `find $(SUBDIR) -name "*.[oa]" -print`
@@ -70,6 +70,9 @@ cleanup:
 
 distclean: clean cleandepend
 
+comp:
+       cd z39.50; make comp
+
 cleandepend: 
        for i in $(SUBDIR); do (cd $$i; \
                if sed '/^#Depend/q' <Makefile >Makefile.tmp; then \
@@ -85,7 +88,7 @@ install.bin:
        @echo "Installing client -> $(BINDIR)"; \
        cp client/client $(BINDIR)/client; chmod 755 $(BINDIR)/client
        @echo "Installing ztest -> $(BINDIR)"; \
-       cp server/ztest $(BINDIR)/ztest; chmod 755 $(BINDIR)/ztest
+       cp ztest/ztest $(BINDIR)/ztest; chmod 755 $(BINDIR)/ztest
 
 install.lib:
        @if [ ! -d $(LIBDIR) ]; then \