]> git.saurik.com Git - wxWidgets.git/blame - contrib/samples/ogl/studio/makefile.vc
reversed change
[wxWidgets.git] / contrib / samples / ogl / studio / makefile.vc
CommitLineData
fd9f42b6
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# =========================================================================
1fc25a89 6
fd9f42b6 7!include <../../../../build/msw/config.vc>
1fc25a89 8
fd9f42b6
VS
9# -------------------------------------------------------------------------
10# Do not modify the rest of this file!
11# -------------------------------------------------------------------------
1fc25a89 12
fd9f42b6
VS
13### Variables: ###
14
fd9f42b6
VS
15OBJS = \
16 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
34f7e40f
JS
17SETUPHDIR = \
18 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
19STUDIO_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS_7)$(__DEBUGRUNTIME_3) /DWIN32 \
20 $(__DEBUGINFO_0) /Fd$(OBJS)\studio.pdb $(____DEBUGRUNTIME_2_p) \
ec08d395
JS
21 $(__OPTIMIZEFLAG_4) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
22 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I.\..\..\..\..\include \
23 /I$(SETUPHDIR) /W4 /I. $(__DLLFLAG_p) /D_WINDOWS /I.\..\..\..\..\samples \
a4ad36cd
VS
24 /I.\..\..\..\include $(CXXFLAGS) $(__EXCEPTIONSFLAG_8) \
25 $(__EXCEPTIONSFLAG_9)
34f7e40f
JS
26STUDIO_OBJECTS = \
27 $(OBJS)\studio_studio.obj \
28 $(OBJS)\studio_doc.obj \
29 $(OBJS)\studio_shapes.obj \
30 $(OBJS)\studio_symbols.obj \
31 $(OBJS)\studio_view.obj \
32 $(OBJS)\studio_cspalette.obj \
33 $(OBJS)\studio_mainfrm.obj \
34 $(OBJS)\studio_project.obj \
35 $(OBJS)\studio_dialogs.obj \
36 $(OBJS)\studio_csprint.obj \
37 $(OBJS)\studio_studio.res
fd9f42b6
VS
38
39### Conditionally set variables: ###
40
75a0a7b7
VS
41!if "$(SHARED)" == "0"
42LIBDIRNAME = .\..\..\..\..\lib\vc_lib$(CFG)
43!endif
44!if "$(SHARED)" == "1"
45LIBDIRNAME = .\..\..\..\..\lib\vc_dll$(CFG)
46!endif
fd9f42b6
VS
47!if "$(USE_GUI)" == "0"
48PORTNAME = base
49!endif
50!if "$(USE_GUI)" == "1"
51PORTNAME = msw
52!endif
53!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
54WXDEBUGFLAG = d
55!endif
56!if "$(DEBUG_FLAG)" == "1"
57WXDEBUGFLAG = d
58!endif
59!if "$(SHARED)" == "1"
60WXDLLFLAG = dll
61!endif
62!if "$(UNICODE)" == "1"
63WXUNICODEFLAG = u
64!endif
65!if "$(WXUNIV)" == "1"
66WXUNIVNAME = univ
67!endif
68!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
69__DEBUGINFO_0 = /Zi
70!endif
71!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
72__DEBUGINFO_0 =
73!endif
74!if "$(DEBUG_INFO)" == "0"
75__DEBUGINFO_0 =
76!endif
77!if "$(DEBUG_INFO)" == "1"
78__DEBUGINFO_0 = /Zi
79!endif
80!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
81__DEBUGINFO_1 = /DEBUG
82!endif
83!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
84__DEBUGINFO_1 =
85!endif
86!if "$(DEBUG_INFO)" == "0"
87__DEBUGINFO_1 =
88!endif
89!if "$(DEBUG_INFO)" == "1"
90__DEBUGINFO_1 = /DEBUG
91!endif
92!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
93__DEBUGINFO_3 = d
94!endif
95!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
96__DEBUGINFO_3 =
97!endif
98!if "$(DEBUG_INFO)" == "0"
99__DEBUGINFO_3 =
100!endif
101!if "$(DEBUG_INFO)" == "1"
102__DEBUGINFO_3 = d
103!endif
104!if "$(DEBUG_RUNTIME_LIBS)" == "0"
105__DEBUGRUNTIME_3 =
106!endif
107!if "$(DEBUG_RUNTIME_LIBS)" == "1"
108__DEBUGRUNTIME_3 = d
109!endif
110!if "$(DEBUG_RUNTIME_LIBS)" == "default"
111__DEBUGRUNTIME_3 = $(__DEBUGINFO_3)
112!endif
113!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
114__DEBUG_DEFINE_p = /D__WXDEBUG__
115!endif
116!if "$(DEBUG_FLAG)" == "1"
117__DEBUG_DEFINE_p = /D__WXDEBUG__
118!endif
119!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
120__DEBUG_DEFINE_p_1 = /d __WXDEBUG__
121!endif
122!if "$(DEBUG_FLAG)" == "1"
123__DEBUG_DEFINE_p_1 = /d __WXDEBUG__
124!endif
125!if "$(SHARED)" == "1"
126__DLLFLAG_p = /DWXUSINGDLL
127!endif
128!if "$(SHARED)" == "1"
129__DLLFLAG_p_1 = /d WXUSINGDLL
130!endif
a4ad36cd
VS
131!if "$(USE_EXCEPTIONS)" == "0"
132__EXCEPTIONSFLAG_8 =
133!endif
134!if "$(USE_EXCEPTIONS)" == "1"
135__EXCEPTIONSFLAG_8 = /GR
136!endif
137!if "$(USE_EXCEPTIONS)" == "0"
138__EXCEPTIONSFLAG_9 =
139!endif
140!if "$(USE_EXCEPTIONS)" == "1"
141__EXCEPTIONSFLAG_9 = /GX
142!endif
fd9f42b6
VS
143!if "$(USE_GUI)" == "1"
144__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
145!endif
146!if "$(USE_GUI)" == "1"
147__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
148!endif
149!if "$(USE_GUI)" == "1"
150__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
151!endif
ec08d395
JS
152!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
153__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
154!endif
155!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
156__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
157!endif
158!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
159__NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
160!endif
161!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
162__NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
163!endif
fd9f42b6
VS
164!if "$(BUILD)" == "debug"
165__OPTIMIZEFLAG_4 = /Od
166!endif
167!if "$(BUILD)" == "release"
168__OPTIMIZEFLAG_4 = /O2
169!endif
170!if "$(RUNTIME_LIBS)" == "dynamic"
171__RUNTIME_LIBS_7 = D
172!endif
173!if "$(RUNTIME_LIBS)" == "static"
174__RUNTIME_LIBS_7 = T
1fc25a89 175!endif
fd9f42b6 176!if "$(UNICODE)" == "1"
ec08d395 177__UNICODE_DEFINE_p = /D_UNICODE
fd9f42b6
VS
178!endif
179!if "$(UNICODE)" == "1"
ec08d395 180__UNICODE_DEFINE_p_1 = /d _UNICODE
fd9f42b6 181!endif
2265a2d5
VS
182!if "$(MSLU)" == "1"
183__UNICOWS_LIB_p = unicows.lib
184!endif
fd9f42b6 185!if "$(MONOLITHIC)" == "0"
34f7e40f
JS
186__WXLIB_ADV_p = \
187 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_adv.lib
188!endif
189!if "$(MONOLITHIC)" == "0"
fd9f42b6
VS
190__WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
191!endif
192!if "$(MONOLITHIC)" == "0"
193__WXLIB_CORE_p = \
194 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
195!endif
ec08d395
JS
196!if "$(MONOLITHIC)" == "0"
197__WXLIB_HTML_p = \
198 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html.lib
199!endif
fd9f42b6
VS
200!if "$(MONOLITHIC)" == "1"
201__WXLIB_MONO_p = \
202 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
203!endif
204!if "$(WXUNIV)" == "1"
205__WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
206!endif
207!if "$(WXUNIV)" == "1"
208__WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
209!endif
210!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
211____DEBUGINFO_2_p = /D_DEBUG
212!endif
213!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
214____DEBUGINFO_2_p =
215!endif
216!if "$(DEBUG_INFO)" == "0"
217____DEBUGINFO_2_p =
218!endif
219!if "$(DEBUG_INFO)" == "1"
220____DEBUGINFO_2_p = /D_DEBUG
221!endif
222!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
223____DEBUGINFO_2_p_1 = /d _DEBUG
224!endif
225!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
226____DEBUGINFO_2_p_1 =
227!endif
228!if "$(DEBUG_INFO)" == "0"
229____DEBUGINFO_2_p_1 =
230!endif
231!if "$(DEBUG_INFO)" == "1"
232____DEBUGINFO_2_p_1 = /d _DEBUG
233!endif
234!if "$(DEBUG_RUNTIME_LIBS)" == "0"
235____DEBUGRUNTIME_2_p =
236!endif
237!if "$(DEBUG_RUNTIME_LIBS)" == "1"
238____DEBUGRUNTIME_2_p = /D_DEBUG
239!endif
240!if "$(DEBUG_RUNTIME_LIBS)" == "default"
241____DEBUGRUNTIME_2_p = $(____DEBUGINFO_2_p)
242!endif
243!if "$(DEBUG_RUNTIME_LIBS)" == "0"
244____DEBUGRUNTIME_2_p_1 =
245!endif
246!if "$(DEBUG_RUNTIME_LIBS)" == "1"
247____DEBUGRUNTIME_2_p_1 = /d _DEBUG
248!endif
249!if "$(DEBUG_RUNTIME_LIBS)" == "default"
250____DEBUGRUNTIME_2_p_1 = $(____DEBUGINFO_2_p_1)
251!endif
252
253
254all: $(OBJS)
255$(OBJS):
256 -if not exist $(OBJS) mkdir $(OBJS)
257
258### Targets: ###
259
34f7e40f 260all: $(OBJS)\studio.exe data
fd9f42b6 261
34f7e40f
JS
262$(OBJS)\studio_cspalette.obj: .\cspalette.cpp
263 $(CXX) /c /nologo /TP /Fo$@ $(STUDIO_CXXFLAGS) $**
fd9f42b6 264
34f7e40f
JS
265$(OBJS)\studio_csprint.obj: .\csprint.cpp
266 $(CXX) /c /nologo /TP /Fo$@ $(STUDIO_CXXFLAGS) $**
fd9f42b6 267
34f7e40f
JS
268$(OBJS)\studio_dialogs.obj: .\dialogs.cpp
269 $(CXX) /c /nologo /TP /Fo$@ $(STUDIO_CXXFLAGS) $**
fd9f42b6 270
34f7e40f
JS
271$(OBJS)\studio_doc.obj: .\doc.cpp
272 $(CXX) /c /nologo /TP /Fo$@ $(STUDIO_CXXFLAGS) $**
fd9f42b6 273
34f7e40f
JS
274$(OBJS)\studio_mainfrm.obj: .\mainfrm.cpp
275 $(CXX) /c /nologo /TP /Fo$@ $(STUDIO_CXXFLAGS) $**
fd9f42b6 276
34f7e40f
JS
277$(OBJS)\studio_project.obj: .\project.cpp
278 $(CXX) /c /nologo /TP /Fo$@ $(STUDIO_CXXFLAGS) $**
fd9f42b6 279
34f7e40f
JS
280$(OBJS)\studio_shapes.obj: .\shapes.cpp
281 $(CXX) /c /nologo /TP /Fo$@ $(STUDIO_CXXFLAGS) $**
fd9f42b6 282
34f7e40f
JS
283$(OBJS)\studio_studio.obj: .\studio.cpp
284 $(CXX) /c /nologo /TP /Fo$@ $(STUDIO_CXXFLAGS) $**
fd9f42b6 285
34f7e40f 286$(OBJS)\studio_studio.res: .\studio.rc
ec08d395 287 rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_2_p_1) $(__NO_VC_CRTDBG_p_1) /d __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) /i .\..\..\..\..\include /i $(SETUPHDIR) /i . $(__DLLFLAG_p_1) /d _WINDOWS /i .\..\..\..\..\samples /i .\..\..\..\include $**
fd9f42b6 288
34f7e40f
JS
289$(OBJS)\studio_symbols.obj: .\symbols.cpp
290 $(CXX) /c /nologo /TP /Fo$@ $(STUDIO_CXXFLAGS) $**
fd9f42b6 291
34f7e40f
JS
292$(OBJS)\studio_view.obj: .\view.cpp
293 $(CXX) /c /nologo /TP /Fo$@ $(STUDIO_CXXFLAGS) $**
1fc25a89 294
fd9f42b6
VS
295clean:
296 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
297 -if exist $(OBJS)\*.res del $(OBJS)\*.res
34f7e40f 298 -if exist $(OBJS)\studio.exe del $(OBJS)\studio.exe
ec08d395
JS
299 -if exist $(OBJS)\studio.ilk del $(OBJS)\studio.ilk
300 -if exist $(OBJS)\studio.pdb del $(OBJS)\studio.pdb
1fc25a89 301
fd9f42b6
VS
302data:
303 if not exist $(OBJS) mkdir $(OBJS)
304 for %f in (studio_resources.wxr) do if not exist $(OBJS)\%f copy .\%f $(OBJS)
1fc25a89 305
34f7e40f 306$(OBJS)\studio.exe: $(STUDIO_OBJECTS) $(OBJS)\studio_studio.res
75a0a7b7 307 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<<
ec08d395 308 $(STUDIO_OBJECTS) wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib $(__WXLIB_ADV_p) $(__WXLIB_HTML_p) $(__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 $(__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
fd9f42b6 309<<