]>
Commit | Line | Data |
---|---|---|
cecc483e VS |
1 | <?xml version="1.0" ?> |
2 | <makefile> | |
3 | ||
79813cca | 4 | <include file="../../build/bakefiles/common_samples.bkl"/> |
cecc483e | 5 | |
25f7985e VS |
6 | <exe id="wxrc" cond="USE_XRC=='1'" |
7 | template="wx_util_console" template_append="wx_append"> | |
cecc483e VS |
8 | <sources>wxrc.cpp</sources> |
9 | <wx-lib>xml</wx-lib> | |
10 | <wx-lib>base</wx-lib> | |
16fd9642 | 11 | <install-to>$(BINDIR)</install-to> |
cecc483e VS |
12 | </exe> |
13 | ||
25f7985e VS |
14 | <if cond="FORMAT=='autoconf'"> |
15 | ||
16 | <!-- Install wxrc as $prefix/bin/wxrc-$version with a wxrc symlink | |
17 | pointing to it, so that users can use wxrc from different | |
18 | versions. --> | |
19 | ||
20 | <set var="versioned_name">wxrc-$(WX_RELEASE)</set> | |
21 | <modify-target target="install_wxrc"> | |
22 | <command> | |
23 | mv -f $(DESTDIR)$(BINDIR)/wxrc$(EXEEXT) $(DESTDIR)$(BINDIR)/$(versioned_name) | |
24 | (cd $(DESTDIR)$(BINDIR) && $(LN_S) $(versioned_name) wxrc$(EXEEXT)) | |
25 | </command> | |
26 | </modify-target> | |
27 | </if> | |
28 | ||
cecc483e | 29 | </makefile> |