X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=odr%2FMakefile;h=0512fb89c37b1c5660709a507e0fb7a8165b49c6;hp=ef329cf02ff723509eff3ac9e7c9ab8765003b18;hb=ffb88e8bb97c6e24989b7f04b8bbf1a4203d2f72;hpb=42d3d8a6486c495357574e5db0fc736834d8ba40 diff --git a/odr/Makefile b/odr/Makefile index ef329cf..0512fb8 100644 --- a/odr/Makefile +++ b/odr/Makefile @@ -1,14 +1,13 @@ -# Copyright (C) 1994, Index Data I/S +# Copyright (C) 1995-1998, Index Data I/S # All rights reserved. # Sebastian Hammer, Adam Dickmeiss -# $Id: Makefile,v 1.21 1995-06-19 12:38:45 quinn Exp $ +# $Id: Makefile,v 1.27 1998-01-29 13:18:29 adam Exp $ SHELL=/bin/sh INCLUDE=-I../include -I. LIBDIR=../lib LIBINCLUDE=-L$(LIBDIR) -CFLAGS= -g -Wall -pedantic -ansi -DODR_DEBUG -DEFS=$(INCLUDE) +DEFS=$(INCLUDE) $(CDEFS) # -DODR_DEBUG LIB=$(LIBDIR)/libodr.a LIBS=-lodr PO = odr_bool.o ber_bool.o ber_len.o ber_tag.o odr_util.o odr_null.o \ @@ -16,6 +15,7 @@ PO = odr_bool.o ber_bool.o ber_len.o ber_tag.o odr_util.o odr_null.o \ odr_oct.o ber_oct.o odr_bit.o ber_bit.o odr_oid.o ber_oid.o odr_use.o \ odr_choice.o odr_any.o ber_any.o odr.o odr_mem.o dumpber.o CPP=$(CC) -E +RANLIB=ranlib all: $(LIBDIR) $(INCDIR) $(LIB) @@ -27,7 +27,7 @@ alll: $(LIB): $(PO) rm -f $(LIB) ar qc $(LIB) $(PO) - ranlib $(LIB) + $(RANLIB) $(LIB) $(LIBDIR): mkdir $(LIBDIR) @@ -46,7 +46,7 @@ depend1: mv -f Makefile.tmp Makefile depend2: - $(CPP) $(INCLUDE) -M *.c >.depend + $(CPP) $(DEFS) -M *.c >.depend ifeq (.depend,$(wildcard .depend)) include .depend