1 # Copyright (C) 1994-1998, Index Data ApS
3 # Sebastian Hammer, Adam Dickmeiss
4 # $Id: Makefile.in,v 1.1 1998-09-02 14:15:37 adam Exp $
14 YAZLIB=../../yaz/lib/libyaz.a
15 YAZINC=-I../../yaz/include
17 INCLUDE=-I../include $(YAZINC)
19 DEFS=$(CDEFS) $(INCLUDE) -DUSE_CRYPT=0
21 PO = res.o charmap.o zebramap.o passwddb.o
25 alll: res-test all passtest
27 res-test: res-test.o $(LIB)
28 $(CC) -o res-test res-test.o $(LIB) $(YAZLIB)
30 passtest: passtest.o $(LIB)
31 $(CC) -o passtest passtest.o $(LIB) $(YAZLIB) -lcrypt
39 $(CC) -c $(DEFS) $(CFLAGS) $<
42 rm -f *.[oa] res-test core mon.out gmon.out errlist
45 sed '/^#Depend/q' <Makefile >Makefile.tmp
46 $(CPP) $(DEFS) -M *.c >>Makefile.tmp
47 mv -f Makefile.tmp Makefile
49 #Depend --- DOT NOT DELETE THIS LINE