]> git.saurik.com Git - wxWidgets.git/blame - utils/HelpGen/src/makefile.vc
reversed change
[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 \
b71531ad
VZ
19 /I$(SETUPHDIR) /W4 /I. $(__DLLFLAG_p) /D_CONSOLE $(CXXFLAGS) \
20 $(__EXCEPTIONSFLAG_8) $(__EXCEPTIONSFLAG_9)
2ace0078
VS
21HELPGEN_OBJECTS = \
22 $(OBJS)\HelpGen_HelpGen.obj \
23 $(OBJS)\HelpGen_cjparser.obj \
24 $(OBJS)\HelpGen_docripper.obj \
25 $(OBJS)\HelpGen_ifcontext.obj \
26 $(OBJS)\HelpGen_markup.obj \
27 $(OBJS)\HelpGen_scriptbinder.obj \
28 $(OBJS)\HelpGen_sourcepainter.obj \
75a0a7b7 29 $(OBJS)\HelpGen_srcparser.obj
2ace0078
VS
30OBJS = \
31 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
75a0a7b7
VS
32SETUPHDIR = \
33 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
2ace0078
VS
34
35### Conditionally set variables: ###
36
75a0a7b7 37!if "$(SHARED)" == "0"
8ba95a18 38LIBDIRNAME = .\..\..\..\lib\vc_lib$(CFG)
75a0a7b7
VS
39!endif
40!if "$(SHARED)" == "1"
8ba95a18 41LIBDIRNAME = .\..\..\..\lib\vc_dll$(CFG)
75a0a7b7 42!endif
2ace0078
VS
43!if "$(USE_GUI)" == "0"
44PORTNAME = base
45!endif
46!if "$(USE_GUI)" == "1"
47PORTNAME = msw
48!endif
49!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
50WXDEBUGFLAG = d
51!endif
52!if "$(DEBUG_FLAG)" == "1"
53WXDEBUGFLAG = d
54!endif
55!if "$(SHARED)" == "1"
56WXDLLFLAG = dll
57!endif
58!if "$(UNICODE)" == "1"
59WXUNICODEFLAG = u
60!endif
61!if "$(WXUNIV)" == "1"
62WXUNIVNAME = univ
63!endif
64!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
65__DEBUGINFO_0 = /Zi
66!endif
67!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
68__DEBUGINFO_0 =
69!endif
70!if "$(DEBUG_INFO)" == "0"
71__DEBUGINFO_0 =
72!endif
73!if "$(DEBUG_INFO)" == "1"
74__DEBUGINFO_0 = /Zi
75!endif
76!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
77__DEBUGINFO_1 = /DEBUG
78!endif
79!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
80__DEBUGINFO_1 =
81!endif
82!if "$(DEBUG_INFO)" == "0"
83__DEBUGINFO_1 =
84!endif
85!if "$(DEBUG_INFO)" == "1"
86__DEBUGINFO_1 = /DEBUG
87!endif
88!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
89__DEBUGINFO_3 = d
90!endif
91!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
92__DEBUGINFO_3 =
93!endif
94!if "$(DEBUG_INFO)" == "0"
95__DEBUGINFO_3 =
96!endif
97!if "$(DEBUG_INFO)" == "1"
98__DEBUGINFO_3 = d
99!endif
100!if "$(DEBUG_RUNTIME_LIBS)" == "0"
101__DEBUGRUNTIME_3 =
102!endif
103!if "$(DEBUG_RUNTIME_LIBS)" == "1"
104__DEBUGRUNTIME_3 = d
105!endif
106!if "$(DEBUG_RUNTIME_LIBS)" == "default"
107__DEBUGRUNTIME_3 = $(__DEBUGINFO_3)
108!endif
109!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
110__DEBUG_DEFINE_p = /D__WXDEBUG__
111!endif
112!if "$(DEBUG_FLAG)" == "1"
113__DEBUG_DEFINE_p = /D__WXDEBUG__
114!endif
115!if "$(SHARED)" == "1"
116__DLLFLAG_p = /DWXUSINGDLL
117!endif
b71531ad
VZ
118!if "$(USE_EXCEPTIONS)" == "0"
119__EXCEPTIONSFLAG_8 =
120!endif
121!if "$(USE_EXCEPTIONS)" == "1"
122__EXCEPTIONSFLAG_8 = /GR
123!endif
124!if "$(USE_EXCEPTIONS)" == "0"
125__EXCEPTIONSFLAG_9 =
126!endif
127!if "$(USE_EXCEPTIONS)" == "1"
128__EXCEPTIONSFLAG_9 = /GX
129!endif
2ace0078
VS
130!if "$(USE_GUI)" == "1"
131__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
132!endif
133!if "$(USE_GUI)" == "1"
134__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
135!endif
136!if "$(USE_GUI)" == "1"
137__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
138!endif
ec08d395
JS
139!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
140__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
141!endif
142!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
143__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
144!endif
2ace0078
VS
145!if "$(BUILD)" == "debug"
146__OPTIMIZEFLAG_4 = /Od
147!endif
148!if "$(BUILD)" == "release"
149__OPTIMIZEFLAG_4 = /O2
150!endif
151!if "$(RUNTIME_LIBS)" == "dynamic"
152__RUNTIME_LIBS_7 = D
153!endif
154!if "$(RUNTIME_LIBS)" == "static"
155__RUNTIME_LIBS_7 = T
156!endif
157!if "$(UNICODE)" == "1"
8ba95a18 158__UNICODE_DEFINE_p = /D_UNICODE
2ace0078
VS
159!endif
160!if "$(MSLU)" == "1"
161__UNICOWS_LIB_p = unicows.lib
162!endif
163!if "$(MONOLITHIC)" == "0"
164__WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
165!endif
166!if "$(MONOLITHIC)" == "1"
167__WXLIB_MONO_p = \
168 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
169!endif
170!if "$(WXUNIV)" == "1"
171__WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
172!endif
173!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
174____DEBUGINFO_2_p = /D_DEBUG
175!endif
176!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
177____DEBUGINFO_2_p =
178!endif
179!if "$(DEBUG_INFO)" == "0"
180____DEBUGINFO_2_p =
181!endif
182!if "$(DEBUG_INFO)" == "1"
183____DEBUGINFO_2_p = /D_DEBUG
184!endif
185!if "$(DEBUG_RUNTIME_LIBS)" == "0"
186____DEBUGRUNTIME_2_p =
187!endif
188!if "$(DEBUG_RUNTIME_LIBS)" == "1"
189____DEBUGRUNTIME_2_p = /D_DEBUG
190!endif
191!if "$(DEBUG_RUNTIME_LIBS)" == "default"
192____DEBUGRUNTIME_2_p = $(____DEBUGINFO_2_p)
193!endif
194
195
196all: $(OBJS)
197$(OBJS):
198 -if not exist $(OBJS) mkdir $(OBJS)
199
200### Targets: ###
201
202all: $(OBJS)\HelpGen.exe
203
204e4cd6 204$(OBJS)\HelpGen_HelpGen.obj: .\HelpGen.cpp
2ace0078
VS
205 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
206
204e4cd6 207$(OBJS)\HelpGen_cjparser.obj: .\cjparser.cpp
2ace0078
VS
208 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
209
204e4cd6 210$(OBJS)\HelpGen_docripper.obj: .\docripper.cpp
2ace0078
VS
211 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
212
204e4cd6 213$(OBJS)\HelpGen_ifcontext.obj: .\ifcontext.cpp
2ace0078
VS
214 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
215
204e4cd6 216$(OBJS)\HelpGen_markup.obj: .\markup.cpp
2ace0078
VS
217 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
218
204e4cd6 219$(OBJS)\HelpGen_scriptbinder.obj: .\scriptbinder.cpp
2ace0078
VS
220 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
221
204e4cd6 222$(OBJS)\HelpGen_sourcepainter.obj: .\sourcepainter.cpp
2ace0078
VS
223 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
224
204e4cd6 225$(OBJS)\HelpGen_srcparser.obj: .\srcparser.cpp
2ace0078
VS
226 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
227
2ace0078
VS
228$(OBJS)\HelpGen.exe: $(HELPGEN_OBJECTS)
229 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:CONSOLE @<<
ec08d395 230 $(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
231<<
232
233clean:
234 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
235 -if exist $(OBJS)\*.res del $(OBJS)\*.res
236 -if exist $(OBJS)\HelpGen.exe del $(OBJS)\HelpGen.exe
8ba95a18
MB
237 -if exist $(OBJS)\HelpGen.ilk del $(OBJS)\HelpGen.ilk
238 -if exist $(OBJS)\HelpGen.pdb del $(OBJS)\HelpGen.pdb