Changeset 29080


Ignore:
Timestamp:
05/29/14 11:20:43 (7 years ago)
Author:
kjdon
Message:

added DEP_LIBS variable to dependency lines so that if we change something in lib, then the executables will be relinked.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/common-src/indexers/mgpp/text/Makefile.in

    r25171 r29080  
    6161INSTALL_PROGRAM = @INSTALL_PROGRAM@
    6262LDFLAGS = @LDFLAGS@
    63 LIBS = ../lib/libmgpplib.a $(AFLIBS) -lstdc++ ../../../packages/iconv/lib/libiconv.a @LIBS@
     63DEP_LIBS = ../lib/libmgpplib.a $(AFLIBS) ../../../packages/iconv/lib/libiconv.a
     64LIBS = $(DEP_LIBS) -lstdc++ @LIBS@
    6465TOUCH = echo timestamp >
    6566AWK = @AWK@
     
    177178        FText$o text$o FIvfLevelInfo$o
    178179
    179 mgpp_passes: $(PASSES_OBJS)
     180mgpp_passes: $(PASSES_OBJS) $(DEP_LIBS)
    180181    $(LINK) $(PASSES_OBJS) $(LIBS)
    181182
     
    187188               GSDLQueryParser$o GSDLQueryLex$o words$o
    188189
    189 Queryer: $(QUERYER_OBJS)
     190Queryer: $(QUERYER_OBJS) $(DEP_LIBS)
    190191    $(LINK) $(QUERYER_OBJS) $(LIBS)
    191192
     
    194195                    IndexData$o stemmer$o Weights$o
    195196
    196 QueryTester: $(QUERY_TESTER_OBJS)
     197QueryTester: $(QUERY_TESTER_OBJS) $(DEP_LIBS)
    197198    $(LINK) $(QUERY_TESTER_OBJS) $(LIBS)
    198199
     
    200201                     FIvfLevelInfo$o FragLevelConvert$o
    201202
    202 mgpp_weights_build: $(WEIGHTS_BUILD_OBJS)
     203mgpp_weights_build: $(WEIGHTS_BUILD_OBJS) $(DEP_LIBS)
    203204    $(LINK) $(WEIGHTS_BUILD_OBJS) $(LIBS)
    204205
    205206COMP_DICT_OBJS = mgpp_compression_dict$o mg_files$o locallib$o
    206207
    207 mgpp_compression_dict: $(COMP_DICT_OBJS)
     208mgpp_compression_dict: $(COMP_DICT_OBJS) $(DEP_LIBS)
    208209    $(LINK) $(COMP_DICT_OBJS) $(LIBS)
    209210
    210211FAST_COMP_OBJS = mgpp_fast_comp_dict$o mg_files$o locallib$o
    211212
    212 mgpp_fast_comp_dict: $(FAST_COMP_OBJS)
     213mgpp_fast_comp_dict: $(FAST_COMP_OBJS) $(DEP_LIBS)
    213214    $(LINK) $(FAST_COMP_OBJS) $(LIBS)
    214215
    215216INVF_DUMP_OBJS = mgpp_invf_dump$o locallib$o mg_files$o invf$o UCArray$o
    216217
    217 mgpp_invf_dump: $(INVF_DUMP_OBJS)
     218mgpp_invf_dump: $(INVF_DUMP_OBJS) $(DEP_LIBS)
    218219    $(LINK) $(INVF_DUMP_OBJS) $(LIBS)
    219220
    220221INVF_DICT_OBJS = mgpp_invf_dict$o mg_files$o invf$o UCArray$o
    221222
    222 mgpp_invf_dict: $(INVF_DICT_OBJS)
     223mgpp_invf_dict: $(INVF_DICT_OBJS) $(DEP_LIBS)
    223224    $(LINK) $(INVF_DICT_OBJS) $(LIBS)
    224225
    225226INVF_DICT_DUMP_OBJS = mgpp_invf_dict_dump$o mg_files$o invf$o UCArray$o
    226227
    227 mgpp_invf_dict_dump: $(INVF_DICT_DUMP_OBJS)
     228mgpp_invf_dict_dump: $(INVF_DICT_DUMP_OBJS) $(DEP_LIBS)
    228229    $(LINK) $(INVF_DICT_DUMP_OBJS) $(LIBS)
    229230
    230231PERF_HASH_OBJS = mgpp_perf_hash_build$o mg_files$o invf$o UCArray$o
    231232
    232 mgpp_perf_hash_build: $(PERF_HASH_OBJS)
     233mgpp_perf_hash_build: $(PERF_HASH_OBJS) $(DEP_LIBS)
    233234    $(LINK) $(PERF_HASH_OBJS) $(LIBS)
    234235
     
    236237                invf$o UCArray$o
    237238
    238 mgpp_stem_idx: $(STEM_IDX_OBJS)
     239mgpp_stem_idx: $(STEM_IDX_OBJS) $(DEP_LIBS)
    239240    $(LINK) $(STEM_IDX_OBJS) $(LIBS)
    240241
     
    243244                locallib$o text$o UCArray$o TextGet$o FText$o
    244245
    245 mgpp_decompress_text: $(DECOMPRESS_TEXT_OBJS)
     246mgpp_decompress_text: $(DECOMPRESS_TEXT_OBJS) $(DEP_LIBS)
    246247    $(LINK) $(DECOMPRESS_TEXT_OBJS) $(LIBS)
    247248
Note: See TracChangeset for help on using the changeset viewer.