# Copyright (C) 1994, Index Data I/S
# All rights reserved.
# Sebastian Hammer, Adam Dickmeiss
-# $Id: Makefile,v 1.2 1995-03-14 16:59:05 quinn Exp $
+# $Id: Makefile,v 1.3 1995-03-16 13:28:13 quinn Exp $
#CC=
SHELL=/bin/sh
MAKE=make
-SUBDIR=odr asn yazlib server
+SUBDIR=odr asn yazlib server makelib
all:
for i in $(SUBDIR); do cd $$i; if $(MAKE) CFLAGS="$(CFLAGS)"; then cd ..; else exit 1; fi; done
--- /dev/null
+# Copyright (C) 1994, Index Data I/S
+# All rights reserved.
+# Sebastian Hammer, Adam Dickmeiss
+# $Id: Makefile,v 1.1 1995-03-16 13:28:25 quinn Exp $
+
+#CC=
+SHELL=/bin/sh
+MAKE=make
+LIBDIR=../../lib
+LIBS=$(LIBDIR)/libodr.a $(LIBDIR)/libasn.a $(LIBDIR)/libcomstack.a \
+ $(LIBDIR)/libserver.a
+LIB=$(LIBDIR)/libyaz.a
+
+all: $(LIB)
+
+$(LIB): $(LIBS)
+ rm -f $(LIB)
+ for i in $(LIBS); do ar x $$i; done
+ -rm -f __*
+ ar qc $(LIB) *.o
+ ranlib $(LIB)
+ rm -f *.o