Remove trailing whitespace (see #556)
[xapian.git] / xapian-maintainer-tools / win32msvc / win32_matcher.mak
blob0dc808584cca5572aafe6a16ec20128404fb18f7
1 # Makefile for Microsoft Visual C++ 7.0 (or compatible)
2 # Originally by Ulrik Petersen
3 # Modified by Charlie Hull, Lemur Consulting Ltd.
4 # www.lemurconsulting.com
5 # 17th March 2006
7 # Will build a Win32 static library (non-debug) libmatcher.lib
10 !INCLUDE ..\win32\config.mak
12 OUTDIR=..\win32\$(XAPIAN_DEBUG_OR_RELEASE)\libs
13 INTDIR=.\
15 ALL : "$(OUTDIR)\libmatcher.lib"
17 OBJS= \
18 $(INTDIR)\andmaybepostlist.obj\
19 $(INTDIR)\andnotpostlist.obj\
20 $(INTDIR)\branchpostlist.obj\
21 $(INTDIR)\collapser.obj\
22 $(INTDIR)\exactphrasepostlist.obj\
23 $(INTDIR)\externalpostlist.obj\
24 $(INTDIR)\localsubmatch.obj\
25 $(INTDIR)\mergepostlist.obj\
26 $(INTDIR)\msetcmp.obj\
27 $(INTDIR)\msetpostlist.obj\
28 $(INTDIR)\multiandpostlist.obj\
29 $(INTDIR)\multimatch.obj\
30 $(INTDIR)\multixorpostlist.obj\
31 $(INTDIR)\orpostlist.obj\
32 $(INTDIR)\phrasepostlist.obj\
33 $(INTDIR)\queryoptimiser.obj\
34 $(INTDIR)\selectpostlist.obj\
35 $(INTDIR)\synonympostlist.obj\
36 $(INTDIR)\valuerangepostlist.obj\
37 $(INTDIR)\valuegepostlist.obj\
38 $(INTDIR)\valuestreamdocument.obj\
39 $(INTDIR)\remotesubmatch.obj
42 SRCS= \
43 $(INTDIR)\andmaybepostlist.cc\
44 $(INTDIR)\andnotpostlist.cc\
45 $(INTDIR)\branchpostlist.cc\
46 $(INTDIR)\collapser.cc\
47 $(INTDIR)\exactphrasepostlist.cc\
48 $(INTDIR)\externalpostlist.cc\
49 $(INTDIR)\localsubmatch.cc\
50 $(INTDIR)\mergepostlist.cc\
51 $(INTDIR)\msetcmp.cc\
52 $(INTDIR)\msetpostlist.cc\
53 $(INTDIR)\multiandpostlist.cc\
54 $(INTDIR)\multimatch.cc\
55 $(INTDIR)\multixorpostlist.cc\
56 $(INTDIR)\orpostlist.cc\
57 $(INTDIR)\phrasepostlist.cc\
58 $(INTDIR)\queryoptimiser.cc\
59 $(INTDIR)\selectpostlist.cc\
60 $(INTDIR)\synonympostlist.cc\
61 $(INTDIR)\valuerangepostlist.cc\
62 $(INTDIR)\valuegepostlist.cc\
63 $(INTDIR)\valuestreamdocument.cc\
64 $(INTDIR)\remotesubmatch.cc
66 CLEAN :
67 -@erase "$(OUTDIR)\libmatcher.lib"
68 -@erase "*.pch"
69 -@erase "$(INTDIR)\getopt.obj"
70 -@erase "$(INTDIR)\*.pdb"
71 -@erase $(OBJS)
74 "$(OUTDIR)" :
75 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
77 CPP_PROJ=$(CPPFLAGS_EXTRA) \
78 -I"..\languages" \
79 -Fo"$(INTDIR)\\" -Tp$(INPUTNAME)
81 CPP_OBJS=..\win32\$(XAPIAN_DEBUG_OR_RELEASE)
82 CPP_SBRS=.
85 "$(OUTDIR)\LIBMATCHER.lib" : "$(OUTDIR)" $(DEF_FILE) $(OBJS)
86 $(LIB32) @<<
87 $(LIB32_FLAGS) /out:"$(OUTDIR)\libmatcher.lib" $(DEF_FLAGS) $(OBJS)
91 # inference rules, showing how to create one type of file from another with the same root name
92 {.}.cc{$(INTDIR)}.obj::
93 $(CPP) @<<
94 $(CPP_PROJ) $<
97 {.}.cc{$(CPP_SBRS)}.sbr::
98 $(CPP) @<<
99 $(CPP_PROJ) $<
102 # Calculate any header dependencies and automatically insert them into this file
103 HEADERS :
104 -@erase deps.d
105 $(CPP) -showIncludes $(CPP_PROJ) $(SRCS) >>deps.d
106 if exist "..\win32\$(DEPEND)" ..\win32\$(DEPEND)
107 # DO NOT DELETE THIS LINE -- xapdep depends on it.