X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=asn%2FMakefile;h=45b8768861e0ac46d929ce963e3cac426b027d78;hb=38f28b040157ff5bffcd41e557205224f6bb0e9c;hp=9fbab3bdcf73c5f1db72220fd9a3c87f8d01703c;hpb=d32b1dbdc1f0392883547cc9e56c26f384a4c57f;p=yaz-moved-to-github.git diff --git a/asn/Makefile b/asn/Makefile index 9fbab3b..45b8768 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.10 1995-04-11 11:52:01 quinn Exp $ +# $Id: Makefile,v 1.14 1995-06-02 09:49:11 quinn Exp $ SHELL=/bin/sh INCLUDE=-I../include -I. @@ -11,7 +11,7 @@ LIBINCLUDE=-L$(LIBDIR) DEFS=$(INCLUDE) LIB=$(LIBDIR)/libasn.a LIBS=-lodr -lasn -PO = proto.o diagbib1.o oid.o +PO = proto.o diagbib1.o zget.o prt-rsc.o prt-acc.o CPP=$(CC) -E all: $(LIB) @@ -35,10 +35,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