X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=asn%2FMakefile;h=a3f4291a15986aa7b8d5a039f97445e2167d60ae;hp=1bc5c9f14e80ac81dc0fb358b46379dda7f23d9e;hb=6a39772ad0cbd1bcb5d0984cd783d4a9e06bdfdb;hpb=a8cbf4e58821b5a7e64063f6a1b50c453494167f diff --git a/asn/Makefile b/asn/Makefile index 1bc5c9f..a3f4291 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.11 1995-05-22 11:30:15 quinn Exp $ +# $Id: Makefile,v 1.30 1998-05-18 13:06:51 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 \ + prt-dat.o prt-univ.o CPP=$(CC) -E +RANLIB=ranlib all: $(LIB) @@ -24,7 +25,7 @@ alll: $(LIB): $(PO) rm -f $(LIB) ar qc $(LIB) $(PO) - ranlib $(LIB) + $(RANLIB) $(LIB) .c.o: $(CC) -c $(DEFS) $(CFLAGS) $< @@ -35,13 +36,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