# Copyright (C) 1994-1998, Index Data ApS # All rights reserved. # Sebastian Hammer, Adam Dickmeiss # $Id: Makefile.in,v 1.5 2000-03-15 15:00:31 adam Exp $ SHELL=/bin/sh CC=@CC@ CPP=@CPP@ RANLIB=@RANLIB@ CDEFS=@DEFS@ @ODEFS@ LIBS=@LIBS@ YAZLIB=@YAZLIB@ YAZINC=@YAZINC@ 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 zebra-lock.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