-# 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.16 1995-11-20 17:00:18 adam Exp $
+# $Id: Makefile,v 1.21 1997-09-17 12:19:20 adam Exp $
SHELL=/bin/sh
RANLIB=ranlib
-YAZLIB=-lyaz
-YAZINC=
+YAZLIB=../../yaz/lib/libyaz.a
+YAZINC=-I../../yaz/include
INCLUDE=-I../include $(YAZINC)
-#CFLAGS=-g -Wall -pedantic -ansi
DEFS=$(INCLUDE)
LIB=../lib/isam.a
PO = isam.o isutil.o rootblk.o memory.o physical.o
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)