Put local variables footer in all c, h files.
[idzebra-moved-to-github.git] / index / Makefile.am
index c900054..c5d7540 100644 (file)
@@ -1,15 +1,25 @@
-## $Id: Makefile.am,v 1.30 2005-04-01 10:15:13 adam Exp $
-
-noinst_PROGRAMS = apitest kdump
-
-lib_LTLIBRARIES = libidzebra-api.la
-
-libidzebra_api_la_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 \
- index.h recindex.h recindxp.h \
- zinfo.h zserver.h zvrank.c
+## $Id: Makefile.am,v 1.38 2006-05-03 09:31:25 marc Exp $
+
+noinst_PROGRAMS = apitest kdump zebrasrv2 zebraidx2
+
+lib_LTLIBRARIES = libidzebra-api.la libidzebra-all.la
+
+libidzebra_all_la_SOURCES = 
+libidzebra_api_la_SOURCES = \
+  api_swig.c attribute.c \
+  compact.c \
+  dir.c dirs.c \
+  extract.c \
+  index.h invstat.c \
+  kinput.c kcompare.c  kcontrol.c \
+  limit.c \
+  orddict.c orddict.h \
+  rank.h rank1.c ranksimilarity.c rankstatic.c \
+  recindex.c  recindex.h recindxp.h reckeys.c reckeys.h recstat.c retrieve.c \
+  sortidx.c symtab.c \
+  trav.c trunc.c \
+  zebraapi.c zinfo.c zinfo.h zserver.h zsets.c zrpn.c \
+  zvrank.c
 
 bin_PROGRAMS = zebraidx zebrasrv zebrash
 
@@ -26,6 +36,7 @@ zebralibs = \
  ../dfa/libidzebra-dfa.la \
  ../util/libidzebra-util.la
 
+
 zebraidx_SOURCES = main.c
 zebrasrv_SOURCES = zserver.c
 zebrash_SOURCES = zebrash.c
@@ -39,3 +50,12 @@ zebrash_LDADD= $(zebralibs) $(YAZLALIB) $(READLINE_LIBS)
 
 LDADD = $(zebralibs) $(YAZLALIB)
 
+## Try make zebraidx zebrasrv versions with a combined lib
+libidzebra_all_la_LIBADD = $(zebralibs) $(YAZLALIB)
+
+zebraidx2_SOURCES = main.c
+zebraidx2_LDADD= libidzebra-all.la $(YAZLALIB) 
+
+zebrasrv2_SOURCES = zserver.c
+zebrasrv2_LDADD= libidzebra-all.la $(YAZLALIB) 
+