X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=asn%2FMakefile;h=5b5cebbdea0b2d827b8951559e0d68e39780a02a;hb=081bf3419fb97408aea83964cac9f130c6d1bbdc;hp=ddbd2232ab0cf506a63b9643b5876fa7fe28fb1d;hpb=602ffff9bb22a27dc020630a884c101ad09e1990;p=yaz-moved-to-github.git diff --git a/asn/Makefile b/asn/Makefile index ddbd223..5b5cebb 100644 --- a/asn/Makefile +++ b/asn/Makefile @@ -1,18 +1,17 @@ -# 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.20 1995-08-29 11:17:14 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 prt-exp.o prt-ext.o \ - prt-grs.o prt-exd.o prt-dia.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 @@ -24,6 +23,7 @@ test: test.o $(LIB) ../odr/odr.a alll: $(LIB): $(PO) + -mkdir $(LIBDIR) rm -f $(LIB) ar qc $(LIB) $(PO) $(RANLIB) $(LIB) @@ -42,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