initial commit
[profile/ivi/xorg-x11-server.git] / hw / dmx / input / Makefile.am
1 noinst_LIBRARIES = libdmxinput.a
2
3 if DMX_BUILD_LNX
4 RAWSRCS = lnx-keyboard.c \
5           lnx-keyboard.h \
6           lnx-ms.c \
7           lnx-ms.h \
8           lnx-ps2.c \
9           lnx-ps2.h
10 endif
11
12 if DMX_BUILD_USB
13 USBSRCS = usb-keyboard.c \
14           usb-keyboard.h \
15           usb-mouse.c \
16           usb-mouse.h \
17           usb-other.c \
18           usb-other.h \
19           usb-common.c \
20           usb-common.h \
21           usb-private.h
22 endif
23
24 DRVSRCS = dmxdummy.c \
25           dmxdummy.h \
26           dmxbackend.c \
27           dmxbackend.h \
28           dmxconsole.c \
29           dmxconsole.h \
30           dmxcommon.c \
31           dmxcommon.h
32
33 DMXSRCS = dmxinputinit.c \
34           dmxinputinit.h \
35           dmxarg.c \
36           dmxarg.h \
37           dmxsigio.c \
38           dmxsigio.h \
39           dmxevents.c \
40           dmxevents.h \
41           dmxxinput.c \
42           dmxmotion.c \
43           dmxmotion.h \
44           dmxmap.c \
45           dmxmap.h
46
47
48 libdmxinput_a_SOURCES = ChkNotMaskEv.c \
49                         ChkNotMaskEv.h \
50                         atKeynames.h \
51                         $(RAWSRCS) \
52                         $(USBSRCS) \
53                         $(DRVSRCS) \
54                         $(DMXSRCS) \
55                         $(LIBSRCS)
56
57 if GLX
58 GLX_DEFS = @GL_CFLAGS@
59 endif       
60
61 AM_CFLAGS = $(DIX_CFLAGS) \
62             -I$(top_srcdir)/hw/dmx \
63             -DHAVE_DMX_CONFIG_H \
64             $(GLX_DEFS) \
65             @DMXMODULES_CFLAGS@
66
67 EXTRA_DIST = dmxdetach.c