6 <if cond=
"not isdefined('file_common_samples_included')">
7 <include file=
"common.bkl"/>
10 <set var=
"CONTRIB_HDR_DIR" overwrite=
"0">$(SRCDIR)/../../include
</set>
12 <!-- =============================================================== -->
13 <!-- Contrib lib helpers: -->
14 <!-- =============================================================== -->
16 <template id=
"wx_contrib_lib" template=
"wx_lib_b">
17 <include>$(CONTRIB_HDR_DIR)
</include>
20 <if cond=
"isdefined('file_common_samples_included')">
21 <template id=
"wx_contrib_sample" template=
"wx_sample">
22 <include>$(CONTRIB_HDR_DIR)
</include>
24 <template id=
"wx_contrib_util" template=
"wx_util">
25 <include>$(CONTRIB_HDR_DIR)
</include>
29 <template id=
"wx_contrib_dll"
30 template=
"wx_dll_b" template_append=
"wx_append">
31 <include>$(CONTRIB_HDR_DIR)
</include>
34 <template id=
"wx_contrib_headers">
35 <srcdir>$(CONTRIB_HDR_DIR)
</srcdir>
36 <install-to>$(INCLUDEDIR)/wx-$(WX_RELEASE)$(WX_FLAVOUR)
</install-to>
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'">
45 $(wxwin.makeContribDspDependency(value))