-# Copyright (C) 1995-1996, Index Data I/S
+# Copyright (C) 1995-1998, Index Data I/S
# All rights reserved.
# Sebastian Hammer, Adam Dickmeiss
-# $Id: Makefile,v 1.36 1996-05-14 11:34:00 adam Exp $
+# $Id: Makefile,v 1.47 1998-01-30 15:31:49 adam Exp $
SHELL=/bin/sh
RANLIB=ranlib
YAZINC=-I../../yaz/include
#OSILIB=../../xtimosi/src/libmosi.a ../../yaz/lib/librfc.a
#OSILIB=../../xtimosi/src/libmosi.a -lrfc
-#NETLIB=-lnsl -lsocket
INCLUDE=-I../include $(YAZINC)
TPROG1=zebraidx
TPROG2=kdump
TPROG3=zebrasrv
+TPROG4=hlvltest
DEFS=$(INCLUDE)
O1 = main.o dir.o dirs.o trav.o extract.o kinput.o kcompare.o \
- symtab.o text.o recctrl.o structrec.o recindex.o regxread.o recstat.o \
- lockutil.o lockidx.o zinfo.o
+ symtab.o recindex.o recstat.o lockutil.o lockidx.o \
+ zinfo.o invstat.o
O2 = kdump.o
-O3 = zserver.o kcompare.o zrpn.o zsets.o text.o recctrl.o structrec.o \
- attribute.o recindex.o zlogs.o regxread.o lockutil.o locksrv.o zinfo.o
+O3 = zserver.o kcompare.o zrpn.o zsets.o attribute.o recindex.o \
+ zlogs.o lockutil.o locksrv.o zinfo.o trunc.o
+O4 = hlvl.o hlvltest.o kcompare.o
CPP=$(CC) -E
-all: $(TPROG1) $(TPROG2) $(TPROG3)
+all: $(TPROG1) $(TPROG3)
-$(TPROG1): $(O1) ../lib/dict.a ../lib/isam.a \
- ../lib/bfile.a ../lib/dfa.a ../lib/alexutil.a
+$(TPROG1): $(O1) ../lib/dict.a ../lib/isam.a ../lib/isamc.a ../lib/recctrl.a \
+ ../lib/bfile.a ../lib/dfa.a ../lib/zebrautl.a $(YAZLIB)
$(CC) $(CFLAGS) -o $(TPROG1) $(O1) \
- ../lib/dict.a ../lib/isam.a \
- ../lib/bfile.a ../lib/dfa.a ../lib/alexutil.a \
- $(YAZLIB)
+ ../lib/dict.a ../lib/isam.a ../lib/isamc.a ../lib/recctrl.a \
+ ../lib/bfile.a ../lib/dfa.a ../lib/zebrautl.a \
+ $(YAZLIB) $(ELIBS)
$(TPROG2): $(O2)
- $(CC) $(CFLAGS) -o $(TPROG2) $(O2) $(YAZLIB)
+ $(CC) $(CFLAGS) -o $(TPROG2) $(O2) ../lib/zebrautl.a \
+ $(YAZLIB) $(ELIBS)
$(TPROG3): $(O3) \
- ../lib/rset.a ../lib/dict.a ../lib/isam.a ../lib/bfile.a \
- ../lib/dfa.a ../lib/alexutil.a
+ ../lib/rset.a ../lib/dict.a ../lib/isam.a ../lib/recctrl.a \
+ ../lib/isamc.a ../lib/bfile.a ../lib/dfa.a ../lib/zebrautl.a \
+ $(YAZLIB)
$(CC) $(CFLAGS) -o $(TPROG3) $(O3) \
- ../lib/rset.a ../lib/dict.a ../lib/isam.a ../lib/bfile.a \
- ../lib/dfa.a ../lib/alexutil.a \
- $(YAZLIB) $(OSILIB) $(NETLIB) -lm
+ ../lib/rset.a ../lib/dict.a ../lib/isam.a ../lib/recctrl.a \
+ ../lib/isamc.a ../lib/bfile.a ../lib/dfa.a ../lib/zebrautl.a \
+ $(YAZLIB) $(OSILIB) $(ELIBS) -lm
+
+$(TPROG4): $(O4) \
+ ../lib/rset.a ../lib/dict.a ../lib/isam.a ../lib/recctrl.a \
+ ../lib/isamc.a ../lib/bfile.a ../lib/dfa.a ../lib/zebrautl.a \
+ $(YAZLIB)
+ $(CC) $(CFLAGS) -o $(TPROG4) $(O4) \
+ ../lib/rset.a ../lib/dict.a ../lib/isam.a ../lib/recctrl.a \
+ ../lib/isamc.a ../lib/bfile.a ../lib/dfa.a ../lib/zebrautl.a \
+ $(YAZLIB) $(OSILIB) $(ELIBS) -lm
.c.o:
$(CC) -c $(DEFS) $(CFLAGS) $<