Changeset 9780 for trunk/indexers
- Timestamp:
- 2005-04-28T16:52:36+12:00 (19 years ago)
- Location:
- trunk/indexers/mgpp
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/indexers/mgpp/jni/win32.mak
r3930 r9780 26 26 27 27 MGPPHOME = .. 28 28 GSDL3HOME = ..\..\.. 29 29 AR = lib 30 30 CC = cl 31 31 CPPFLAGS = -GX 32 32 33 DEFS = -DQUIET -D SHORT_SUFFIX -DHAVE_STRING_H -D__WIN32__33 DEFS = -DQUIET -DHAVE_CONFIG_H -DSHORT_SUFFIX -DHAVE_STRING_H -D__WIN32__ 34 34 INCLUDES = -I"$(MGPPHOME)" -I"$(MGPPHOME)\lib" -I"$(MGPPHOME)\text" \ 35 35 -I"C:\j2sdk1~1.1_0\include" -I"C:\j2sdk1~1.1_0\include\win32" 36 36 37 COMPILE = $(CC) -c $( DEFS) $(INCLUDES) $(CPPFLAGS)37 COMPILE = $(CC) -c $(CPPFLAGS) $(DEFS) $(INCLUDES) 38 38 39 39 .SUFFIXES: … … 46 46 47 47 HEADERS = \ 48 MGPPWrapperImpl.h org_greenstone_mgpp_MGPPWrapper.h 48 MGPPWrapperImpl.h org_greenstone_mgpp_MGPPWrapper.h org_greenstone_mgpp_MGMGPPPassesWrapperImpl.h 49 49 50 50 SOURCES = \ 51 MGPPWrapperImpl.cpp 51 MGPPWrapperImpl.cpp MGPPPassesWrapperImpl.cpp 52 52 53 53 OBJECTS = \ 54 MGPPWrapperImpl$o 54 MGPPWrapperImpl$o $(MGPPHOME)\text\libtextin.lib \ 55 55 $(MGPPHOME)\lib\libmgpp.lib 56 56 PASSES_OBJECTS = \ 57 MGPPPassesWrapperImpl$o $(MGPPHOME)\text\libmgpppass.lib \ 58 $(MGPPHOME)\lib\libmgpp.lib 59 57 60 DISTFILES = Makefile.in $(HEADERS) $(SOURCES) 58 61 … … 60 63 61 64 compile: 62 $(COMPILE) MGPPWrapperImpl.cpp 65 $(COMPILE) MGPPWrapperImpl.cpp MGPPPassesWrapperImpl.cpp 63 66 64 67 link: 65 68 $(CC) -MD -LD $(OBJECTS) -Femgppjni.dll 69 $(CC) -MD -LD $(PASSES_OBJECTS) -Femgpppassjni.dll 66 70 67 71 install: 68 72 copy mgppjni.dll $(GSDL3HOME)\lib 73 copy mgpppassjni.dll $(GSDL3HOME)\lib 69 74 clean: 70 del *$o 75 del *$o mgppjni.dll mgppjni.exp mgppjni.lib mgpppassjni.dll mgpppassjni.exp mgpppassjni.lib -
trunk/indexers/mgpp/text/WIN32.MAK
r3929 r9780 26 26 27 27 MGPPHOME = .. 28 28 GSDL3HOME = ..\..\.. 29 29 AR = lib 30 30 CC = cl … … 36 36 LIBS = $(MGPPHOME)\lib\libmgpp.lib 37 37 38 COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS)38 COMPILE = $(CC) -c $(CPPFLAGS) $(DEFS) $(INCLUDES) 39 39 40 40 .SUFFIXES: … … 47 47 ANSI2KNR = 48 48 o = .obj 49 e = .exe 49 50 50 51 HEADERS = \ … … 76 77 77 78 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 79 EXEC = mgpp_passes$e mgpp_decompress_text$e mgpp_perf_hash_build$e \ 80 mgpp_invf_dump$e mgpp_weights_build$e mgpp_invf_dict$e \ 81 mgpp_stem_idx$e mgpp_invf_dict_dump$e mgpp_compression_dict$e \ 82 mgpp_fast_comp_dict$e QueryTester$e Queryer$e 82 83 83 84 DISTFILES = Makefile.in $(HEADERS) $(SOURCES) 84 85 85 all : $(EXEC) libtextin.lib 86 all : $(EXEC) libtextin.lib libmgpppass.lib 86 87 87 88 … … 161 162 162 163 163 #mg_errors$o removed from LIB_OBJS to avoid conflict with mg's libtextin.a164 164 LIB_OBJS = mg_files$o mg_errors$o locallib$o invf$o UCArray$o \ 165 165 FIvfLevelInfo$o FragLevelConvert$o Terms$o MGQuery$o \ … … 171 171 $(AR) /out:libtextin.lib $(LIB_OBJS) 172 172 173 JNI_LIB_OBJS = \ 174 mgpp_passes_4jni$o text.pass1$o comp_dict$o \ 175 text.pass2$o locallib$o \ 176 ivf.pass1$o ivf.pass2$o mg.special$o mg_files$o \ 177 words$o invf$o FileBuf$o TextEl$o UCArray$o TagInfo$o \ 178 FText$o text$o FIvfLevelInfo$o 179 180 libmgpppass.lib: $(JNI_LIB_OBJS) 181 if exist libmgpppass.lib del libmgpppass.lib 182 $(AR) /out:libmgpppass.lib $(JNI_LIB_OBJS) 183 173 184 install: 185 for %%i in ($(EXEC)) do \ 186 copy %%i "$(GSDL3HOME)\bin" 187 174 188 clean: 175 189 del *$o 176 del libtextin.lib 190 del libtextin.lib libmgpppass.lib 191
Note:
See TracChangeset
for help on using the changeset viewer.