mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-27 02:09:56 +00:00
Don't try to build dmx/input/lnx-*.c if <linux/keyboard.h> isn't found
Don't try to build dmx/input/usb-*.c if <linux/input.h> isn't found
Replace -rdynamic with $(LD_EXPORT_SYMBOLS_FLAG) for compatibility with
compilers other than gcc
This commit is contained in:
parent
825a95a1fa
commit
9657e0e9de
4 changed files with 26 additions and 1 deletions
|
|
@ -1,12 +1,15 @@
|
|||
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 \
|
||||
|
|
@ -16,6 +19,7 @@ USBSRCS = usb-keyboard.c \
|
|||
usb-common.c \
|
||||
usb-common.h \
|
||||
usb-private.h
|
||||
endif
|
||||
|
||||
DRVSRCS = dmxdummy.c \
|
||||
dmxdummy.h \
|
||||
|
|
|
|||
Loading…
Reference in a new issue