]>
Commit | Line | Data |
---|---|---|
fab9850d | 1 | <?xml version="1.0" ?> |
3560dc76 VS |
2 | <!-- $Id$ --> |
3 | ||
fab9850d VS |
4 | <makefile> |
5 | ||
3560dc76 VS |
6 | <if cond="not isdefined('file_common_samples_included')"> |
7 | <include file="common.bkl"/> | |
8 | </if> | |
fab9850d | 9 | |
78472326 | 10 | <set var="CONTRIB_HDR_DIR" overwrite="0">$(SRCDIR)/../../include</set> |
fab9850d VS |
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 | ||
3560dc76 VS |
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> | |
61a85e84 VS |
24 | <template id="wx_contrib_util" template="wx_util"> |
25 | <include>$(CONTRIB_HDR_DIR)</include> | |
26 | </template> | |
3560dc76 VS |
27 | </if> |
28 | ||
fab9850d VS |
29 | <template id="wx_contrib_dll" |
30 | template="wx_dll_b" template_append="wx_append"> | |
31 | <include>$(CONTRIB_HDR_DIR)</include> | |
fab9850d | 32 | </template> |
3560dc76 | 33 | |
fab9850d VS |
34 | <template id="wx_contrib_headers"> |
35 | <srcdir>$(CONTRIB_HDR_DIR)</srcdir> | |
a1bf307a | 36 | <install-to>$(INCLUDEDIR)/wx-$(WX_RELEASE)$(WX_FLAVOUR)</install-to> |
c74caa09 | 37 | </template> |
2edad6fc MW |
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 | ||
fab9850d | 50 | </makefile> |