]>
Commit | Line | Data |
---|---|---|
fe0895cf VS |
1 | <?xml version="1.0" ?> |
2 | <makefile> | |
3 | ||
4 | <include file="../../build/bakefiles/common_samples.bkl"/> | |
5 | ||
ebe887ed VZ |
6 | <if cond="FORMAT=='gnu'"> |
7 | <!-- as we can't (easily) test for GUI, build them always --> | |
8 | <set var="cond_build_gui">1</set> | |
9 | </if> | |
10 | <if cond="FORMAT!='gnu'"> | |
11 | <set var="cond_build_gui">USE_GUI=='1'</set> | |
12 | </if> | |
13 | ||
14 | <exe id="ipcclient" template="wx_sample" template_append="wx_append" cond="$(cond_build_gui)"> | |
d179e30b | 15 | <sources>client.cpp</sources> |
076218c2 | 16 | <headers>client.h connection.h ipcsetup.h</headers> |
fe0895cf | 17 | <wx-lib>core</wx-lib> |
d179e30b VS |
18 | <wx-lib>net</wx-lib> |
19 | <wx-lib>base</wx-lib> | |
20 | </exe> | |
7dc467c5 | 21 | |
ebe887ed | 22 | <exe id="ipcserver" template="wx_sample" template_append="wx_append" cond="$(cond_build_gui)"> |
d179e30b | 23 | <sources>server.cpp</sources> |
076218c2 | 24 | <headers>server.h connection.h ipcsetup.h</headers> |
d179e30b VS |
25 | <wx-lib>core</wx-lib> |
26 | <wx-lib>net</wx-lib> | |
9c859e43 | 27 | <wx-lib>base</wx-lib> |
fe0895cf VS |
28 | </exe> |
29 | ||
b721db10 VS |
30 | <!-- WinCE doesn't have console applications: --> |
31 | <if cond="FORMAT!='msevc4prj'"> | |
32 | <exe id="baseipcclient" template="wx_sample_console" template_append="wx_append_base"> | |
33 | <sources>baseclient.cpp</sources> | |
076218c2 | 34 | <headers>connection.h ipcsetup.h</headers> |
b721db10 VS |
35 | <wx-lib>net</wx-lib> |
36 | <wx-lib>base</wx-lib> | |
37 | </exe> | |
ebe887ed | 38 | |
b721db10 VS |
39 | <exe id="baseipcserver" template="wx_sample_console" template_append="wx_append_base"> |
40 | <sources>baseserver.cpp</sources> | |
076218c2 | 41 | <headers>connection.h ipcsetup.h</headers> |
b721db10 VS |
42 | <wx-lib>net</wx-lib> |
43 | <wx-lib>base</wx-lib> | |
44 | </exe> | |
45 | </if> | |
ebe887ed | 46 | |
fe0895cf | 47 | </makefile> |