Extra parameter decode added to search routines to implement
[idzebra-moved-to-github.git] / isam / Makefile
index a48d20a..9737347 100644 (file)
@@ -1,14 +1,15 @@
-# Copyright (C) 1994, Index Data I/S 
+# Copyright (C) 1994-1997, Index Data I/S 
 # All rights reserved.
 # Sebastian Hammer, Adam Dickmeiss
-# $Id: Makefile,v 1.14 1995-10-30 14:10:55 adam Exp $
+# $Id: Makefile,v 1.21 1997-09-17 12:19:20 adam Exp $
 
 SHELL=/bin/sh
 RANLIB=ranlib
-YAZ=../../yaz
-YAZLIB=$(YAZ)/lib/libyaz.a
-INCLUDE=-I../include -I$(YAZ)/include
-#CFLAGS=-g -Wall -pedantic -ansi
+
+YAZLIB=../../yaz/lib/libyaz.a
+YAZINC=-I../../yaz/include
+
+INCLUDE=-I../include $(YAZINC)
 DEFS=$(INCLUDE)
 LIB=../lib/isam.a
 PO = isam.o isutil.o rootblk.o memory.o physical.o
@@ -16,19 +17,19 @@ CPP=$(CC) -E
 
 all: $(LIB)
 
-alll: $(LIB) isam-test issh
+alll: $(LIB) # isam-test issh
 
 test: test.c $(LIB)
        $(CC) -g -o test -I../include test.c \
-       ../lib/isam.a ../lib/bfile.a ../lib/alexutil.a $(YAZLIB)
+       ../lib/isam.a ../lib/bfile.a ../lib/zebrautl.a $(YAZLIB)
 
 isam-test: isam-test.c $(LIB)
        $(CC) -g -o isam-test -I../include isam-test.c \
-       ../lib/isam.a ../lib/bfile.a ../lib/alexutil.a $(YAZLIB)
+       ../lib/isam.a ../lib/bfile.a ../lib/zebrautl.a $(YAZLIB)
 
 issh: issh.c $(LIB)
-       $(CC) -g -o issh -I../include issh.c \
-       ../lib/isam.a ../lib/bfile.a ../lib/alexutil.a $(YAZLIB)
+       $(CC) -g -o issh $(INCLUDE) issh.c \
+       ../lib/isam.a ../lib/bfile.a ../lib/zebrautl.a $(YAZLIB)
 
 #$(TPROG): $(TPROG).o $(LIB) 
 #      $(CC) -o $(TPROG) $(TPROG).o $(LIB)