1 # Copyright (C) 1994-1998, Index Data
3 # Sebastian Hammer, Adam Dickmeiss
4 # $Id: Makefile.in,v 1.1 1998-09-02 14:15:33 adam Exp $
14 YAZLIB=../../yaz/lib/libyaz.a
15 YAZINC=-I../../yaz/include
17 INCLUDE=-I../include $(YAZINC)
18 DEFS=$(CDEFS) $(INCLUDE)
20 PO = isam.o isutil.o rootblk.o memory.o physical.o
24 alll: $(LIB) # isam-test issh
27 $(CC) -g -o test -I../include test.c \
28 ../lib/isam.a ../lib/bfile.a ../lib/zebrautl.a $(YAZLIB)
30 isam-test: isam-test.c $(LIB)
31 $(CC) -g -o isam-test -I../include isam-test.c \
32 ../lib/isam.a ../lib/bfile.a ../lib/zebrautl.a $(YAZLIB)
35 $(CC) -g -o issh $(INCLUDE) issh.c \
36 ../lib/isam.a ../lib/bfile.a ../lib/zebrautl.a $(YAZLIB)
38 #$(TPROG): $(TPROG).o $(LIB)
39 # $(CC) -o $(TPROG) $(TPROG).o $(LIB)
47 $(CC) -c $(DEFS) $(CFLAGS) $<
50 rm -f *.[oa] $(TPROG) core mon.out gmon.out errlist test isam-test issh
53 sed '/^#Depend/q' <Makefile >Makefile.tmp
54 $(CPP) $(DEFS) -M *.c >>Makefile.tmp
55 mv -f Makefile.tmp Makefile
57 #Depend --- DOT NOT DELETE THIS LINE