X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=asn%2FMakefile;h=5b5cebbdea0b2d827b8951559e0d68e39780a02a;hb=081bf3419fb97408aea83964cac9f130c6d1bbdc;hp=45b8768861e0ac46d929ce963e3cac426b027d78;hpb=6edc916a5a8d44e1d7708f5018828e0d2020690b;p=yaz-moved-to-github.git diff --git a/asn/Makefile b/asn/Makefile index 45b8768..5b5cebb 100644 --- a/asn/Makefile +++ b/asn/Makefile @@ -1,18 +1,19 @@ -# 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.14 1995-06-02 09:49:11 quinn Exp $ +# $Id: Makefile,v 1.29 1998-04-26 11:08:09 adam Exp $ SHELL=/bin/sh INCLUDE=-I../include -I. LIBDIR=../lib LIBINCLUDE=-L$(LIBDIR) -#CFLAGS=-g -Wall -pedantic -ansi -DEFS=$(INCLUDE) +DEFS=$(INCLUDE) $(CDEFS) LIB=$(LIBDIR)/libasn.a -LIBS=-lodr -lasn -PO = proto.o diagbib1.o zget.o prt-rsc.o prt-acc.o +PO = proto.o diagbib1.o zget.o prt-rsc.o prt-acc.o prt-exp.o prt-ext.o \ + prt-grs.o prt-exd.o prt-dia.o prt-esp.o prt-arc.o prt-add.o \ + prt-dat.o prt-univ.o CPP=$(CC) -E +RANLIB=ranlib all: $(LIB) @@ -22,9 +23,10 @@ test: test.o $(LIB) ../odr/odr.a alll: $(LIB): $(PO) + -mkdir $(LIBDIR) rm -f $(LIB) ar qc $(LIB) $(PO) - ranlib $(LIB) + $(RANLIB) $(LIB) .c.o: $(CC) -c $(DEFS) $(CFLAGS) $< @@ -40,7 +42,7 @@ depend1: mv -f Makefile.tmp Makefile depend2: - $(CPP) $(INCLUDE) -M *.c >.depend + $(CPP) $(DEFS) -M *.c >.depend ifeq (.depend,$(wildcard .depend)) include .depend