From 11a58ec3e43c76b092d85510825f7317d7efc3ad Mon Sep 17 00:00:00 2001 From: Sebastian Hammer Date: Thu, 16 Mar 1995 13:28:13 +0000 Subject: [PATCH] Added makelib --- Makefile | 4 ++-- makelib/Makefile | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 makelib/Makefile diff --git a/Makefile b/Makefile index 3633764..7879872 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,12 @@ # 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 diff --git a/makelib/Makefile b/makelib/Makefile new file mode 100644 index 0000000..971abed --- /dev/null +++ b/makelib/Makefile @@ -0,0 +1,22 @@ +# 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 -- 1.7.10.4