]> git.saurik.com Git - wxWidgets.git/blob - build/bakefiles/common_contrib.bkl
animateg.cpp shouldn't be in UNIV_SRC as it belongs to adv library, not core one
[wxWidgets.git] / build / bakefiles / common_contrib.bkl
1 <?xml version="1.0" ?>
2 <!-- $Id$ -->
3
4 <makefile>
5
6 <if cond="not isdefined('file_common_samples_included')">
7 <include file="common.bkl"/>
8 </if>
9
10 <set var="CONTRIB_HDR_DIR" overwrite="0">$(SRCDIR)/../../include</set>
11
12 <!-- =============================================================== -->
13 <!-- Contrib lib helpers: -->
14 <!-- =============================================================== -->
15
16 <template id="wx_contrib_lib" template="wx_lib_b">
17 <include>$(CONTRIB_HDR_DIR)</include>
18 </template>
19
20 <if cond="isdefined('file_common_samples_included')">
21 <template id="wx_contrib_sample" template="wx_sample">
22 <include>$(CONTRIB_HDR_DIR)</include>
23 </template>
24 <template id="wx_contrib_util" template="wx_util">
25 <include>$(CONTRIB_HDR_DIR)</include>
26 </template>
27 </if>
28
29 <template id="wx_contrib_dll"
30 template="wx_dll_b" template_append="wx_append">
31 <include>$(CONTRIB_HDR_DIR)</include>
32 </template>
33
34 <template id="wx_contrib_headers">
35 <srcdir>$(CONTRIB_HDR_DIR)</srcdir>
36 <install-to>$(INCLUDEDIR)/wx-$(WX_RELEASE)$(WX_FLAVOUR)</install-to>
37 </template>
38
39 <!-- Link against one contrib library. Value must be literal! -->
40 <define-tag name="contrib-lib" rules="exe,dll,module">
41 <sys-lib>$(wxwin.libToLink(value))</sys-lib>
42 <ldlibs>$(wxwin.extraLdflags(value))</ldlibs>
43 <if cond="IS_MSVC_PRJ=='1' and MONOLITHIC=='0'">
44 <depends-on-dsp>
45 $(wxwin.makeContribDspDependency(value))
46 </depends-on-dsp>
47 </if>
48 </define-tag>
49
50 </makefile>