# Copyright (C) 1994-1998, Index Data ApS # All rights reserved. # Sebastian Hammer, Adam Dickmeiss # $Id: Makefile.in,v 1.3 1999-06-09 11:58:48 adam Exp $ SHELL=/bin/sh CC=@CC@ CPP=@CPP@ RANLIB=@RANLIB@ CDEFS=@DEFS@ @ODEFS@ LIBS=@LIBS@ YAZLIB=../../yaz/lib/libyaz.a YAZINC=-I../../yaz/include INCLUDE=-I../include $(YAZINC) TPROG=opt-test DEFS=$(CDEFS) $(INCLUDE) -DUSE_CRYPT=0 LIB=../lib/zebrautl.a PO = res.o charmap.o zebramap.o passwddb.o all: $(LIB) alll: res-test all passtest res-test: res-test.o $(LIB) $(CC) -o res-test res-test.o $(LIB) $(YAZLIB) passtest: passtest.o $(LIB) $(CC) -o passtest passtest.o $(LIB) $(YAZLIB) -lcrypt $(LIB): $(PO) rm -f $(LIB) ar qc $(LIB) $(PO) $(RANLIB) $(LIB) .c.o: $(CC) -c $(DEFS) $(CFLAGS) $< clean: rm -f *.[oa] res-test core mon.out gmon.out errlist depend: sed '/^#Depend/q' Makefile.tmp $(CPP) $(DEFS) -M *.c >>Makefile.tmp mv -f Makefile.tmp Makefile #Depend --- DOT NOT DELETE THIS LINE