diff options
author | Alan Coopersmith <Alan.Coopersmith@sun.com> | 2005-10-06 19:59:26 +0000 |
---|---|---|
committer | Alan Coopersmith <Alan.Coopersmith@sun.com> | 2005-10-06 19:59:26 +0000 |
commit | 2770233069d3845c681bea8eccff22e92254487e (patch) | |
tree | b3237cc2df1b82328201a14d56fbca1815804a1e /hw/dmx | |
parent | 460145a5d52b5325fa5e920cee3699fcf7dd9afe (diff) |
Don't build "ev" example on systems without <linux/input.h>
Diffstat (limited to 'hw/dmx')
-rw-r--r-- | hw/dmx/examples/Makefile.am | 7 |
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@ |