]> git.saurik.com Git - wxWidgets.git/blame - utils/HelpGen/src/makefile.vc
Resize all top level windows when SIP changes visibility.
[wxWidgets.git] / utils / HelpGen / src / makefile.vc
CommitLineData
2ace0078
VS
1# =========================================================================
2# This makefile was generated by
0d90d6ea 3# Bakefile 0.1.9 (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
4cbcfb73 15WX_RELEASE_NODOT = 27
b17c1746 16OBJS = \
ab6ea1ac
MW
17 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)$(DIR_SUFFIX_CPU)
18LIBDIRNAME = .\..\..\..\lib\vc$(DIR_SUFFIX_CPU)_$(LIBTYPE_SUFFIX)$(CFG)
b17c1746
DE
19SETUPHDIR = \
20 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
8c9f8f91 21HELPGEN_CXXFLAGS = /M$(__RUNTIME_LIBS_8)$(__DEBUGRUNTIME_3) /DWIN32 \
9bfe7ad9 22 $(__DEBUGINFO_0) /Fd$(OBJS)\HelpGen.pdb $(____DEBUGRUNTIME_2_p) \
ec08d395 23 $(__OPTIMIZEFLAG_4) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
8c9f8f91 24 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
2113bc77
MW
25 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
26 /I.\..\..\..\include /I$(SETUPHDIR) /W4 /I. $(__DLLFLAG_p) /D_CONSOLE \
27 /DwxUSE_GUI=0 $(__RTTIFLAG_9) $(__EXCEPTIONSFLAG_10) $(CPPFLAGS) $(CXXFLAGS)
2ace0078
VS
28HELPGEN_OBJECTS = \
29 $(OBJS)\HelpGen_HelpGen.obj \
30 $(OBJS)\HelpGen_cjparser.obj \
31 $(OBJS)\HelpGen_docripper.obj \
32 $(OBJS)\HelpGen_ifcontext.obj \
33 $(OBJS)\HelpGen_markup.obj \
34 $(OBJS)\HelpGen_scriptbinder.obj \
35 $(OBJS)\HelpGen_sourcepainter.obj \
75a0a7b7 36 $(OBJS)\HelpGen_srcparser.obj
2ace0078
VS
37
38### Conditionally set variables: ###
39
40!if "$(USE_GUI)" == "0"
41PORTNAME = base
42!endif
43!if "$(USE_GUI)" == "1"
44PORTNAME = msw
45!endif
46!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
47WXDEBUGFLAG = d
48!endif
49!if "$(DEBUG_FLAG)" == "1"
50WXDEBUGFLAG = d
51!endif
2ace0078
VS
52!if "$(UNICODE)" == "1"
53WXUNICODEFLAG = u
54!endif
55!if "$(WXUNIV)" == "1"
56WXUNIVNAME = univ
57!endif
ab6ea1ac
MW
58!if "$(TARGET_CPU)" == "AMD64"
59DIR_SUFFIX_CPU = _amd64
60!endif
61!if "$(TARGET_CPU)" == "IA64"
62DIR_SUFFIX_CPU = _ia64
63!endif
b17c1746
DE
64!if "$(SHARED)" == "1"
65WXDLLFLAG = dll
66!endif
162a956b
JS
67!if "$(SHARED)" == "0"
68LIBTYPE_SUFFIX = lib
69!endif
70!if "$(SHARED)" == "1"
71LIBTYPE_SUFFIX = dll
72!endif
ab6ea1ac
MW
73!if "$(TARGET_CPU)" == "AMD64"
74LINK_TARGET_CPU = /MACHINE:AMD64
75!endif
76!if "$(TARGET_CPU)" == "IA64"
77LINK_TARGET_CPU = /MACHINE:IA64
78!endif
dd65d8c8
RN
79!if "$(MONOLITHIC)" == "0"
80EXTRALIBS_FOR_BASE =
81!endif
82!if "$(MONOLITHIC)" == "1"
83EXTRALIBS_FOR_BASE =
84!endif
2ace0078
VS
85!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
86__DEBUGINFO_0 = /Zi
87!endif
88!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
89__DEBUGINFO_0 =
90!endif
91!if "$(DEBUG_INFO)" == "0"
92__DEBUGINFO_0 =
93!endif
94!if "$(DEBUG_INFO)" == "1"
95__DEBUGINFO_0 = /Zi
96!endif
97!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
98__DEBUGINFO_1 = /DEBUG
99!endif
100!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
101__DEBUGINFO_1 =
102!endif
103!if "$(DEBUG_INFO)" == "0"
104__DEBUGINFO_1 =
105!endif
106!if "$(DEBUG_INFO)" == "1"
107__DEBUGINFO_1 = /DEBUG
108!endif
21c6080d
JS
109!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
110____DEBUGRUNTIME_2_p = /D_DEBUG
111!endif
112!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
113____DEBUGRUNTIME_2_p =
114!endif
b17c1746
DE
115!if "$(DEBUG_RUNTIME_LIBS)" == "0"
116____DEBUGRUNTIME_2_p =
117!endif
118!if "$(DEBUG_RUNTIME_LIBS)" == "1"
119____DEBUGRUNTIME_2_p = /D_DEBUG
120!endif
21c6080d
JS
121!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
122__DEBUGRUNTIME_3 = d
2ace0078 123!endif
21c6080d
JS
124!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
125__DEBUGRUNTIME_3 =
2ace0078
VS
126!endif
127!if "$(DEBUG_RUNTIME_LIBS)" == "0"
128__DEBUGRUNTIME_3 =
129!endif
130!if "$(DEBUG_RUNTIME_LIBS)" == "1"
131__DEBUGRUNTIME_3 = d
132!endif
b17c1746
DE
133!if "$(BUILD)" == "debug"
134__OPTIMIZEFLAG_4 = /Od
135!endif
136!if "$(BUILD)" == "release"
137__OPTIMIZEFLAG_4 = /O2
138!endif
8c9f8f91
JS
139!if "$(USE_THREADS)" == "0"
140__THREADSFLAG_7 = L
141!endif
142!if "$(USE_THREADS)" == "1"
143__THREADSFLAG_7 = T
144!endif
b17c1746 145!if "$(RUNTIME_LIBS)" == "dynamic"
8c9f8f91 146__RUNTIME_LIBS_8 = D
b17c1746
DE
147!endif
148!if "$(RUNTIME_LIBS)" == "static"
8c9f8f91 149__RUNTIME_LIBS_8 = $(__THREADSFLAG_7)
2ace0078 150!endif
8c9f8f91
JS
151!if "$(USE_RTTI)" == "0"
152__RTTIFLAG_9 =
b71531ad 153!endif
8c9f8f91
JS
154!if "$(USE_RTTI)" == "1"
155__RTTIFLAG_9 = /GR
b71531ad
VZ
156!endif
157!if "$(USE_EXCEPTIONS)" == "0"
8c9f8f91 158__EXCEPTIONSFLAG_10 =
b71531ad
VZ
159!endif
160!if "$(USE_EXCEPTIONS)" == "1"
8c9f8f91 161__EXCEPTIONSFLAG_10 = /EHsc
b71531ad 162!endif
ec08d395
JS
163!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
164__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
165!endif
166!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
167__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
168!endif
b17c1746
DE
169!if "$(WXUNIV)" == "1"
170__WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
2ace0078 171!endif
b17c1746
DE
172!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
173__DEBUG_DEFINE_p = /D__WXDEBUG__
2ace0078 174!endif
b17c1746
DE
175!if "$(DEBUG_FLAG)" == "1"
176__DEBUG_DEFINE_p = /D__WXDEBUG__
2ace0078 177!endif
8c9f8f91
JS
178!if "$(USE_EXCEPTIONS)" == "0"
179__EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
180!endif
181!if "$(USE_RTTI)" == "0"
182__RTTI_DEFINE_p = /DwxNO_RTTI
183!endif
184!if "$(USE_THREADS)" == "0"
185__THREAD_DEFINE_p = /DwxNO_THREADS
186!endif
2ace0078 187!if "$(UNICODE)" == "1"
8ba95a18 188__UNICODE_DEFINE_p = /D_UNICODE
2ace0078 189!endif
2113bc77
MW
190!if "$(MSLU)" == "1"
191__MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
192!endif
b17c1746
DE
193!if "$(SHARED)" == "1"
194__DLLFLAG_p = /DWXUSINGDLL
2ace0078
VS
195!endif
196!if "$(MONOLITHIC)" == "0"
c33fae85
RN
197__WXLIB_BASE_p = \
198 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
2ace0078
VS
199!endif
200!if "$(MONOLITHIC)" == "1"
201__WXLIB_MONO_p = \
c33fae85 202 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
2ace0078 203!endif
b17c1746 204!if "$(USE_GUI)" == "1"
9c2d002b 205__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
2ace0078 206!endif
b17c1746 207!if "$(USE_GUI)" == "1"
9c2d002b 208__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
2ace0078 209!endif
b17c1746 210!if "$(USE_GUI)" == "1"
9c2d002b 211__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
2ace0078 212!endif
b17c1746
DE
213!if "$(MSLU)" == "1"
214__UNICOWS_LIB_p = unicows.lib
2ace0078 215!endif
2ace0078
VS
216
217
218all: $(OBJS)
219$(OBJS):
220 -if not exist $(OBJS) mkdir $(OBJS)
221
222### Targets: ###
223
224all: $(OBJS)\HelpGen.exe
225
b17c1746
DE
226clean:
227 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
228 -if exist $(OBJS)\*.res del $(OBJS)\*.res
162a956b 229 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
b17c1746
DE
230 -if exist $(OBJS)\HelpGen.exe del $(OBJS)\HelpGen.exe
231 -if exist $(OBJS)\HelpGen.ilk del $(OBJS)\HelpGen.ilk
232 -if exist $(OBJS)\HelpGen.pdb del $(OBJS)\HelpGen.pdb
233
234$(OBJS)\HelpGen.exe: $(HELPGEN_OBJECTS)
ab6ea1ac 235 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:CONSOLE @<<
dd65d8c8 236 $(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
237<<
238
204e4cd6 239$(OBJS)\HelpGen_HelpGen.obj: .\HelpGen.cpp
2ace0078
VS
240 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
241
204e4cd6 242$(OBJS)\HelpGen_cjparser.obj: .\cjparser.cpp
2ace0078
VS
243 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
244
204e4cd6 245$(OBJS)\HelpGen_docripper.obj: .\docripper.cpp
2ace0078
VS
246 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
247
204e4cd6 248$(OBJS)\HelpGen_ifcontext.obj: .\ifcontext.cpp
2ace0078
VS
249 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
250
204e4cd6 251$(OBJS)\HelpGen_markup.obj: .\markup.cpp
2ace0078
VS
252 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
253
204e4cd6 254$(OBJS)\HelpGen_scriptbinder.obj: .\scriptbinder.cpp
2ace0078
VS
255 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
256
204e4cd6 257$(OBJS)\HelpGen_sourcepainter.obj: .\sourcepainter.cpp
2ace0078
VS
258 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
259
204e4cd6 260$(OBJS)\HelpGen_srcparser.obj: .\srcparser.cpp
2ace0078 261 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
162a956b 262