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