Ticket #134: win32_unicode_make.patch
File win32_unicode_make.patch, 4.6 KB (added by , 18 years ago) |
---|
-
win32_unicode.mak
1 # Makefile for Microsoft Visual C++ 7.0 (or compatible) 2 # Originally by Mark Hammond 3 4 # Will build a Win32 static library (non-debug) libunicode.lib 5 6 7 8 !INCLUDE ..\win32\config.mak 9 10 11 OUTDIR=..\win32\$(XAPIAN_DEBUG_OR_RELEASE)\libs 12 INTDIR=.\ 13 14 ALL : "$(OUTDIR)\libunicode.lib" 15 16 LIBUNICODE_OBJS= \ 17 $(INTDIR)\utf8itor.obj \ 18 $(INTDIR)\tclUniData.obj 19 20 CLEAN : 21 -@erase "$(OUTDIR)\libunicode.lib" 22 -@erase "*.pch" 23 -@erase $(LIBUNICODE_OBJS) 24 25 26 "$(OUTDIR)" : 27 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" 28 29 CPP_PROJ=$(CPPFLAGS_EXTRA) \ 30 /I"..\api" /I"..\languages" \ 31 /Fo"$(INTDIR)\\" /Tp$(INPUTNAME) 32 33 CPP_OBJS=..\win32\$(XAPIAN_DEBUG_OR_RELEASE) 34 CPP_SBRS=. 35 36 "$(OUTDIR)\libunicode.lib" : "$(OUTDIR)" $(DEF_FILE) $(LIBUNICODE_OBJS) 37 $(LIB32) @<< 38 $(LIB32_FLAGS) /out:"$(OUTDIR)\libunicode.lib" $(DEF_FLAGS) $(LIBUNICODE_OBJS) 39 << 40 41 "$(INTDIR)\utf8itor.obj" : ".\utf8itor.cc" 42 $(CPP) @<< 43 $(CPP_PROJ) $** 44 << 45 46 "$(INTDIR)\tclUniData.obj" : ".\tclUniData.cc" 47 $(CPP) @<< 48 $(CPP_PROJ) $** 49 << 50 51 52 {.}.cc{$(INTDIR)}.obj: 53 $(CPP) @<< 54 $(CPP_PROJ) $< 55 << 56 57 {.}.cc{$(CPP_SBRS)}.sbr: 58 $(CPP) @<< 59 $(CPP_PROJ) $< 60 << 61 -
win32_tests.mak
Property changes on: win32_unicode.mak ___________________________________________________________________ Name: svn:eol-style + native
58 58 "$(OUTDIR)\api_nodb.obj" \ 59 59 "$(OUTDIR)\api_posdb.obj" \ 60 60 "$(OUTDIR)\api_transdb.obj" \ 61 "$(OUTDIR)\api_unicode.obj" \ 61 62 "$(OUTDIR)\api_wrdb.obj" 62 63 63 64 BTREETEST_OBJS= "$(OUTDIR)\btreetest.obj" … … 111 112 "$(OUTLIBDIR)\liblanguages.lib" \ 112 113 "$(OUTLIBDIR)\libapi.lib" \ 113 114 "$(OUTLIBDIR)\libremote.lib" \ 115 "$(OUTLIBDIR)\libunicode.lib" \ 114 116 "$(OUTLIBDIR)\libqueryparser.lib" 115 117 116 118 LINK32=link.exe … … 204 206 $(CPP_PROJ) $** 205 207 << 206 208 209 "$(INTDIR)\api_unicode.obj" : ".\api_unicode.cc" 210 $(CPP) @<< 211 $(CPP_PROJ) $** 212 << 213 207 214 "$(INTDIR)\btreetest.obj" : ".\btreetest.cc" 208 215 $(CPP) @<< 209 216 $(CPP_PROJ) $** -
Makefile
33 33 nmake $(MAKEMACRO) /$(MAKEFLAGS) CFG="$(CFG)" DEBUG="$(DEBUG)" 34 34 cd ..\net 35 35 nmake $(MAKEMACRO) /$(MAKEFLAGS) CFG="$(CFG)" DEBUG="$(DEBUG)" 36 cd ..\unicode 37 nmake $(MAKEMACRO) /$(MAKEFLAGS) CFG="$(CFG)" DEBUG="$(DEBUG)" 36 38 cd ..\tests\harness 37 39 nmake $(MAKEMACRO) /$(MAKEFLAGS) CFG="$(CFG)" DEBUG="$(DEBUG)" 38 40 cd ..\..\bin … … 65 67 nmake /$(MAKEFLAGS) DEBUG="$(DEBUG)" CLEAN 66 68 cd ..\queryparser 67 69 nmake /$(MAKEFLAGS) DEBUG="$(DEBUG)" CLEAN 70 cd ..\unicode 71 nmake /$(MAKEFLAGS) DEBUG="$(DEBUG)" CLEAN 68 72 cd ..\tests\harness 69 73 nmake /$(MAKEFLAGS) DEBUG="$(DEBUG)" CLEAN 70 74 cd ..\..\bin … … 104 108 copy win32_languages.mak ..\languages\Makefile 105 109 copy win32_matcher.mak ..\matcher\Makefile 106 110 copy win32_net.mak ..\net\Makefile 111 copy win32_unicode.mak ..\unicode\Makefile 107 112 copy win32_queryparser.mak ..\queryparser\Makefile 108 113 copy win32_tests.mak ..\tests\Makefile 109 114 copy win32_testsuite.mak ..\tests\harness\Makefile -
win32_examples.mak
63 63 "$(OUTLIBDIR)\libapi.lib" \ 64 64 "$(OUTLIBDIR)\libnet.lib" \ 65 65 "$(OUTLIBDIR)\libremote.lib" \ 66 "$(OUTLIBDIR)\libunicode.lib" \ 66 67 "$(OUTLIBDIR)\libqueryparser.lib" 67 68 68 69 ALL_LINK32_FLAGS = $(LINK32_FLAGS) $(XAPIAN_LIBS) -
win32_queryparser.mak
16 16 17 17 LIBQUERYPARSER_OBJS= \ 18 18 $(INTDIR)\queryparser.obj \ 19 $(INTDIR)\queryparser_internal.obj \ 20 $(INTDIR)\utf8itor.obj \ 21 $(INTDIR)\tclUniData.obj 19 $(INTDIR)\queryparser_internal.obj 22 20 23 21 24 22 CLEAN : … … 66 64 << 67 65 68 66 69 "$(INTDIR)\utf8itor.obj" : ".\utf8itor.cc"70 $(CPP) @<<71 $(CPP_PROJ) $**72 <<73 74 "$(INTDIR)\tclUniData.obj" : ".\tclUniData.cc"75 $(CPP) @<<76 $(CPP_PROJ) $**77 <<78 79 67 "$(INTDIR)\queryparser_internal.obj" : ".\queryparser_internal.cc" 80 68 $(CPP) @<< 81 69 $(CPP_PROJ) $**