70f864f461f72e5e6010758fe0a3677b9798f27e
[idzebra-moved-to-github.git] / isams / Makefile.in
1 # Copyright (C) 1996-1999, Index Data 
2 # All rights reserved.
3 # Sebastian Hammer, Adam Dickmeiss
4 # $Id: Makefile.in,v 1.1 1999-11-30 14:02:45 adam Exp $
5
6 SHELL=/bin/sh
7
8 CC=@CC@
9 CPP=@CPP@
10 RANLIB=@RANLIB@
11 CDEFS=@DEFS@ @ODEFS@
12 LIBS=@LIBS@
13
14 YAZLIB=@YAZLIB@
15 YAZINC=@YAZINC@
16
17 INCLUDE=-I../include $(YAZINC)
18 DEFS=$(CDEFS) $(INCLUDE)
19 LIB=../lib/isams.a 
20 PO = isams.o
21
22 all: $(LIB)
23
24 alll: $(LIB) 
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] $(TPROG1) 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