replace_document: Only force load values for same docid
[xapian.git] / xapian-maintainer-tools / win32msvc / win32_unicode.mak
blobd7428ce35addc075746a415f648636cd50c04d54
1 # Makefile for Microsoft Visual C++ 7.0 (or compatible)
2 # Originally by Mark Hammond
4 # Will build a Win32 static library (non-debug) libunicode.lib
8 !INCLUDE ..\win32\config.mak
11 OUTDIR=..\win32\$(XAPIAN_DEBUG_OR_RELEASE)\libs
12 INTDIR=.\
14 ALL : "$(OUTDIR)\libunicode.lib"
16 OBJS= \
17 $(INTDIR)\utf8itor.obj \
18 $(INTDIR)\tclUniData.obj
20 SRCS= \
21 $(INTDIR)\utf8itor.cc \
22 $(INTDIR)\tclUniData.cc
25 CLEAN :
26 -@erase "$(OUTDIR)\libunicode.lib"
27 -@erase "*.pch"
28 -@erase "$(INTDIR)\*.pdb"
29 -@erase $(OBJS)
32 "$(OUTDIR)" :
33 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
35 CPP_PROJ=$(CPPFLAGS_EXTRA) \
36 -I"..\api" -I"..\languages" \
37 -Fo"$(INTDIR)\\" -Tp$(INPUTNAME)
39 CPP_OBJS=..\win32\$(XAPIAN_DEBUG_OR_RELEASE)
40 CPP_SBRS=.
42 "$(OUTDIR)\libunicode.lib" : "$(OUTDIR)" $(DEF_FILE) $(OBJS)
43 $(LIB32) @<<
44 $(LIB32_FLAGS) /out:"$(OUTDIR)\libunicode.lib" $(DEF_FLAGS) $(OBJS)
47 # inference rules, showing how to create one type of file from another with the same root name
48 {.}.cc{$(INTDIR)}.obj::
49 $(CPP) @<<
50 $(CPP_PROJ) $<
53 {.}.cc{$(CPP_SBRS)}.sbr::
54 $(CPP) @<<
55 $(CPP_PROJ) $<
58 # Calculate any header dependencies and automatically insert them into this file
59 HEADERS :
60 -@erase deps.d
61 $(CPP) -showIncludes $(CPP_PROJ) $(SRCS) >>deps.d
62 if exist "..\win32\$(DEPEND)" ..\win32\$(DEPEND)
63 # DO NOT DELETE THIS LINE -- xapdep depends on it.