]> git.saurik.com Git - wxWidgets.git/blame_incremental - utils/HelpGen/src/makefile.vc
update from Martin Srebotnjak
[wxWidgets.git] / utils / HelpGen / src / makefile.vc
... / ...
CommitLineData
1# =========================================================================
2# This makefile was generated by
3# Bakefile 0.1.6 (http://bakefile.sourceforge.net)
4# Do not modify, all changes will be overwritten!
5# =========================================================================
6
7!include <../../../build/msw/config.vc>
8
9# -------------------------------------------------------------------------
10# Do not modify the rest of this file!
11# -------------------------------------------------------------------------
12
13### Variables: ###
14
15WX_RELEASE_NODOT = 25
16OBJS = \
17 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
18LIBDIRNAME = .\..\..\..\lib\vc_$(LIBTYPE_SUFFIX)$(CFG)
19SETUPHDIR = \
20 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
21HELPGEN_CXXFLAGS = /M$(__RUNTIME_LIBS_7)$(__DEBUGRUNTIME_3) /DWIN32 \
22 $(__DEBUGINFO_0) /Fd$(OBJS)\HelpGen.pdb $(____DEBUGRUNTIME_2_p) \
23 $(__OPTIMIZEFLAG_4) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
24 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I.\..\..\..\include \
25 /I$(SETUPHDIR) /W4 /I. $(__DLLFLAG_p) /D_CONSOLE /DwxUSE_GUI=0 \
26 $(__EXCEPTIONSFLAG_8) $(__EXCEPTIONSFLAG_9) $(CPPFLAGS) $(CXXFLAGS)
27HELPGEN_OBJECTS = \
28 $(OBJS)\HelpGen_HelpGen.obj \
29 $(OBJS)\HelpGen_cjparser.obj \
30 $(OBJS)\HelpGen_docripper.obj \
31 $(OBJS)\HelpGen_ifcontext.obj \
32 $(OBJS)\HelpGen_markup.obj \
33 $(OBJS)\HelpGen_scriptbinder.obj \
34 $(OBJS)\HelpGen_sourcepainter.obj \
35 $(OBJS)\HelpGen_srcparser.obj
36
37### Conditionally set variables: ###
38
39!if "$(USE_GUI)" == "0"
40PORTNAME = base
41!endif
42!if "$(USE_GUI)" == "1"
43PORTNAME = msw
44!endif
45!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
46WXDEBUGFLAG = d
47!endif
48!if "$(DEBUG_FLAG)" == "1"
49WXDEBUGFLAG = d
50!endif
51!if "$(UNICODE)" == "1"
52WXUNICODEFLAG = u
53!endif
54!if "$(WXUNIV)" == "1"
55WXUNIVNAME = univ
56!endif
57!if "$(SHARED)" == "1"
58WXDLLFLAG = dll
59!endif
60!if "$(SHARED)" == "0"
61LIBTYPE_SUFFIX = lib
62!endif
63!if "$(SHARED)" == "1"
64LIBTYPE_SUFFIX = dll
65!endif
66!if "$(MONOLITHIC)" == "0"
67EXTRALIBS_FOR_BASE =
68!endif
69!if "$(MONOLITHIC)" == "1"
70EXTRALIBS_FOR_BASE =
71!endif
72!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
73__DEBUGINFO_0 = /Zi
74!endif
75!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
76__DEBUGINFO_0 =
77!endif
78!if "$(DEBUG_INFO)" == "0"
79__DEBUGINFO_0 =
80!endif
81!if "$(DEBUG_INFO)" == "1"
82__DEBUGINFO_0 = /Zi
83!endif
84!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
85__DEBUGINFO_1 = /DEBUG
86!endif
87!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
88__DEBUGINFO_1 =
89!endif
90!if "$(DEBUG_INFO)" == "0"
91__DEBUGINFO_1 =
92!endif
93!if "$(DEBUG_INFO)" == "1"
94__DEBUGINFO_1 = /DEBUG
95!endif
96!if "$(DEBUG_RUNTIME_LIBS)" == "0"
97____DEBUGRUNTIME_2_p =
98!endif
99!if "$(DEBUG_RUNTIME_LIBS)" == "1"
100____DEBUGRUNTIME_2_p = /D_DEBUG
101!endif
102!if "$(DEBUG_RUNTIME_LIBS)" == "default"
103____DEBUGRUNTIME_2_p = $(____DEBUGINFO_2_p)
104!endif
105!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
106____DEBUGINFO_2_p = /D_DEBUG
107!endif
108!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
109____DEBUGINFO_2_p =
110!endif
111!if "$(DEBUG_INFO)" == "0"
112____DEBUGINFO_2_p =
113!endif
114!if "$(DEBUG_INFO)" == "1"
115____DEBUGINFO_2_p = /D_DEBUG
116!endif
117!if "$(DEBUG_RUNTIME_LIBS)" == "0"
118__DEBUGRUNTIME_3 =
119!endif
120!if "$(DEBUG_RUNTIME_LIBS)" == "1"
121__DEBUGRUNTIME_3 = d
122!endif
123!if "$(DEBUG_RUNTIME_LIBS)" == "default"
124__DEBUGRUNTIME_3 = $(__DEBUGINFO_3)
125!endif
126!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
127__DEBUGINFO_3 = d
128!endif
129!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
130__DEBUGINFO_3 =
131!endif
132!if "$(DEBUG_INFO)" == "0"
133__DEBUGINFO_3 =
134!endif
135!if "$(DEBUG_INFO)" == "1"
136__DEBUGINFO_3 = d
137!endif
138!if "$(BUILD)" == "debug"
139__OPTIMIZEFLAG_4 = /Od
140!endif
141!if "$(BUILD)" == "release"
142__OPTIMIZEFLAG_4 = /O2
143!endif
144!if "$(RUNTIME_LIBS)" == "dynamic"
145__RUNTIME_LIBS_7 = D
146!endif
147!if "$(RUNTIME_LIBS)" == "static"
148__RUNTIME_LIBS_7 = T
149!endif
150!if "$(USE_EXCEPTIONS)" == "0"
151__EXCEPTIONSFLAG_8 =
152!endif
153!if "$(USE_EXCEPTIONS)" == "1"
154__EXCEPTIONSFLAG_8 = /GR
155!endif
156!if "$(USE_EXCEPTIONS)" == "0"
157__EXCEPTIONSFLAG_9 =
158!endif
159!if "$(USE_EXCEPTIONS)" == "1"
160__EXCEPTIONSFLAG_9 = /GX
161!endif
162!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
163__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
164!endif
165!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
166__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
167!endif
168!if "$(WXUNIV)" == "1"
169__WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
170!endif
171!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
172__DEBUG_DEFINE_p = /D__WXDEBUG__
173!endif
174!if "$(DEBUG_FLAG)" == "1"
175__DEBUG_DEFINE_p = /D__WXDEBUG__
176!endif
177!if "$(UNICODE)" == "1"
178__UNICODE_DEFINE_p = /D_UNICODE
179!endif
180!if "$(SHARED)" == "1"
181__DLLFLAG_p = /DWXUSINGDLL
182!endif
183!if "$(MONOLITHIC)" == "0"
184__WXLIB_BASE_p = \
185 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
186!endif
187!if "$(MONOLITHIC)" == "1"
188__WXLIB_MONO_p = \
189 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
190!endif
191!if "$(USE_GUI)" == "1"
192__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
193!endif
194!if "$(USE_GUI)" == "1"
195__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
196!endif
197!if "$(USE_GUI)" == "1"
198__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
199!endif
200!if "$(MSLU)" == "1"
201__UNICOWS_LIB_p = unicows.lib
202!endif
203
204
205all: $(OBJS)
206$(OBJS):
207 -if not exist $(OBJS) mkdir $(OBJS)
208
209### Targets: ###
210
211all: $(OBJS)\HelpGen.exe
212
213clean:
214 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
215 -if exist $(OBJS)\*.res del $(OBJS)\*.res
216 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
217 -if exist $(OBJS)\HelpGen.exe del $(OBJS)\HelpGen.exe
218 -if exist $(OBJS)\HelpGen.ilk del $(OBJS)\HelpGen.ilk
219 -if exist $(OBJS)\HelpGen.pdb del $(OBJS)\HelpGen.pdb
220
221$(OBJS)\HelpGen.exe: $(HELPGEN_OBJECTS)
222 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:CONSOLE @<<
223 $(HELPGEN_OBJECTS) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib odbc32.lib
224<<
225
226$(OBJS)\HelpGen_HelpGen.obj: .\HelpGen.cpp
227 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
228
229$(OBJS)\HelpGen_cjparser.obj: .\cjparser.cpp
230 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
231
232$(OBJS)\HelpGen_docripper.obj: .\docripper.cpp
233 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
234
235$(OBJS)\HelpGen_ifcontext.obj: .\ifcontext.cpp
236 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
237
238$(OBJS)\HelpGen_markup.obj: .\markup.cpp
239 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
240
241$(OBJS)\HelpGen_scriptbinder.obj: .\scriptbinder.cpp
242 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
243
244$(OBJS)\HelpGen_sourcepainter.obj: .\sourcepainter.cpp
245 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
246
247$(OBJS)\HelpGen_srcparser.obj: .\srcparser.cpp
248 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
249