xserver-multidpi/hw/dmx/input/Makefile.am
Dan Nicholson e1c8ee2157 Don't reuse PKG_CHECK_MODULES identifiers
Using GL for the PKG_CHECK_MODULES identifier multiple times means only
the first call will actually be used. Later calls will be skipped due to
GL_CFLAGS and GL_LIBS already being set. This changes DRI to using a
different identifier and DMX to just reusing GL_CFLAGS.

Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
2009-01-18 09:49:06 -08:00

70 lines
1.5 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 \
dmxsigio.c \
dmxsigio.h \
dmxevents.c \
dmxevents.h \
dmxxinput.c \
dmxmotion.c \
dmxmotion.h \
dmxeq.c \
dmxeq.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