Renamed logf function to yaz_log. Removed VC++ project files.
[yaz-moved-to-github.git] / asn / Makefile.in
1 # Copyright (C) 1995-1999, Index Data 
2 # All rights reserved.
3 # Sebastian Hammer, Adam Dickmeiss
4 # $Id: Makefile.in,v 1.5 1999-06-08 13:11:55 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. -I../include
15 LIBDIR=../lib
16 LIBINCLUDE=-L$(LIBDIR)
17
18 DEFS=$(INCLUDE) $(CDEFS)
19 LIB=$(LIBDIR)/libasn.a
20 PO = proto.o prt-rsc.o prt-acc.o prt-exp.o prt-grs.o prt-exd.o \
21         prt-dia.o prt-esp.o prt-arc.o prt-add.o prt-dat.o prt-univ.o
22 all: $(LIB)
23
24 alll:
25
26 $(LIB): $(PO)
27         rm -f $(LIB)
28         ar qc $(LIB) $(PO)
29         $(RANLIB) $(LIB)
30
31 .c.o:
32         $(CC) -c $(DEFS) $(CFLAGS) $<
33
34 clean:
35         rm -f *.[oa] test core mon.out gmon.out errlist
36
37 depend:
38         sed '/^#Depend/q' <Makefile >Makefile.tmp
39         $(CPP) $(DEFS) -M *.c >>Makefile.tmp
40         mv -f Makefile.tmp Makefile
41
42 #Depend --- DOT NOT DELETE THIS LINE