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
remove atmp after use
[idzebra-moved-to-github.git]
/
index
/
Makefile.am
diff --git
a/index/Makefile.am
b/index/Makefile.am
index
31882b4
..
062b0b4
100644
(file)
--- a/
index/Makefile.am
+++ b/
index/Makefile.am
@@
-1,4
+1,4
@@
-## $Id: Makefile.am,v 1.8 2002-02-20 23:07:54 adam Exp $
+## $Id: Makefile.am,v 1.17 2002-11-26 22:18:17 adam Exp $
noinst_PROGRAMS = apitest kdump
noinst_PROGRAMS = apitest kdump
@@
-7,39
+7,31
@@
noinst_LIBRARIES = libzebra.a
libzebra_a_SOURCES = dir.c dirs.c trav.c kinput.c kcompare.c \
attribute.c symtab.c recindex.c recstat.c lockutil.c \
zebraapi.c zinfo.c invstat.c sortidx.c compact.c zsets.c zrpn.c \
libzebra_a_SOURCES = dir.c dirs.c trav.c kinput.c kcompare.c \
attribute.c symtab.c recindex.c recstat.c lockutil.c \
zebraapi.c zinfo.c invstat.c sortidx.c compact.c zsets.c zrpn.c \
- rank1.c trunc.c retrieve.c extract.c
-
-if ISZMBOL
-zmbol_libs = ../isam/libisam.a ../isamc/libisamc.a ../isamb/libisamb.a
-else
-zmbol_libs =
-endif
+ rank1.c trunc.c retrieve.c extract.c index.h recindex.h recindxp.h \
+ zebraapi.h zinfo.h zserver.h
libzebra_a_LIBADD = \
../rset/librset.a ../dict/libdict.a ../isams/libisams.a \
libzebra_a_LIBADD = \
../rset/librset.a ../dict/libdict.a ../isams/libisams.a \
- $(zmbol_libs) ../recctrl/librecctrl.a ../bfile/libbfile.a ../dfa/libdfa.a \
- ../util/libutil.a
+ ../isam/libisam.a ../isamc/libisamc.a ../isamb/libisamb.a \
+ ../recctrl/librecctrl.a ../data1/libdata1.a ../bfile/libbfile.a \
+ ../dfa/libdfa.a ../util/libutil.a
-if ISZMBOL
-bin_PROGRAMS = zmbolidx zmbolsrv
-else
bin_PROGRAMS = zebraidx zebrasrv
bin_PROGRAMS = zebraidx zebrasrv
-endif
-zmbolidx_SOURCES = main.c
-zmbolsrv_SOURCES = zserver.c
zebraidx_SOURCES = main.c
zebrasrv_SOURCES = zserver.c
apitest_SOURCES = apitest.c
kdump_SOURCES=kdump.c kcompare.c
zebraidx_SOURCES = main.c
zebrasrv_SOURCES = zserver.c
apitest_SOURCES = apitest.c
kdump_SOURCES=kdump.c kcompare.c
-CFLAGS = -I$(srcdir)/../include $(YAZINC) $(TCL_INCLUDE)
+AM_CPPFLAGS = -I$(srcdir)/../include $(YAZINC) $(TCL_INCLUDE) -DDEFAULT_PROFILE_PATH=\"$(pkgdatadir)/tab\"
LDADD = libzebra.a $(YAZLIB) $(TCL_LIB)
libzebra.a: $(libzebra_a_OBJECTS) $(libzebra_a_DEPENDENCIES)
LDADD = libzebra.a $(YAZLIB) $(TCL_LIB)
libzebra.a: $(libzebra_a_OBJECTS) $(libzebra_a_DEPENDENCIES)
- -test ! -d atmp && mkdir atmp
+ -mkdir atmp
-rm -f libzebra.a
-rm -f libzebra.a
- mkdir atmp; for i in $(libzebra_a_LIBADD); do cd atmp; ar x ../$$i; cd ..; done
- ar cru libzebra.a $(libzebra_a_OBJECTS) libzebra.a atmp/*.o
+ -rm -f atmp/*.o
+ for i in $(libzebra_a_LIBADD); do cd atmp; rm -f __*; ar x ../$$i; cd ..; done
+ ar cru libzebra.a $(libzebra_a_OBJECTS) atmp/*.o
+ -rm -fr atmp
$(RANLIB) libzebra.a
$(RANLIB) libzebra.a