X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=util%2FMakefile.in;fp=util%2FMakefile.in;h=87913a5eba6e60d953d116d95b5d165862f2cf25;hb=9fce226051f8b951b3c6f424fbdbd996ceb42007;hp=0000000000000000000000000000000000000000;hpb=0df6c383d656dba662eb9d9acafed01a0973fcff;p=idzebra-moved-to-github.git diff --git a/util/Makefile.in b/util/Makefile.in new file mode 100644 index 0000000..87913a5 --- /dev/null +++ b/util/Makefile.in @@ -0,0 +1,49 @@ +# Copyright (C) 1994-1998, Index Data ApS +# All rights reserved. +# Sebastian Hammer, Adam Dickmeiss +# $Id: Makefile.in,v 1.1 1998-09-02 14:15:37 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