1 # Copyright (C) 1994-1999, Index Data ApS
3 # Sebastian Hammer, Adam Dickmeiss
4 # $Id: Makefile.in,v 1.3 1999-05-26 07:49:12 adam Exp $
14 YAZLIB=../../yaz/lib/libyaz.a
15 YAZINC=-I../../yaz/z39.50 -I../../yaz/include
17 INCLUDE=-I../include $(YAZINC)
21 DEFS=$(CDEFS) $(INCLUDE)
23 PO = dfa.o imalloc.o states.o set.o bset.o
27 alll: $(LIB) $(TPROG1) $(TPROG2) $(TPROG3)
29 $(TPROG1): $(TPROG1).o $(LIB) ../lib/zebrautl.a
30 $(CC) $(CFLAGS) -o $(TPROG1) $(TPROG1).o $(LIB) \
31 ../lib/zebrautl.a $(YAZLIB)
33 $(TPROG2): $(TPROG2).o readfile.o $(LIB) ../lib/zebrautl.a
34 $(CC) $(CFLAGS) -o $(TPROG2) $(TPROG2).o readfile.o $(LIB) \
35 ../lib/zebrautl.a $(YAZLIB)
37 $(TPROG3): $(TPROG3).o $(LIB) ../lib/zebrautl.a
38 $(CC) $(CFLAGS) -o $(TPROG3) $(TPROG3).o $(LIB) $(YAZLIB) \
39 ../lib/zebrautl.a $(YAZLIB)
47 $(CC) -c $(DEFS) $(CFLAGS) $<
50 rm -f *.[oa] $(TPROG1) $(TPROG2) $(TPROG3) core mon.out gmon.out errlist
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