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