Changeset 3929
- Timestamp:
- 2003-03-19T15:45:11+12:00 (21 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/indexers/mgpp/lib/WIN32.MAK
r3365 r3929 1 1 ########################################################################### 2 2 # 3 # win32 makefile -- mgpp\ text3 # win32 makefile -- mgpp\lib 4 4 # A component of the Greenstone digital library software 5 5 # from the New Zealand Digital Library Project at the 6 6 # University of Waikato, New Zealand. 7 7 # 8 # Copyright (C) 2000The New Zealand Digital Library Project8 # Copyright (C) 1999 The New Zealand Digital Library Project 9 9 # 10 10 # … … 25 25 ########################################################################### 26 26 27 GSDLHOME = ..\..\.. 28 USE_STLPORT = 0 27 MGPPHOME = .. 29 28 30 STLPATH = "$(GSDLHOME)\packages\windows\stlport\stlport" 29 AR = lib 30 CC = cl 31 CPPFLAGS = 31 32 32 CC = cl 33 CPPFLAGS = 34 DEFS = -DSHORT_SUFFIX -DSILENT -DHAVE_CONFIG_H -D__WIN32__ 35 INCLUDES = -I"$(GSDLHOME)" 36 !IF $(USE_STLPORT) 37 DEFS = $(DEFS) -DGSDL_NAMESPACE_BROKEN -DGSDL_USE_IOS_H -D__STL_NO_NEW_IOSTREAMS 38 INCLUDES = $(INCLUDES) -I$(STLPATH) 39 !ENDIF 33 DEFS = -DQUIET -DHAVE_CONFIG_H -D__WIN32__ -DSHORT_SUFFIX 34 INCLUDES = -I"." -I"$(MGPPHOME)" 40 35 41 LDFLAGS = 42 43 LIBS = 44 45 COMPILE = $(CC) -c $(DEFS) $(INCLUDES) 46 LINK = $(CC) $(LDFLAGS) 36 COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) 47 37 48 38 .SUFFIXES: 49 .SUFFIXES: .c . obj .cpp39 .SUFFIXES: .c .cpp .obj 50 40 .c.obj: 51 41 $(COMPILE) $< … … 53 43 $(COMPILE) $< 54 44 45 ANSI2KNR = 55 46 o = .obj 56 47 … … 61 52 bitio_m.h huffman.h \ 62 53 bitio_m_mem.h perf_hash.h \ 63 bitio_m_mems.h getopt_old.h\54 bitio_m_mems.h \ 64 55 pathmax.h getpagesize.h sysfuncs.h bitio_m_abstract.h \ 65 56 random.h simplefrenchstem.h unitool.h longlong.h \ 66 non_ansi.h 57 non_ansi.h getopt_old.h win32in.h 58 67 59 68 60 SOURCES = \ … … 75 67 ftruncate.cpp strcasecmp.cpp random.cpp \ 76 68 simplefrenchstem.cpp unitool.cpp bitio_m_random.cpp \ 77 bitio_m_abstract.cpp getopt_old.c 69 bitio_m_abstract.cpp getopt_old.c win32in.c 70 # memlib.cpp removed 71 78 72 79 73 OBJECTS = mgheap$o \ … … 84 78 xmalloc$o bitio_m_random$o bitio_m_abstract$o \ 85 79 random$o simplefrenchstem$o \ 86 unitool$o win32in$o getopt_old$o80 unitool$o getopt_old$o win32in$o 87 81 88 all : libmg.lib 82 83 DISTFILES = Makefile.in $(HEADERS) $(SOURCES) 84 85 all : libmgpp.lib 89 86 90 libmg .lib: $(OBJECTS)91 if EXIST libmg .lib del libmg.lib92 lib /out:libmg.lib $(OBJECTS)87 libmgpp.lib : $(OBJECTS) 88 if EXIST libmgpp.lib del libmgpp.lib 89 $(AR) /out:libmgpp.lib $(OBJECTS) 93 90 91 $(OBJECTS): "$(MGPPHOME)\win32cfg.h" 92 93 install: 94 94 clean: 95 95 del *$o 96 del libmg.lib 97 98 install: 96 del libmgpp.lib -
trunk/indexers/mgpp/text/WIN32.MAK
r3365 r3929 1 1 ########################################################################### 2 2 # 3 # win32 makefile -- mgpp\ text3 # win32 makefile -- mgpp\lib 4 4 # A component of the Greenstone digital library software 5 5 # from the New Zealand Digital Library Project at the 6 6 # University of Waikato, New Zealand. 7 7 # 8 # Copyright (C) 2000The New Zealand Digital Library Project8 # Copyright (C) 1999 The New Zealand Digital Library Project 9 9 # 10 10 # … … 25 25 ########################################################################### 26 26 27 GSDLHOME = ..\..\.. 28 USE_STLPORT = 0 27 MGPPHOME = .. 29 28 30 STLPATH = "$(GSDLHOME)\packages\windows\stlport\stlport" 31 29 AR = lib 32 30 CC = cl 33 31 CPPFLAGS = -GX 34 DEFS = -DSHORT_SUFFIX -DSILENT -DHAVE_CONFIG_H -D__WIN32__ -D__STDC__ -D__GNU_LIBRARY__ -D__MSDOS__ 35 INCLUDES = -I"$(GSDLHOME)\src\mgpp\lib" -I"$(GSDLHOME)" 36 !IF $(USE_STLPORT) 37 DEFS = $(DEFS) -DGSDL_NAMESPACE_BROKEN -DGSDL_USE_IOS_H -D__STL_NO_NEW_IOSTREAMS 38 INCLUDES = $(INCLUDES) -I$(STLPATH) 39 !ENDIF 32 LINK = cl 40 33 41 LDFLAGS = 34 DEFS = -DQUIET -DHAVE_CONFIG_H -D__WIN32__ -DSHORT_SUFFIX -D__STDC__ -D__GNU_LIBRARY__ -D__MSDOS__ 35 INCLUDES = -I"." -I"$(MGPPHOME)" -I"$(MGPPHOME)\lib" 36 LIBS = $(MGPPHOME)\lib\libmgpp.lib 42 37 43 LIBS = "$(GSDLHOME)\src\mgpp\lib\libmg.lib" 44 45 COMPILE = $(CC) -c $(CPPFLAGS) $(DEFS) $(INCLUDES) 46 LINK = $(CC) $(LDFLAGS) 38 COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) 47 39 48 40 .SUFFIXES: 49 .SUFFIXES: .c . obj .cpp41 .SUFFIXES: .c .cpp .obj 50 42 .c.obj: 51 43 $(COMPILE) $< … … 53 45 $(COMPILE) $< 54 46 47 ANSI2KNR = 55 48 o = .obj 56 e = .exe 49 50 HEADERS = \ 51 FIvfLevelInfo.h TextEl.h hash.h stemmer.h \ 52 FText.h TextGet.h invf.h text.h \ 53 FileBuf.h UCArray.h locallib.h words.h \ 54 FragLevelConvert.h WordData.h mg.h \ 55 IndexData.h build.h mg_errors.h \ 56 TagInfo.h comp_dict.h mg_files.h Weights.h \ 57 MGQuery.h Terms.h QueryLex.h QueryParser.h \ 58 GSDLQueryLex.h GSDLQueryParser.h 59 57 60 58 61 SOURCES = \ … … 73 76 74 77 75 HEADERS = \ 76 FIvfLevelInfo.h TextEl.h hash.h stemmer.h \ 77 FText.h TextGet.h invf.h text.h \ 78 FileBuf.h UCArray.h locallib.h words.h \ 79 FragLevelConvert.h WordData.h mg.h \ 80 IndexData.h build.h mg_errors.h \ 81 TagInfo.h comp_dict.h mg_files.h Weights.h \ 82 MGQuery.h Terms.h QueryLex.h QueryParser.h \ 83 GSDLQueryLex.h GSDLQueryParser.h 78 EXEC = mgpp_passes mgpp_decompress_text mgpp_perf_hash_build \ 79 mgpp_invf_dump mgpp_weights_build mgpp_invf_dict mgpp_stem_idx \ 80 mgpp_invf_dict_dump mgpp_compression_dict mgpp_fast_comp_dict \ 81 QueryTester Queryer 84 82 85 EXEC = mgpp_passes$e mgpp_decompress_text$e mgpp_perf_hash_build$e \ 86 mgpp_invf_dump$e mgpp_weights_build$e mgpp_invf_dict$e mgpp_stem_idx$e \ 87 mgpp_invf_dict_dump$e mgpp_compression_dict$e mgpp_fast_comp_dict$e \ 88 QueryTester$e Queryer$e 83 DISTFILES = Makefile.in $(HEADERS) $(SOURCES) 84 85 all : $(EXEC) libtextin.lib 89 86 90 all: $(EXEC) libtextin.lib91 87 92 88 PASSES_OBJS = \ … … 97 93 FText$o text$o FIvfLevelInfo$o 98 94 99 mgpp_passes $e: $(PASSES_OBJS)95 mgpp_passes: $(PASSES_OBJS) 100 96 $(LINK) $(PASSES_OBJS) $(LIBS) 101 102 97 103 98 QUERYER_OBJS = Queryer$o mg_files$o mg_errors$o locallib$o invf$o UCArray$o \ … … 106 101 GSDLQueryParser$o GSDLQueryLex$o words$o 107 102 108 Queryer $e: $(QUERYER_OBJS)103 Queryer: $(QUERYER_OBJS) 109 104 $(LINK) $(QUERYER_OBJS) $(LIBS) 110 105 … … 113 108 IndexData$o stemmer$o Weights$o 114 109 115 QueryTester $e: $(QUERY_TESTER_OBJS)110 QueryTester: $(QUERY_TESTER_OBJS) 116 111 $(LINK) $(QUERY_TESTER_OBJS) $(LIBS) 117 112 … … 119 114 FIvfLevelInfo$o FragLevelConvert$o 120 115 121 mgpp_weights_build $e: $(WEIGHTS_BUILD_OBJS)116 mgpp_weights_build: $(WEIGHTS_BUILD_OBJS) 122 117 $(LINK) $(WEIGHTS_BUILD_OBJS) $(LIBS) 123 118 124 119 COMP_DICT_OBJS = mgpp_compression_dict$o mg_files$o locallib$o 125 120 126 mgpp_compression_dict $e: $(COMP_DICT_OBJS)121 mgpp_compression_dict: $(COMP_DICT_OBJS) 127 122 $(LINK) $(COMP_DICT_OBJS) $(LIBS) 128 123 129 124 FAST_COMP_OBJS = mgpp_fast_comp_dict$o mg_files$o locallib$o 130 125 131 mgpp_fast_comp_dict $e: $(FAST_COMP_OBJS)126 mgpp_fast_comp_dict: $(FAST_COMP_OBJS) 132 127 $(LINK) $(FAST_COMP_OBJS) $(LIBS) 133 128 134 129 INVF_DUMP_OBJS = mgpp_invf_dump$o locallib$o mg_files$o invf$o UCArray$o 135 130 136 mgpp_invf_dump $e: $(INVF_DUMP_OBJS)131 mgpp_invf_dump: $(INVF_DUMP_OBJS) 137 132 $(LINK) $(INVF_DUMP_OBJS) $(LIBS) 138 133 139 134 INVF_DICT_OBJS = mgpp_invf_dict$o mg_files$o invf$o UCArray$o 140 135 141 mgpp_invf_dict $e: $(INVF_DICT_OBJS)136 mgpp_invf_dict: $(INVF_DICT_OBJS) 142 137 $(LINK) $(INVF_DICT_OBJS) $(LIBS) 143 138 144 139 INVF_DICT_DUMP_OBJS = mgpp_invf_dict_dump$o mg_files$o invf$o UCArray$o 145 140 146 mgpp_invf_dict_dump $e: $(INVF_DICT_DUMP_OBJS)141 mgpp_invf_dict_dump: $(INVF_DICT_DUMP_OBJS) 147 142 $(LINK) $(INVF_DICT_DUMP_OBJS) $(LIBS) 148 143 149 144 PERF_HASH_OBJS = mgpp_perf_hash_build$o mg_files$o invf$o UCArray$o 150 145 151 mgpp_perf_hash_build $e: $(PERF_HASH_OBJS)146 mgpp_perf_hash_build: $(PERF_HASH_OBJS) 152 147 $(LINK) $(PERF_HASH_OBJS) $(LIBS) 153 148 … … 155 150 invf$o UCArray$o 156 151 157 mgpp_stem_idx $e: $(STEM_IDX_OBJS)152 mgpp_stem_idx: $(STEM_IDX_OBJS) 158 153 $(LINK) $(STEM_IDX_OBJS) $(LIBS) 159 154 … … 162 157 locallib$o text$o UCArray$o TextGet$o FText$o 163 158 164 mgpp_decompress_text $e: $(DECOMPRESS_TEXT_OBJS)159 mgpp_decompress_text: $(DECOMPRESS_TEXT_OBJS) 165 160 $(LINK) $(DECOMPRESS_TEXT_OBJS) $(LIBS) 166 161 167 162 168 PASS_OBJS = \ 169 words$o mgpass$o text.pass1$o comp_dict$o stemmer$o \ 170 text.pass2$o locallib$o \ 171 ivf.pass1$o ivf.pass2$o mg.special$o mg_files$o 172 mgpass$e: $(PASS_OBJS) 173 $(LINK) $(PASS_OBJS) $(LIBS) 174 175 install: 176 if NOT EXIST "$(GSDLHOME)\bin\windows" mkdir "$(GSDLHOME)\bin\windows" 177 for %%i in ($(EXEC)) do \ 178 copy %%i "$(GSDLHOME)\bin\windows" 179 163 #mg_errors$o removed from LIB_OBJS to avoid conflict with mg's libtextin.a 180 164 LIB_OBJS = mg_files$o mg_errors$o locallib$o invf$o UCArray$o \ 181 165 FIvfLevelInfo$o FragLevelConvert$o Terms$o MGQuery$o \ … … 184 168 185 169 libtextin.lib: $(LIB_OBJS) 186 if EXISTlibtextin.lib del libtextin.lib187 lib/out:libtextin.lib $(LIB_OBJS)170 if exist libtextin.lib del libtextin.lib 171 $(AR) /out:libtextin.lib $(LIB_OBJS) 188 172 173 install: 189 174 clean: 190 175 del *$o 191 del $(EXEC) 192 del libtextin.lib 176 del libtextin.lib -
trunk/mgpp/lib/WIN32.MAK
r3365 r3929 1 1 ########################################################################### 2 2 # 3 # win32 makefile -- mgpp\ text3 # win32 makefile -- mgpp\lib 4 4 # A component of the Greenstone digital library software 5 5 # from the New Zealand Digital Library Project at the 6 6 # University of Waikato, New Zealand. 7 7 # 8 # Copyright (C) 2000The New Zealand Digital Library Project8 # Copyright (C) 1999 The New Zealand Digital Library Project 9 9 # 10 10 # … … 25 25 ########################################################################### 26 26 27 GSDLHOME = ..\..\.. 28 USE_STLPORT = 0 27 MGPPHOME = .. 29 28 30 STLPATH = "$(GSDLHOME)\packages\windows\stlport\stlport" 29 AR = lib 30 CC = cl 31 CPPFLAGS = 31 32 32 CC = cl 33 CPPFLAGS = 34 DEFS = -DSHORT_SUFFIX -DSILENT -DHAVE_CONFIG_H -D__WIN32__ 35 INCLUDES = -I"$(GSDLHOME)" 36 !IF $(USE_STLPORT) 37 DEFS = $(DEFS) -DGSDL_NAMESPACE_BROKEN -DGSDL_USE_IOS_H -D__STL_NO_NEW_IOSTREAMS 38 INCLUDES = $(INCLUDES) -I$(STLPATH) 39 !ENDIF 33 DEFS = -DQUIET -DHAVE_CONFIG_H -D__WIN32__ -DSHORT_SUFFIX 34 INCLUDES = -I"." -I"$(MGPPHOME)" 40 35 41 LDFLAGS = 42 43 LIBS = 44 45 COMPILE = $(CC) -c $(DEFS) $(INCLUDES) 46 LINK = $(CC) $(LDFLAGS) 36 COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) 47 37 48 38 .SUFFIXES: 49 .SUFFIXES: .c . obj .cpp39 .SUFFIXES: .c .cpp .obj 50 40 .c.obj: 51 41 $(COMPILE) $< … … 53 43 $(COMPILE) $< 54 44 45 ANSI2KNR = 55 46 o = .obj 56 47 … … 61 52 bitio_m.h huffman.h \ 62 53 bitio_m_mem.h perf_hash.h \ 63 bitio_m_mems.h getopt_old.h\54 bitio_m_mems.h \ 64 55 pathmax.h getpagesize.h sysfuncs.h bitio_m_abstract.h \ 65 56 random.h simplefrenchstem.h unitool.h longlong.h \ 66 non_ansi.h 57 non_ansi.h getopt_old.h win32in.h 58 67 59 68 60 SOURCES = \ … … 75 67 ftruncate.cpp strcasecmp.cpp random.cpp \ 76 68 simplefrenchstem.cpp unitool.cpp bitio_m_random.cpp \ 77 bitio_m_abstract.cpp getopt_old.c 69 bitio_m_abstract.cpp getopt_old.c win32in.c 70 # memlib.cpp removed 71 78 72 79 73 OBJECTS = mgheap$o \ … … 84 78 xmalloc$o bitio_m_random$o bitio_m_abstract$o \ 85 79 random$o simplefrenchstem$o \ 86 unitool$o win32in$o getopt_old$o80 unitool$o getopt_old$o win32in$o 87 81 88 all : libmg.lib 82 83 DISTFILES = Makefile.in $(HEADERS) $(SOURCES) 84 85 all : libmgpp.lib 89 86 90 libmg .lib: $(OBJECTS)91 if EXIST libmg .lib del libmg.lib92 lib /out:libmg.lib $(OBJECTS)87 libmgpp.lib : $(OBJECTS) 88 if EXIST libmgpp.lib del libmgpp.lib 89 $(AR) /out:libmgpp.lib $(OBJECTS) 93 90 91 $(OBJECTS): "$(MGPPHOME)\win32cfg.h" 92 93 install: 94 94 clean: 95 95 del *$o 96 del libmg.lib 97 98 install: 96 del libmgpp.lib -
trunk/mgpp/text/WIN32.MAK
r3365 r3929 1 1 ########################################################################### 2 2 # 3 # win32 makefile -- mgpp\ text3 # win32 makefile -- mgpp\lib 4 4 # A component of the Greenstone digital library software 5 5 # from the New Zealand Digital Library Project at the 6 6 # University of Waikato, New Zealand. 7 7 # 8 # Copyright (C) 2000The New Zealand Digital Library Project8 # Copyright (C) 1999 The New Zealand Digital Library Project 9 9 # 10 10 # … … 25 25 ########################################################################### 26 26 27 GSDLHOME = ..\..\.. 28 USE_STLPORT = 0 27 MGPPHOME = .. 29 28 30 STLPATH = "$(GSDLHOME)\packages\windows\stlport\stlport" 31 29 AR = lib 32 30 CC = cl 33 31 CPPFLAGS = -GX 34 DEFS = -DSHORT_SUFFIX -DSILENT -DHAVE_CONFIG_H -D__WIN32__ -D__STDC__ -D__GNU_LIBRARY__ -D__MSDOS__ 35 INCLUDES = -I"$(GSDLHOME)\src\mgpp\lib" -I"$(GSDLHOME)" 36 !IF $(USE_STLPORT) 37 DEFS = $(DEFS) -DGSDL_NAMESPACE_BROKEN -DGSDL_USE_IOS_H -D__STL_NO_NEW_IOSTREAMS 38 INCLUDES = $(INCLUDES) -I$(STLPATH) 39 !ENDIF 32 LINK = cl 40 33 41 LDFLAGS = 34 DEFS = -DQUIET -DHAVE_CONFIG_H -D__WIN32__ -DSHORT_SUFFIX -D__STDC__ -D__GNU_LIBRARY__ -D__MSDOS__ 35 INCLUDES = -I"." -I"$(MGPPHOME)" -I"$(MGPPHOME)\lib" 36 LIBS = $(MGPPHOME)\lib\libmgpp.lib 42 37 43 LIBS = "$(GSDLHOME)\src\mgpp\lib\libmg.lib" 44 45 COMPILE = $(CC) -c $(CPPFLAGS) $(DEFS) $(INCLUDES) 46 LINK = $(CC) $(LDFLAGS) 38 COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) 47 39 48 40 .SUFFIXES: 49 .SUFFIXES: .c . obj .cpp41 .SUFFIXES: .c .cpp .obj 50 42 .c.obj: 51 43 $(COMPILE) $< … … 53 45 $(COMPILE) $< 54 46 47 ANSI2KNR = 55 48 o = .obj 56 e = .exe 49 50 HEADERS = \ 51 FIvfLevelInfo.h TextEl.h hash.h stemmer.h \ 52 FText.h TextGet.h invf.h text.h \ 53 FileBuf.h UCArray.h locallib.h words.h \ 54 FragLevelConvert.h WordData.h mg.h \ 55 IndexData.h build.h mg_errors.h \ 56 TagInfo.h comp_dict.h mg_files.h Weights.h \ 57 MGQuery.h Terms.h QueryLex.h QueryParser.h \ 58 GSDLQueryLex.h GSDLQueryParser.h 59 57 60 58 61 SOURCES = \ … … 73 76 74 77 75 HEADERS = \ 76 FIvfLevelInfo.h TextEl.h hash.h stemmer.h \ 77 FText.h TextGet.h invf.h text.h \ 78 FileBuf.h UCArray.h locallib.h words.h \ 79 FragLevelConvert.h WordData.h mg.h \ 80 IndexData.h build.h mg_errors.h \ 81 TagInfo.h comp_dict.h mg_files.h Weights.h \ 82 MGQuery.h Terms.h QueryLex.h QueryParser.h \ 83 GSDLQueryLex.h GSDLQueryParser.h 78 EXEC = mgpp_passes mgpp_decompress_text mgpp_perf_hash_build \ 79 mgpp_invf_dump mgpp_weights_build mgpp_invf_dict mgpp_stem_idx \ 80 mgpp_invf_dict_dump mgpp_compression_dict mgpp_fast_comp_dict \ 81 QueryTester Queryer 84 82 85 EXEC = mgpp_passes$e mgpp_decompress_text$e mgpp_perf_hash_build$e \ 86 mgpp_invf_dump$e mgpp_weights_build$e mgpp_invf_dict$e mgpp_stem_idx$e \ 87 mgpp_invf_dict_dump$e mgpp_compression_dict$e mgpp_fast_comp_dict$e \ 88 QueryTester$e Queryer$e 83 DISTFILES = Makefile.in $(HEADERS) $(SOURCES) 84 85 all : $(EXEC) libtextin.lib 89 86 90 all: $(EXEC) libtextin.lib91 87 92 88 PASSES_OBJS = \ … … 97 93 FText$o text$o FIvfLevelInfo$o 98 94 99 mgpp_passes $e: $(PASSES_OBJS)95 mgpp_passes: $(PASSES_OBJS) 100 96 $(LINK) $(PASSES_OBJS) $(LIBS) 101 102 97 103 98 QUERYER_OBJS = Queryer$o mg_files$o mg_errors$o locallib$o invf$o UCArray$o \ … … 106 101 GSDLQueryParser$o GSDLQueryLex$o words$o 107 102 108 Queryer $e: $(QUERYER_OBJS)103 Queryer: $(QUERYER_OBJS) 109 104 $(LINK) $(QUERYER_OBJS) $(LIBS) 110 105 … … 113 108 IndexData$o stemmer$o Weights$o 114 109 115 QueryTester $e: $(QUERY_TESTER_OBJS)110 QueryTester: $(QUERY_TESTER_OBJS) 116 111 $(LINK) $(QUERY_TESTER_OBJS) $(LIBS) 117 112 … … 119 114 FIvfLevelInfo$o FragLevelConvert$o 120 115 121 mgpp_weights_build $e: $(WEIGHTS_BUILD_OBJS)116 mgpp_weights_build: $(WEIGHTS_BUILD_OBJS) 122 117 $(LINK) $(WEIGHTS_BUILD_OBJS) $(LIBS) 123 118 124 119 COMP_DICT_OBJS = mgpp_compression_dict$o mg_files$o locallib$o 125 120 126 mgpp_compression_dict $e: $(COMP_DICT_OBJS)121 mgpp_compression_dict: $(COMP_DICT_OBJS) 127 122 $(LINK) $(COMP_DICT_OBJS) $(LIBS) 128 123 129 124 FAST_COMP_OBJS = mgpp_fast_comp_dict$o mg_files$o locallib$o 130 125 131 mgpp_fast_comp_dict $e: $(FAST_COMP_OBJS)126 mgpp_fast_comp_dict: $(FAST_COMP_OBJS) 132 127 $(LINK) $(FAST_COMP_OBJS) $(LIBS) 133 128 134 129 INVF_DUMP_OBJS = mgpp_invf_dump$o locallib$o mg_files$o invf$o UCArray$o 135 130 136 mgpp_invf_dump $e: $(INVF_DUMP_OBJS)131 mgpp_invf_dump: $(INVF_DUMP_OBJS) 137 132 $(LINK) $(INVF_DUMP_OBJS) $(LIBS) 138 133 139 134 INVF_DICT_OBJS = mgpp_invf_dict$o mg_files$o invf$o UCArray$o 140 135 141 mgpp_invf_dict $e: $(INVF_DICT_OBJS)136 mgpp_invf_dict: $(INVF_DICT_OBJS) 142 137 $(LINK) $(INVF_DICT_OBJS) $(LIBS) 143 138 144 139 INVF_DICT_DUMP_OBJS = mgpp_invf_dict_dump$o mg_files$o invf$o UCArray$o 145 140 146 mgpp_invf_dict_dump $e: $(INVF_DICT_DUMP_OBJS)141 mgpp_invf_dict_dump: $(INVF_DICT_DUMP_OBJS) 147 142 $(LINK) $(INVF_DICT_DUMP_OBJS) $(LIBS) 148 143 149 144 PERF_HASH_OBJS = mgpp_perf_hash_build$o mg_files$o invf$o UCArray$o 150 145 151 mgpp_perf_hash_build $e: $(PERF_HASH_OBJS)146 mgpp_perf_hash_build: $(PERF_HASH_OBJS) 152 147 $(LINK) $(PERF_HASH_OBJS) $(LIBS) 153 148 … … 155 150 invf$o UCArray$o 156 151 157 mgpp_stem_idx $e: $(STEM_IDX_OBJS)152 mgpp_stem_idx: $(STEM_IDX_OBJS) 158 153 $(LINK) $(STEM_IDX_OBJS) $(LIBS) 159 154 … … 162 157 locallib$o text$o UCArray$o TextGet$o FText$o 163 158 164 mgpp_decompress_text $e: $(DECOMPRESS_TEXT_OBJS)159 mgpp_decompress_text: $(DECOMPRESS_TEXT_OBJS) 165 160 $(LINK) $(DECOMPRESS_TEXT_OBJS) $(LIBS) 166 161 167 162 168 PASS_OBJS = \ 169 words$o mgpass$o text.pass1$o comp_dict$o stemmer$o \ 170 text.pass2$o locallib$o \ 171 ivf.pass1$o ivf.pass2$o mg.special$o mg_files$o 172 mgpass$e: $(PASS_OBJS) 173 $(LINK) $(PASS_OBJS) $(LIBS) 174 175 install: 176 if NOT EXIST "$(GSDLHOME)\bin\windows" mkdir "$(GSDLHOME)\bin\windows" 177 for %%i in ($(EXEC)) do \ 178 copy %%i "$(GSDLHOME)\bin\windows" 179 163 #mg_errors$o removed from LIB_OBJS to avoid conflict with mg's libtextin.a 180 164 LIB_OBJS = mg_files$o mg_errors$o locallib$o invf$o UCArray$o \ 181 165 FIvfLevelInfo$o FragLevelConvert$o Terms$o MGQuery$o \ … … 184 168 185 169 libtextin.lib: $(LIB_OBJS) 186 if EXISTlibtextin.lib del libtextin.lib187 lib/out:libtextin.lib $(LIB_OBJS)170 if exist libtextin.lib del libtextin.lib 171 $(AR) /out:libtextin.lib $(LIB_OBJS) 188 172 173 install: 189 174 clean: 190 175 del *$o 191 del $(EXEC) 192 del libtextin.lib 176 del libtextin.lib
Note:
See TracChangeset
for help on using the changeset viewer.