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