4 <include file=
"common.bkl"/>
7 <!-- =============================================================== -->
8 <!-- Template for wxWindows samples: -->
9 <!-- =============================================================== -->
11 <if cond=
"FORMAT=='autoconf'">
12 <set var=
"MACOSX_RESOURCES">
13 <if cond=
"TOOLKIT=='MAC'">
14 Carbon.r ../../lib/libwx_$(TOOLCHAIN_NAME).$(WXSOVERSION[
0]).r
19 <template id=
"wx_sample" template=
"wx">
20 <include>$(SRCDIR)
</include>
21 <!-- Always link against the wxWin library in monolithic build: -->
22 <sys-lib>$(WXLIB_MONO)
</sys-lib>
23 <ldflags>$(SAMPLES_RPATH_FLAG)
</ldflags>
25 <mac-res cond=
"FORMAT=='autoconf'">$(MACOSX_RESOURCES)
</mac-res>
29 <!-- =============================================================== -->
30 <!-- Support for samples data files: -->
31 <!-- =============================================================== -->
33 <define-rule name=
"wx-data" extends=
"copy-files">
35 <dependency-of>all
</dependency-of>
36 <dstdir>$(BUILDDIR)
</dstdir>
37 <srcdir>$(SRCDIR)
</srcdir>
39 <define-tag name=
"files">
41 $(' '.join(['$(BUILDDIR)$(DIRSEP)%s'%x for x in value.split()]))