This code was broken anyway. Note that DEVICE_OFF would make dmx think _no_ devices were using SIGIO anymore, which means 'xinput disable' on your mouse would probably do weird things to your keyboard too. Rather than try to repair that and keep SIGIO working on this one niche DDX, just rip it out and use the thread model like everyone else. Signed-off-by: Adam Jackson <ajax@redhat.com> Acked-by: Keith Packard <keithp@keithp.com>
66 lines
1.4 KiB
Makefile
66 lines
1.4 KiB
Makefile
noinst_LIBRARIES = libdmxinput.a
|
|
|
|
if DMX_BUILD_LNX
|
|
RAWSRCS = lnx-keyboard.c \
|
|
lnx-keyboard.h \
|
|
lnx-ms.c \
|
|
lnx-ms.h \
|
|
lnx-ps2.c \
|
|
lnx-ps2.h
|
|
endif
|
|
|
|
if DMX_BUILD_USB
|
|
USBSRCS = usb-keyboard.c \
|
|
usb-keyboard.h \
|
|
usb-mouse.c \
|
|
usb-mouse.h \
|
|
usb-other.c \
|
|
usb-other.h \
|
|
usb-common.c \
|
|
usb-common.h \
|
|
usb-private.h
|
|
endif
|
|
|
|
DRVSRCS = dmxdummy.c \
|
|
dmxdummy.h \
|
|
dmxbackend.c \
|
|
dmxbackend.h \
|
|
dmxconsole.c \
|
|
dmxconsole.h \
|
|
dmxcommon.c \
|
|
dmxcommon.h
|
|
|
|
DMXSRCS = dmxinputinit.c \
|
|
dmxinputinit.h \
|
|
dmxarg.c \
|
|
dmxarg.h \
|
|
dmxevents.c \
|
|
dmxevents.h \
|
|
dmxxinput.c \
|
|
dmxmotion.c \
|
|
dmxmotion.h \
|
|
dmxmap.c \
|
|
dmxmap.h
|
|
|
|
|
|
libdmxinput_a_SOURCES = ChkNotMaskEv.c \
|
|
ChkNotMaskEv.h \
|
|
atKeynames.h \
|
|
$(RAWSRCS) \
|
|
$(USBSRCS) \
|
|
$(DRVSRCS) \
|
|
$(DMXSRCS) \
|
|
$(LIBSRCS)
|
|
|
|
if GLX
|
|
GLX_DEFS = @GL_CFLAGS@
|
|
endif
|
|
|
|
AM_CFLAGS = $(DIX_CFLAGS) \
|
|
-I$(top_srcdir)/hw/dmx \
|
|
-DHAVE_DMX_CONFIG_H \
|
|
$(GLX_DEFS) \
|
|
@DMXMODULES_CFLAGS@
|
|
|
|
EXTRA_DIST = dmxdetach.c
|