1 # Copyright (C) 1994-1996, Index Data I/S
3 # Sebastian Hammer, Adam Dickmeiss
4 # $Id: Makefile,v 1.28 1998-06-22 11:36:51 adam Exp $
9 YAZLIB=../../yaz/lib/libyaz.a
10 YAZINC=-I../../yaz/include
12 INCLUDE=-I../include $(YAZINC)
14 DEFS=$(INCLUDE) -DUSE_CRYPT=0
17 PO = res.o charmap.o zebramap.o passwddb.o
21 alll: res-test all passtest
23 res-test: res-test.o $(LIB)
24 $(CC) -o res-test res-test.o $(LIB) $(YAZLIB)
26 passtest: passtest.o $(LIB)
27 $(CC) -o passtest passtest.o $(LIB) $(YAZLIB) -lcrypt
35 $(CC) -c $(DEFS) $(CFLAGS) $<
38 rm -f *.[oa] res-test core mon.out gmon.out errlist
43 sed '/^#Depend/q' <Makefile >Makefile.tmp
44 $(CPP) $(DEFS) -M *.c >>Makefile.tmp
45 mv -f Makefile.tmp Makefile
48 $(CPP) $(DEFS) -M *.c >.depend
50 ifeq (.depend,$(wildcard .depend))
54 #Depend --- DOT NOT DELETE THIS LINE