]> git.saurik.com Git - wxWidgets.git/blame - utils/HelpGen/src/makefile.vc
Elliptic arc fix for getting bounds
[wxWidgets.git] / utils / HelpGen / src / makefile.vc
CommitLineData
2ace0078
VS
1# =========================================================================
2# This makefile was generated by
162a956b 3# Bakefile 0.1.6 (http://bakefile.sourceforge.net)
2ace0078
VS
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
c33fae85 15WX_RELEASE_NODOT = 25
b17c1746
DE
16OBJS = \
17 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
162a956b 18LIBDIRNAME = .\..\..\..\lib\vc_$(LIBTYPE_SUFFIX)$(CFG)
b17c1746
DE
19SETUPHDIR = \
20 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
9bfe7ad9
VS
21HELPGEN_CXXFLAGS = /M$(__RUNTIME_LIBS_7)$(__DEBUGRUNTIME_3) /DWIN32 \
22 $(__DEBUGINFO_0) /Fd$(OBJS)\HelpGen.pdb $(____DEBUGRUNTIME_2_p) \
ec08d395
JS
23 $(__OPTIMIZEFLAG_4) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
24 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I.\..\..\..\include \
162a956b
JS
25 /I$(SETUPHDIR) /W4 /I. $(__DLLFLAG_p) /D_CONSOLE /DwxUSE_GUI=0 \
26 $(__EXCEPTIONSFLAG_8) $(__EXCEPTIONSFLAG_9) $(CPPFLAGS) $(CXXFLAGS)
2ace0078
VS
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 \
75a0a7b7 35 $(OBJS)\HelpGen_srcparser.obj
2ace0078
VS
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
2ace0078
VS
51!if "$(UNICODE)" == "1"
52WXUNICODEFLAG = u
53!endif
54!if "$(WXUNIV)" == "1"
55WXUNIVNAME = univ
56!endif
b17c1746
DE
57!if "$(SHARED)" == "1"
58WXDLLFLAG = dll
59!endif
162a956b
JS
60!if "$(SHARED)" == "0"
61LIBTYPE_SUFFIX = lib
62!endif
63!if "$(SHARED)" == "1"
64LIBTYPE_SUFFIX = dll
65!endif
dd65d8c8
RN
66!if "$(MONOLITHIC)" == "0"
67EXTRALIBS_FOR_BASE =
68!endif
69!if "$(MONOLITHIC)" == "1"
70EXTRALIBS_FOR_BASE =
71!endif
2ace0078
VS
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
b17c1746
DE
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
2ace0078 105!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
b17c1746 106____DEBUGINFO_2_p = /D_DEBUG
2ace0078
VS
107!endif
108!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
b17c1746 109____DEBUGINFO_2_p =
2ace0078
VS
110!endif
111!if "$(DEBUG_INFO)" == "0"
b17c1746 112____DEBUGINFO_2_p =
2ace0078
VS
113!endif
114!if "$(DEBUG_INFO)" == "1"
b17c1746 115____DEBUGINFO_2_p = /D_DEBUG
2ace0078
VS
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
b17c1746
DE
126!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
127__DEBUGINFO_3 = d
2ace0078 128!endif
b17c1746
DE
129!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
130__DEBUGINFO_3 =
2ace0078 131!endif
b17c1746
DE
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
2ace0078 149!endif
b71531ad
VZ
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
ec08d395
JS
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
b17c1746
DE
168!if "$(WXUNIV)" == "1"
169__WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
2ace0078 170!endif
b17c1746
DE
171!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
172__DEBUG_DEFINE_p = /D__WXDEBUG__
2ace0078 173!endif
b17c1746
DE
174!if "$(DEBUG_FLAG)" == "1"
175__DEBUG_DEFINE_p = /D__WXDEBUG__
2ace0078
VS
176!endif
177!if "$(UNICODE)" == "1"
8ba95a18 178__UNICODE_DEFINE_p = /D_UNICODE
2ace0078 179!endif
b17c1746
DE
180!if "$(SHARED)" == "1"
181__DLLFLAG_p = /DWXUSINGDLL
2ace0078
VS
182!endif
183!if "$(MONOLITHIC)" == "0"
c33fae85
RN
184__WXLIB_BASE_p = \
185 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
2ace0078
VS
186!endif
187!if "$(MONOLITHIC)" == "1"
188__WXLIB_MONO_p = \
c33fae85 189 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
2ace0078 190!endif
b17c1746 191!if "$(USE_GUI)" == "1"
9c2d002b 192__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
2ace0078 193!endif
b17c1746 194!if "$(USE_GUI)" == "1"
9c2d002b 195__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
2ace0078 196!endif
b17c1746 197!if "$(USE_GUI)" == "1"
9c2d002b 198__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
2ace0078 199!endif
b17c1746
DE
200!if "$(MSLU)" == "1"
201__UNICOWS_LIB_p = unicows.lib
2ace0078 202!endif
2ace0078
VS
203
204
205all: $(OBJS)
206$(OBJS):
207 -if not exist $(OBJS) mkdir $(OBJS)
208
209### Targets: ###
210
211all: $(OBJS)\HelpGen.exe
212
b17c1746
DE
213clean:
214 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
215 -if exist $(OBJS)\*.res del $(OBJS)\*.res
162a956b 216 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
b17c1746
DE
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 @<<
dd65d8c8 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
b17c1746
DE
224<<
225
204e4cd6 226$(OBJS)\HelpGen_HelpGen.obj: .\HelpGen.cpp
2ace0078
VS
227 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
228
204e4cd6 229$(OBJS)\HelpGen_cjparser.obj: .\cjparser.cpp
2ace0078
VS
230 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
231
204e4cd6 232$(OBJS)\HelpGen_docripper.obj: .\docripper.cpp
2ace0078
VS
233 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
234
204e4cd6 235$(OBJS)\HelpGen_ifcontext.obj: .\ifcontext.cpp
2ace0078
VS
236 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
237
204e4cd6 238$(OBJS)\HelpGen_markup.obj: .\markup.cpp
2ace0078
VS
239 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
240
204e4cd6 241$(OBJS)\HelpGen_scriptbinder.obj: .\scriptbinder.cpp
2ace0078
VS
242 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
243
204e4cd6 244$(OBJS)\HelpGen_sourcepainter.obj: .\sourcepainter.cpp
2ace0078
VS
245 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
246
204e4cd6 247$(OBJS)\HelpGen_srcparser.obj: .\srcparser.cpp
2ace0078 248 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
162a956b 249