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