X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=asn%2FMakefile;h=ddbd2232ab0cf506a63b9643b5876fa7fe28fb1d;hp=a37c56e919803b250088b60876b273f5bd17d373;hb=edc031856dc0956a63914b19f20c1d93e48525a2;hpb=17428c7afa7e84d91e4529ba440a953317dc2b82 diff --git a/asn/Makefile b/asn/Makefile index a37c56e..ddbd223 100644 --- a/asn/Makefile +++ b/asn/Makefile @@ -1,7 +1,7 @@ # Copyright (C) 1994, Index Data I/S # All rights reserved. # Sebastian Hammer, Adam Dickmeiss -# $Id: Makefile,v 1.12 1995-05-29 08:10:38 quinn Exp $ +# $Id: Makefile,v 1.20 1995-08-29 11:17:14 quinn Exp $ SHELL=/bin/sh INCLUDE=-I../include -I. @@ -11,8 +11,10 @@ LIBINCLUDE=-L$(LIBDIR) DEFS=$(INCLUDE) LIB=$(LIBDIR)/libasn.a LIBS=-lodr -lasn -PO = proto.o diagbib1.o zget.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 CPP=$(CC) -E +RANLIB=ranlib all: $(LIB) @@ -24,7 +26,7 @@ alll: $(LIB): $(PO) rm -f $(LIB) ar qc $(LIB) $(PO) - ranlib $(LIB) + $(RANLIB) $(LIB) .c.o: $(CC) -c $(DEFS) $(CFLAGS) $< @@ -35,10 +37,9 @@ clean: depend: depend2 depend1: - mv Makefile Makefile.tmp - sed '/^#Depend/q' Makefile - $(CPP) $(INCLUDE) -M *.c >>Makefile - -rm Makefile.tmp + sed '/^#Depend/q' Makefile.tmp + $(CPP) $(DEFS) -M *.c >>Makefile.tmp + mv -f Makefile.tmp Makefile depend2: $(CPP) $(INCLUDE) -M *.c >.depend