]> git.saurik.com Git - wxWidgets.git/blame - contrib/build/animate/makefile.vc
Added wxTreeListCtrl: patch [ 883529 ] wxTreeListCltr
[wxWidgets.git] / contrib / build / animate / makefile.vc
CommitLineData
250700e4
RD
1# =========================================================================
2# This makefile was generated by
b17c1746 3# Bakefile 0.1.2 (http://bakefile.sourceforge.net)
250700e4
RD
4# Do not modify, all changes will be overwritten!
5# =========================================================================
6
fd9f42b6 7!include <../../../build/msw/config.vc>
250700e4
RD
8
9# -------------------------------------------------------------------------
10# Do not modify the rest of this file!
11# -------------------------------------------------------------------------
12
13### Variables: ###
14
b17c1746
DE
15OBJS = \
16 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
17SETUPHDIR = \
18 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
9bfe7ad9 19ANIMATEDLL_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_3) /DWIN32 \
b17c1746 20 $(__DEBUGINFO) \
ec08d395
JS
21 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_vc$(VENDORTAG).pdb \
22 $(____DEBUGRUNTIME_2_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
23 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
24 /I..\..\src\animate\..\..\..\include /I$(SETUPHDIR) /W4 \
3f55f5b8 25 /I..\..\src\animate\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_ANIMATE \
9bfe7ad9
VS
26 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) /Yu"wx/wxprec.h" \
27 /Fp"$(OBJS)\wxprec_animatedll.pch" $(CPPFLAGS) $(CXXFLAGS)
3f55f5b8
VS
28ANIMATEDLL_OBJECTS = \
29 $(OBJS)\animatedll_dummy.obj \
30 $(OBJS)\animatedll_animate.obj
9bfe7ad9 31ANIMATELIB_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_15) /DWIN32 \
b17c1746 32 $(__DEBUGINFO) \
3f55f5b8 33 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.pdb \
a4ad36cd 34 $(____DEBUGRUNTIME_14_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
ec08d395
JS
35 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
36 /I..\..\src\animate\..\..\..\include /I$(SETUPHDIR) /W4 \
9bfe7ad9
VS
37 /I..\..\src\animate\..\..\include $(__EXCEPTIONSFLAG) \
38 $(__EXCEPTIONSFLAG_0) /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_animatelib.pch" \
39 $(CPPFLAGS) $(CXXFLAGS)
3f55f5b8
VS
40ANIMATELIB_OBJECTS = \
41 $(OBJS)\animatelib_dummy.obj \
42 $(OBJS)\animatelib_animate.obj
250700e4
RD
43
44### Conditionally set variables: ###
45
46!if "$(USE_GUI)" == "0"
47PORTNAME = base
48!endif
49!if "$(USE_GUI)" == "1"
50PORTNAME = msw
51!endif
52!if "$(OFFICIAL_BUILD)" == "0"
53VENDORTAG = _$(VENDOR)
54!endif
55!if "$(OFFICIAL_BUILD)" == "1"
56VENDORTAG =
57!endif
3f55f5b8
VS
58!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
59WXDEBUGFLAG = d
60!endif
61!if "$(DEBUG_FLAG)" == "1"
250700e4
RD
62WXDEBUGFLAG = d
63!endif
250700e4
RD
64!if "$(UNICODE)" == "1"
65WXUNICODEFLAG = u
66!endif
67!if "$(WXUNIV)" == "1"
68WXUNIVNAME = univ
69!endif
b17c1746
DE
70!if "$(SHARED)" == "1"
71WXDLLFLAG = dll
250700e4 72!endif
b17c1746
DE
73!if "$(SHARED)" == "1"
74__animatedll___depname = \
75 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_vc$(VENDORTAG).dll
250700e4 76!endif
3f55f5b8
VS
77!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
78__DEBUGINFO_1 = /DEBUG
250700e4 79!endif
3f55f5b8
VS
80!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
81__DEBUGINFO_1 =
250700e4 82!endif
3f55f5b8
VS
83!if "$(DEBUG_INFO)" == "0"
84__DEBUGINFO_1 =
85!endif
86!if "$(DEBUG_INFO)" == "1"
87__DEBUGINFO_1 = /DEBUG
88!endif
3f55f5b8 89!if "$(DEBUG_RUNTIME_LIBS)" == "0"
b17c1746 90____DEBUGRUNTIME_2_p =
3f55f5b8
VS
91!endif
92!if "$(DEBUG_RUNTIME_LIBS)" == "1"
b17c1746 93____DEBUGRUNTIME_2_p = /D_DEBUG
3f55f5b8
VS
94!endif
95!if "$(DEBUG_RUNTIME_LIBS)" == "default"
b17c1746 96____DEBUGRUNTIME_2_p = $(____DEBUGINFO)
3f55f5b8
VS
97!endif
98!if "$(DEBUG_RUNTIME_LIBS)" == "0"
99__DEBUGRUNTIME_3 =
100!endif
101!if "$(DEBUG_RUNTIME_LIBS)" == "1"
102__DEBUGRUNTIME_3 = d
103!endif
104!if "$(DEBUG_RUNTIME_LIBS)" == "default"
b17c1746 105__DEBUGRUNTIME_3 = $(__DEBUGINFO_2)
a4ad36cd 106!endif
b17c1746
DE
107!if "$(MONOLITHIC)" == "1"
108__WXLIB_MONO_p = \
109 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
a4ad36cd 110!endif
b17c1746
DE
111!if "$(USE_GUI)" == "1"
112__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
a4ad36cd 113!endif
3f55f5b8
VS
114!if "$(USE_GUI)" == "1"
115__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
116!endif
117!if "$(USE_GUI)" == "1"
118__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
119!endif
b17c1746
DE
120!if "$(MSLU)" == "1"
121__UNICOWS_LIB_p = unicows.lib
3f55f5b8 122!endif
b17c1746
DE
123!if "$(MONOLITHIC)" == "0"
124__WXLIB_CORE_p = \
125 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
ec08d395 126!endif
b17c1746
DE
127!if "$(MONOLITHIC)" == "0"
128__WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
ec08d395 129!endif
b17c1746
DE
130!if "$(SHARED)" == "0"
131__animatelib___depname = \
132 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib
250700e4 133!endif
b17c1746
DE
134!if "$(DEBUG_RUNTIME_LIBS)" == "0"
135____DEBUGRUNTIME_14_p =
250700e4 136!endif
b17c1746
DE
137!if "$(DEBUG_RUNTIME_LIBS)" == "1"
138____DEBUGRUNTIME_14_p = /D_DEBUG
250700e4 139!endif
b17c1746
DE
140!if "$(DEBUG_RUNTIME_LIBS)" == "default"
141____DEBUGRUNTIME_14_p = $(____DEBUGINFO)
250700e4 142!endif
b17c1746
DE
143!if "$(DEBUG_RUNTIME_LIBS)" == "0"
144__DEBUGRUNTIME_15 =
250700e4 145!endif
b17c1746
DE
146!if "$(DEBUG_RUNTIME_LIBS)" == "1"
147__DEBUGRUNTIME_15 = d
2265a2d5 148!endif
b17c1746
DE
149!if "$(DEBUG_RUNTIME_LIBS)" == "default"
150__DEBUGRUNTIME_15 = $(__DEBUGINFO_2)
250700e4 151!endif
b17c1746
DE
152!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
153__DEBUGINFO = /Zi
250700e4 154!endif
b17c1746
DE
155!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
156__DEBUGINFO =
250700e4 157!endif
b17c1746
DE
158!if "$(DEBUG_INFO)" == "0"
159__DEBUGINFO =
160!endif
161!if "$(DEBUG_INFO)" == "1"
162__DEBUGINFO = /Zi
250700e4 163!endif
3f55f5b8
VS
164!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
165____DEBUGINFO = /D_DEBUG
bdc408c4 166!endif
3f55f5b8 167!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
e2d1c567 168____DEBUGINFO =
3f55f5b8
VS
169!endif
170!if "$(DEBUG_INFO)" == "0"
e2d1c567 171____DEBUGINFO =
3f55f5b8
VS
172!endif
173!if "$(DEBUG_INFO)" == "1"
174____DEBUGINFO = /D_DEBUG
175!endif
b17c1746
DE
176!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
177__DEBUGINFO_2 = d
3f55f5b8 178!endif
b17c1746
DE
179!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
180__DEBUGINFO_2 =
3f55f5b8 181!endif
b17c1746
DE
182!if "$(DEBUG_INFO)" == "0"
183__DEBUGINFO_2 =
3f55f5b8 184!endif
b17c1746
DE
185!if "$(DEBUG_INFO)" == "1"
186__DEBUGINFO_2 = d
3f55f5b8 187!endif
b17c1746
DE
188!if "$(BUILD)" == "debug"
189__OPTIMIZEFLAG = /Od
3f55f5b8 190!endif
b17c1746
DE
191!if "$(BUILD)" == "release"
192__OPTIMIZEFLAG = /O2
bdc408c4 193!endif
b17c1746
DE
194!if "$(RUNTIME_LIBS)" == "dynamic"
195__RUNTIME_LIBS = D
196!endif
197!if "$(RUNTIME_LIBS)" == "static"
198__RUNTIME_LIBS = T
199!endif
200!if "$(USE_EXCEPTIONS)" == "0"
201__EXCEPTIONSFLAG =
202!endif
203!if "$(USE_EXCEPTIONS)" == "1"
204__EXCEPTIONSFLAG = /GR
205!endif
206!if "$(USE_EXCEPTIONS)" == "0"
207__EXCEPTIONSFLAG_0 =
208!endif
209!if "$(USE_EXCEPTIONS)" == "1"
210__EXCEPTIONSFLAG_0 = /GX
211!endif
212!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
213__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
214!endif
215!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
216__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
217!endif
218!if "$(WXUNIV)" == "1"
219__WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
220!endif
221!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
222__DEBUG_DEFINE_p = /D__WXDEBUG__
223!endif
224!if "$(DEBUG_FLAG)" == "1"
225__DEBUG_DEFINE_p = /D__WXDEBUG__
226!endif
227!if "$(UNICODE)" == "1"
228__UNICODE_DEFINE_p = /D_UNICODE
250700e4
RD
229!endif
230!if "$(SHARED)" == "0"
b17c1746
DE
231LIBDIRNAME = ..\..\src\animate\..\..\..\lib\vc_lib$(CFG)
232!endif
233!if "$(SHARED)" == "1"
234LIBDIRNAME = ..\..\src\animate\..\..\..\lib\vc_dll$(CFG)
250700e4
RD
235!endif
236
237
238all: $(OBJS)
239$(OBJS):
240 -if not exist $(OBJS) mkdir $(OBJS)
241
242### Targets: ###
243
244all: $(__animatedll___depname) $(__animatelib___depname)
245
b17c1746
DE
246clean:
247 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
248 -if exist $(OBJS)\*.res del $(OBJS)\*.res
249 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_vc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_vc$(VENDORTAG).dll
250 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_vc$(VENDORTAG).ilk del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_vc$(VENDORTAG).ilk
251 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_vc$(VENDORTAG).pdb del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_vc$(VENDORTAG).pdb
252 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib
253 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib
250700e4
RD
254
255!if "$(SHARED)" == "1"
ec08d395 256$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_vc$(VENDORTAG).dll: $(OBJS)\animatedll_dummy.obj $(ANIMATEDLL_OBJECTS)
3f55f5b8 257 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) @<<
b92ca05a 258 $(ANIMATEDLL_OBJECTS) $(__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 ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib odbc32.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) /IMPLIB:$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib
250700e4
RD
259<<
260!endif
261
262!if "$(SHARED)" == "0"
75a0a7b7 263$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib: $(OBJS)\animatelib_dummy.obj $(ANIMATELIB_OBJECTS)
250700e4
RD
264 if exist $@ del $@
265 lib /NOLOGO /OUT:$@ @<<
3f55f5b8 266 $(ANIMATELIB_OBJECTS)
250700e4
RD
267<<
268!endif
269
b17c1746
DE
270$(OBJS)\animatedll_dummy.obj: ../../src/animate\..\..\..\src\msw\dummy.cpp
271 $(CXX) /c /nologo /TP /Fo$@ $(ANIMATEDLL_CXXFLAGS) /Ycwx/wxprec.h $**
272
273$(OBJS)\animatedll_animate.obj: ../../src/animate\animate.cpp
274 $(CXX) /c /nologo /TP /Fo$@ $(ANIMATEDLL_CXXFLAGS) $**
275
276$(OBJS)\animatelib_dummy.obj: ../../src/animate\..\..\..\src\msw\dummy.cpp
277 $(CXX) /c /nologo /TP /Fo$@ $(ANIMATELIB_CXXFLAGS) /Ycwx/wxprec.h $**
278
279$(OBJS)\animatelib_animate.obj: ../../src/animate\animate.cpp
280 $(CXX) /c /nologo /TP /Fo$@ $(ANIMATELIB_CXXFLAGS) $**