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 # =========================================================================
7 !include <../../build/msw/config.vc>
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
16 .\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
18 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
19 RENDDLL_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_13) /DWIN32 \
21 /Fd$(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)250.pdb \
22 $(____DEBUGRUNTIME_12_p) $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
23 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I.\..\..\include /I$(LIBDIRNAME) \
24 /I.\..\..\src\tiff /I.\..\..\src\jpeg /I.\..\..\src\png /I.\..\..\src\zlib \
25 /I.\..\..\src\regex /I.\..\..\src\expat\lib /DWXUSINGDLL $(CXXFLAGS)
27 $(OBJS)\renddll_renddll.obj
28 RENDER_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_3) /DWIN32 \
29 $(__DEBUGINFO) /Fd$(OBJS)\render.pdb $(____DEBUGRUNTIME_2_p) \
30 $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
31 $(__UNICODE_DEFINE_p) /I.\..\..\include /I$(LIBDIRNAME) /I.\..\..\src\tiff \
32 /I.\..\..\src\jpeg /I.\..\..\src\png /I.\..\..\src\zlib /I.\..\..\src\regex \
33 /I.\..\..\src\expat\lib /I. $(__DLLFLAG_p) /D_WINDOWS $(CXXFLAGS)
35 $(OBJS)\render_sample.res \
36 $(OBJS)\render_render.obj
38 ### Conditionally set variables: ###
40 !if "$(USE_GUI)" == "0"
43 !if "$(USE_GUI)" == "1"
46 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
49 !if "$(DEBUG_FLAG)" == "1"
52 !if "$(SHARED)" == "1"
55 !if "$(UNICODE)" == "1"
58 !if "$(WXUNIV)" == "1"
61 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
64 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
67 !if "$(DEBUG_INFO)" == "0"
70 !if "$(DEBUG_INFO)" == "1"
73 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
74 __DEBUGINFO_1 = /DEBUG
76 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
79 !if "$(DEBUG_INFO)" == "0"
82 !if "$(DEBUG_INFO)" == "1"
83 __DEBUGINFO_1 = /DEBUG
85 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
88 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
91 !if "$(DEBUG_INFO)" == "0"
94 !if "$(DEBUG_INFO)" == "1"
97 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
100 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
101 __DEBUGRUNTIME_13 = d
103 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
104 __DEBUGRUNTIME_13 = $(__DEBUGINFO_2)
106 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
109 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
112 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
113 __DEBUGRUNTIME_3 = $(__DEBUGINFO_2)
115 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
116 __DEBUG_DEFINE_p = /D__WXDEBUG__
118 !if "$(DEBUG_FLAG)" == "1"
119 __DEBUG_DEFINE_p = /D__WXDEBUG__
121 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
122 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
124 !if "$(DEBUG_FLAG)" == "1"
125 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
127 !if "$(SHARED)" == "1"
128 __DLLFLAG_p = /DWXUSINGDLL
130 !if "$(SHARED)" == "1"
131 __DLLFLAG_p_1 = /d WXUSINGDLL
133 !if "$(USE_GUI)" == "1"
134 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
136 !if "$(USE_GUI)" == "1"
137 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
139 !if "$(USE_GUI)" == "1"
140 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
142 !if "$(BUILD)" == "debug"
145 !if "$(BUILD)" == "release"
148 !if "$(RUNTIME_LIBS)" == "dynamic"
151 !if "$(RUNTIME_LIBS)" == "static"
154 !if "$(UNICODE)" == "1"
155 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=1
157 !if "$(UNICODE)" == "1"
158 __UNICODE_DEFINE_p_1 = /d wxUSE_UNICODE=1
160 !if "$(MONOLITHIC)" == "0"
161 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
163 !if "$(MONOLITHIC)" == "0"
165 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
167 !if "$(MONOLITHIC)" == "1"
169 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
171 !if "$(WXUNIV)" == "1"
172 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
174 !if "$(WXUNIV)" == "1"
175 __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
177 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
178 ____DEBUGINFO = /D_DEBUG
180 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
183 !if "$(DEBUG_INFO)" == "0"
186 !if "$(DEBUG_INFO)" == "1"
187 ____DEBUGINFO = /D_DEBUG
189 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
190 ____DEBUGINFO_2_p_1 = /d _DEBUG
192 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
193 ____DEBUGINFO_2_p_1 =
195 !if "$(DEBUG_INFO)" == "0"
196 ____DEBUGINFO_2_p_1 =
198 !if "$(DEBUG_INFO)" == "1"
199 ____DEBUGINFO_2_p_1 = /d _DEBUG
201 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
202 ____DEBUGRUNTIME_12_p =
204 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
205 ____DEBUGRUNTIME_12_p = /D_DEBUG
207 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
208 ____DEBUGRUNTIME_12_p = $(____DEBUGINFO)
210 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
211 ____DEBUGRUNTIME_2_p =
213 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
214 ____DEBUGRUNTIME_2_p = /D_DEBUG
216 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
217 ____DEBUGRUNTIME_2_p = $(____DEBUGINFO)
219 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
220 ____DEBUGRUNTIME_2_p_1 =
222 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
223 ____DEBUGRUNTIME_2_p_1 = /d _DEBUG
225 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
226 ____DEBUGRUNTIME_2_p_1 = $(____DEBUGINFO_2_p_1)
228 !if "$(SHARED)" == "1"
229 __renddll___depname = \
230 $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)250.dll
236 -if not exist $(OBJS) mkdir $(OBJS)
240 all: $(OBJS)\render.exe $(__renddll___depname)
242 $(OBJS)\renddll_renddll.obj: .\renddll.cpp
243 $(CXX) /c /nologo /TP /Fo$@ $(RENDDLL_CXXFLAGS) $**
245 $(OBJS)\render_render.obj: .\render.cpp
246 $(CXX) /c /nologo /TP /Fo$@ $(RENDER_CXXFLAGS) $**
248 $(OBJS)\render_sample.res: .\..\..\samples\sample.rc
249 rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_2_p_1) /d __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) /i .\..\..\include /i $(LIBDIRNAME) /i .\..\..\src\tiff /i .\..\..\src\jpeg /i .\..\..\src\png /i .\..\..\src\zlib /i .\..\..\src\regex /i .\..\..\src\expat\lib /i . $(__DLLFLAG_p_1) /d _WINDOWS $**
252 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
253 -if exist $(OBJS)\*.res del $(OBJS)\*.res
254 -if exist $(OBJS)\render.exe del $(OBJS)\render.exe
255 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)250.dll del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)250.dll
257 !if "$(SHARED)" == "1"
258 $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)250.dll: $(RENDDLL_OBJECTS)
259 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) @<<
260 $(RENDDLL_OBJECTS) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib 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
264 $(OBJS)\render.exe: $(RENDER_OBJECTS) $(OBJS)\render_sample.res
265 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<<
266 $(RENDER_OBJECTS) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib 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