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