Added SWCSA
authornvalimak <nvalimak@3cdefd35-fc62-479d-8e8d-bae585ffb9ca>
Wed, 27 Oct 2010 13:33:46 +0000 (13:33 +0000)
committernvalimak <nvalimak@3cdefd35-fc62-479d-8e8d-bae585ffb9ca>
Wed, 27 Oct 2010 13:33:46 +0000 (13:33 +0000)
git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@923 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

makefile

index ada8264..2df1d8b 100644 (file)
--- a/makefile
+++ b/makefile
@@ -2,21 +2,20 @@ CFLAGS= -g -O0 -I./libcds/includes/ -I.
 FLAGS= -std=c++0x $(CFLAGS)\r
 \r
 LIBCDS_A=libcds/lib/libcds.a \r
-OBJECTS_TCO= TextCollection/TextCollection.o TextCollection/TextCollectionBuilder.o TextCollection/TCImplementation.o TextCollection/Tools.o TextCollection/BitRank.o TextCollection/TextStorage.o\r
+OBJECTS_TCO= TextCollection/TextCollection.o TextCollection/TextCollectionBuilder.o TextCollection/FMIndex.o TextCollection/FMIndexBuilder.o TextCollection/Tools.o TextCollection/TextStorage.o\r
 \r
 LIBRLCSA_TCA=TextCollection/incbwt/rlcsa.a\r
 LIBLZTRIE_TCA=TextCollection/lzindex/lztrie.a\r
-\r
+LIBSWCSA_TCA=TextCollection/swcsa/swcsa.a\r
 \r
 all: libcds text_collection XMLTree\r
 \r
 XMLTree: XMLTree.o XMLTreeBuilder.o bp.o darray.o bpcore.o\\r
- $(LIBCDS_A) $(OBJECTS_TCO) $(LIBRLCSA_TCA) $(LIBLZTRIE_TCA)\r
+ $(LIBCDS_A) $(OBJECTS_TCO) $(LIBRLCSA_TCA) $(LIBLZTRIE_TCA) $(LIBSWCSA_TCA)\r
        cp libcds/lib/libcds.a XMLTree.a\r
        rm -rf .objs\r
        mkdir .objs\r
-       cd .objs; ar x ../$(LIBRLCSA_TCA)\r
-       cd .objs; ar x ../$(LIBLZTRIE_TCA)\r
+       cd .objs; ar x ../$(LIBRLCSA_TCA); ar x ../$(LIBLZTRIE_TCA); ar x ../$(LIBSWCSA_TCA)\r
        ar rvcs XMLTree.a XMLTree.o XMLTreeBuilder.o  bp.o darray.o bpcore.o $(OBJECTS_TCO) .objs/*.o\r
        rm -rf .objs\r
 \r