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