X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=asn%2FMakefile;h=3b20bef429375edcbaffbc38237b14a6ab0f5cbb;hb=1f6254e4d56700f2862a549a77daeb6c22d1f8d4;hp=1bc5c9f14e80ac81dc0fb358b46379dda7f23d9e;hpb=a8cbf4e58821b5a7e64063f6a1b50c453494167f;p=yaz-moved-to-github.git diff --git a/asn/Makefile b/asn/Makefile index 1bc5c9f..3b20bef 100644 --- a/asn/Makefile +++ b/asn/Makefile @@ -1,18 +1,18 @@ -# 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.11 1995-05-22 11:30:15 quinn Exp $ +# $Id: Makefile,v 1.26 1998-01-29 13:13:39 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 oid.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 prt-esp.o prt-arc.o prt-add.o CPP=$(CC) -E +RANLIB=ranlib all: $(LIB) @@ -24,7 +24,7 @@ alll: $(LIB): $(PO) rm -f $(LIB) ar qc $(LIB) $(PO) - ranlib $(LIB) + $(RANLIB) $(LIB) .c.o: $(CC) -c $(DEFS) $(CFLAGS) $< @@ -35,13 +35,12 @@ 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 + $(CPP) $(DEFS) -M *.c >.depend ifeq (.depend,$(wildcard .depend)) include .depend