summaryrefslogtreecommitdiff
path: root/hw/dmx
diff options
context:
space:
mode:
authorAlan Coopersmith <Alan.Coopersmith@sun.com>2005-10-06 19:59:26 +0000
committerAlan Coopersmith <Alan.Coopersmith@sun.com>2005-10-06 19:59:26 +0000
commit2770233069d3845c681bea8eccff22e92254487e (patch)
treeb3237cc2df1b82328201a14d56fbca1815804a1e /hw/dmx
parent460145a5d52b5325fa5e920cee3699fcf7dd9afe (diff)
Don't build "ev" example on systems without <linux/input.h>
Diffstat (limited to 'hw/dmx')
-rw-r--r--hw/dmx/examples/Makefile.am7
1 files changed, 6 insertions, 1 deletions
diff --git a/hw/dmx/examples/Makefile.am b/hw/dmx/examples/Makefile.am
index 14359bc69..9a7f19e25 100644
--- a/hw/dmx/examples/Makefile.am
+++ b/hw/dmx/examples/Makefile.am
@@ -1,8 +1,13 @@
+if DMX_BUILD_USB
+# Requires <linux/input.h>
+EV_PROG = ev
+endif
+
bin_PROGRAMS = \
xdmx dmxwininfo dmxreconfig dmxresize \
dmxaddscreen dmxrmscreen \
dmxaddinput dmxrminput
-noinst_PROGRAMS = xinput xtest evi res xled xbell ev
+noinst_PROGRAMS = xinput xtest evi res xled xbell $(EV_PROG)
xdmx_SOURCES = xdmx.c
xdmx_LDADD = @DMXEXAMPLES_DEP_LIBS@