From: Adam Dickmeiss Date: Tue, 15 Mar 2011 12:28:13 +0000 (+0100) Subject: Update WIN32 makefile for stemmer X-Git-Tag: v4.1.7~2 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=426de04212512159a1bb46b20d896478cb21c083;p=yaz-moved-to-github.git Update WIN32 makefile for stemmer --- diff --git a/win/makefile b/win/makefile index 4747104..517ee0a 100644 --- a/win/makefile +++ b/win/makefile @@ -257,7 +257,8 @@ COMMON_C_OPTIONS= \ /Fd"$(OBJDIR)\\" COMMON_C_INCLUDES= \ - /I"$(ROOTDIR)\include" + /I"$(ROOTDIR)\include" \ + /I"$(ROOTDIR)\libstemmer_c\include" DEBUG_C_OPTIONS= \ /D "_DEBUG" \ @@ -571,10 +572,17 @@ ILL_OBJS= \ $(OBJDIR)\ill-core.obj\ $(OBJDIR)\item-req.obj +STEMMER_OBJS = \ + $(OBJDIR)\libstemmer.obj \ + $(OBJDIR)\api.obj \ + $(OBJDIR)\utilities.obj \ + $(OBJDIR)\stem_UTF_8_porter.obj \ + $(OBJDIR)\stem_UTF_8_english.obj + DLL_OBJS =\ $(MISC_OBJS) \ $(Z3950_OBJS) \ - $(ILL_OBJS) \ + $(ILL_OBJS) ICU_DLL_OBJS =\ $(OBJDIR)\icu_chain.obj \ @@ -583,7 +591,9 @@ ICU_DLL_OBJS =\ $(OBJDIR)\icu_transform.obj \ $(OBJDIR)\icu_casemap.obj \ $(OBJDIR)\icu_tokenizer.obj \ - $(OBJDIR)\icu_sortkey.obj + $(OBJDIR)\icu_sortkey.obj \ + $(OBJDIR)\stemmer.obj \ + $(STEMMER_OBJS) # Generated C and H files @@ -743,6 +753,15 @@ generate: \ {$(TESTDIR)}.c{$(OBJDIR)}.obj: $(CPP) $(COPT) $< +{$(ROOTDIR)\libstemmer_c\libstemmer}.c{$(OBJDIR)}.obj: + $(CPP) $(COPT) $< + +{$(ROOTDIR)\libstemmer_c\runtime}.c{$(OBJDIR)}.obj: + $(CPP) $(COPT) $< + +{$(ROOTDIR)\libstemmer_c\src_c}.c{$(OBJDIR)}.obj: + $(CPP) $(COPT) $< + # ASN-generated files !if $(HAVE_TCL)