summaryrefslogtreecommitdiff
path: root/hw/dmx/input/Makefile.am
blob: 326506e776f086db1f7580db4a3879523abbb58e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
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 \
                        $(RAWSRCS) \
                        $(USBSRCS) \
                        $(DRVSRCS) \
                        $(DMXSRCS) \
                        $(LIBSRCS)

if GLX
GLX_DEFS = @GL_CFLAGS@
GLX_INCS = -I@MESA_SOURCE@/include
endif	    

AM_CFLAGS = \
            -I$(top_srcdir)/hw/dmx \
            -I$(top_srcdir)/hw/xfree86/common \
            $(GLX_INCS) \
            -DHAVE_DMX_CONFIG_H \
            $(GLX_DEFS) \
            @DMXMODULES_CFLAGS@

EXTRA_DIST = dmxdetach.c