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