X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=asn%2FMakefile;h=5b5cebbdea0b2d827b8951559e0d68e39780a02a;hb=081bf3419fb97408aea83964cac9f130c6d1bbdc;hp=eeceaab99fa1daeb6fffef024140d5f61d7efa5e;hpb=bc39d5bc3e621e09a0d8b0b912a4e4dfaf43d087;p=yaz-moved-to-github.git diff --git a/asn/Makefile b/asn/Makefile index eeceaab..5b5cebb 100644 --- a/asn/Makefile +++ b/asn/Makefile @@ -1,17 +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.22 1996-05-22 08:35:36 adam 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) -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-esp.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 @@ -23,6 +23,7 @@ test: test.o $(LIB) ../odr/odr.a alll: $(LIB): $(PO) + -mkdir $(LIBDIR) rm -f $(LIB) ar qc $(LIB) $(PO) $(RANLIB) $(LIB) @@ -41,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