projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New method result set method rs_hits that returns the number of
[idzebra-moved-to-github.git]
/
rset
/
Makefile
diff --git
a/rset/Makefile
b/rset/Makefile
index
d68c3db
..
00f6abd
100644
(file)
--- a/
rset/Makefile
+++ b/
rset/Makefile
@@
-1,27
+1,28
@@
-# Copyright (C) 1994, Index Data I/S
+# Copyright (C) 1994-1996, Index Data I/S
# All rights reserved.
# Sebastian Hammer, Adam Dickmeiss
# All rights reserved.
# Sebastian Hammer, Adam Dickmeiss
-# $Id: Makefile,v 1.3 1995-01-24 16:01:44 adam Exp $
+# $Id: Makefile,v 1.14 1996-12-20 11:07:20 adam Exp $
SHELL=/bin/sh
SHELL=/bin/sh
-INCLUDE=-I../include
-CFLAGS=-g -Wall -pedantic -ansi
+RANLIB=ranlib
+
+YAZLIB=../../yaz/lib/libyaz.a
+YAZINC=-I../../yaz/include
+
+INCLUDE=-I../include $(YAZINC)
DEFS=$(INCLUDE)
LIB=../lib/rset.a
PROG=
DEFS=$(INCLUDE)
LIB=../lib/rset.a
PROG=
-PO=rset.o rstemp.o rsisam.o
-CPP=cc -E
-
-all: $(PROG) $(LIB)
-
-$(PROG): $(PROG).o
- $(CC) -o $(PROG) $(INCLUDE) $(CFLAGS) $(PROG).o $(LIB)
+PO=rset.o rstemp.o rsisam.o rsnull.o rsbool.o rssbool.o \
+ rsrel.o rsisamc.o rsm_or.o
+CPP=$(CC) -E
+all: $(LIB)
$(LIB): $(PO)
rm -f $(LIB)
ar qc $(LIB) $(PO)
$(LIB): $(PO)
rm -f $(LIB)
ar qc $(LIB) $(PO)
- ranlib $(LIB)
+ $(RANLIB) $(LIB)
.c.o:
$(CC) -c $(DEFS) $(CFLAGS) $<
.c.o:
$(CC) -c $(DEFS) $(CFLAGS) $<
@@
-32,13
+33,12
@@
clean:
depend: depend2
depend1:
depend: depend2
depend1:
- mv Makefile Makefile.tmp
- sed '/^#Depend/q' <Makefile.tmp >Makefile
- $(CPP) $(INCLUDE) -M *.c >>Makefile
- -rm Makefile.tmp
+ sed '/^#Depend/q' <Makefile >Makefile.tmp
+ $(CPP) $(DEFS) -M *.c >>Makefile.tmp
+ mv -f Makefile.tmp Makefile
depend2:
depend2:
- $(CPP) $(INCLUDE) -M *.c >.depend
+ $(CPP) $(DEFS) -M *.c >.depend
ifeq (.depend,$(wildcard .depend))
include .depend
ifeq (.depend,$(wildcard .depend))
include .depend