ca9e822d2036143004452315b4a7d71428451b37
[yaz-moved-to-github.git] / asn / Makefile.in
1 # Copyright (C) 1995-1998, Index Data I/S 
2 # All rights reserved.
3 # Sebastian Hammer, Adam Dickmeiss
4 # $Id: Makefile.in,v 1.3 1998-10-28 15:10:02 adam Exp $
5
6 SHELL=/bin/sh
7
8 CC=@CC@
9 CPP=@CPP@
10 RANLIB=@RANLIB@
11 CDEFS=@DEFS@
12 LIBS=@LIBS@
13
14 INCLUDE=-I../include -I.
15 LIBDIR=../lib
16 LIBINCLUDE=-L$(LIBDIR)
17
18 DEFS=$(INCLUDE) $(CDEFS)
19 LIB=$(LIBDIR)/libasn.a
20 PO = proto.o diagbib1.o zget.o prt-rsc.o prt-acc.o prt-exp.o prt-ext.o \
21         prt-grs.o prt-exd.o prt-dia.o prt-esp.o prt-arc.o prt-add.o \
22         prt-dat.o prt-univ.o
23 all: $(LIB)
24
25 alll:
26
27 $(LIB): $(PO)
28         rm -f $(LIB)
29         ar qc $(LIB) $(PO)
30         $(RANLIB) $(LIB)
31
32 .c.o:
33         $(CC) -c $(DEFS) $(CFLAGS) $<
34
35 clean:
36         rm -f *.[oa] test core mon.out gmon.out errlist
37
38 depend:
39         sed '/^#Depend/q' <Makefile >Makefile.tmp
40         $(CPP) $(DEFS) -M *.c >>Makefile.tmp
41         mv -f Makefile.tmp Makefile
42
43 #Depend --- DOT NOT DELETE THIS LINE