X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=util%2FMakefile;h=a6748971219d2d6a3da2ff88325818fb243ddd9c;hb=4247c4670f5bc5ad61e458734a590d57be5a9f34;hp=15c7e35cc8ed7d473f85cba695db140866528816;hpb=b879b04a092d5b00cc866cf16f755e55053d2e89;p=idzebra-moved-to-github.git diff --git a/util/Makefile b/util/Makefile index 15c7e35..a674897 100644 --- a/util/Makefile +++ b/util/Makefile @@ -1,27 +1,31 @@ -# Copyright (C) 1994, Index Data I/S +# Copyright (C) 1994-1996, Index Data I/S # All rights reserved. # Sebastian Hammer, Adam Dickmeiss -# $Id: Makefile,v 1.17 1995-09-04 12:34:05 adam Exp $ +# $Id: Makefile,v 1.28 1998-06-22 11:36:51 adam Exp $ SHELL=/bin/sh RANLIB=ranlib -YAZ=../../yaz -YAZLIB=$(YAZ)/lib/libyaz.a -INCLUDE=-I../include -I$(YAZ)/include + +YAZLIB=../../yaz/lib/libyaz.a +YAZINC=-I../../yaz/include + +INCLUDE=-I../include $(YAZINC) TPROG=opt-test -#CFLAGS=-g -Wall -pedantic -ansi -DEFS=$(INCLUDE) -CPP=cc -E -LIB=../lib/alexutil.a -PO = xmalloc.o res.o alexpath.o common.o +DEFS=$(INCLUDE) -DUSE_CRYPT=0 +CPP=$(CC) -E +LIB=../lib/zebrautl.a +PO = res.o charmap.o zebramap.o passwddb.o all: $(LIB) -alll: res-test all +alll: res-test all passtest -res-test: res-test.o $(LIB) $(YAZLIB) +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)