]> git.saurik.com Git - wxWidgets.git/blob - build/bakefiles/common_contrib.bkl
added ability to build contrib samples
[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">$(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 </if>
25
26 <template id="wx_contrib_dll"
27 template="wx_dll_b" template_append="wx_append">
28 <include>$(CONTRIB_HDR_DIR)</include>
29 <!-- Always link against the wxWin library in monolithic build: -->
30 <sys-lib>$(WXLIB_MONO)</sys-lib>
31 </template>
32
33
34 <template id="wx_contrib_headers">
35 <srcdir>$(CONTRIB_HDR_DIR)</srcdir>
36 </template>
37
38 </makefile>