~chasedouglas/frame/ubuntu-upstream-xi

« back to all changes in this revision

Viewing changes to src/Makefile.am

  • Committer: Chase Douglas
  • Date: 2011-12-09 01:36:45 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: chase.douglas@ubuntu.com-20111209013645-n24l4myiumblzsfu
* New upstream release.
  - Version 2 adds a new API built on top of XInput multitouch

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
AUTOMAKE_OPTIONS = subdir-objects
1
2
 
2
3
version_script = $(srcdir)/libutouch-frame.ver
3
4
 
9
10
        -Wl,--version-script=$(version_script) \
10
11
        -lm \
11
12
        $(EVEMU_LIBS) \
12
 
        $(MTDEV_LIBS)
 
13
        $(MTDEV_LIBS) \
 
14
        $(AM_LDFLAGS)
 
15
 
 
16
v1dir = v1
13
17
 
14
18
libutouch_frame_la_SOURCES = \
15
 
        frame-impl.h \
16
 
        frame.c \
17
 
        frame-mtdev.c
 
19
        v1/frame-impl.h \
 
20
        v1/frame.c \
 
21
        v1/frame-mtdev.c
18
22
 
19
23
AM_CFLAGS = $(CWARNFLAGS)
20
24
 
21
 
INCLUDES = -I$(top_srcdir)/include/
 
25
INCLUDES = -I$(top_srcdir)/include/ -I$(top_srcdir)/src
22
26
 
23
27
libutouch_frameincludedir = $(includedir)/utouch
24
28
libutouch_frameinclude_HEADERS = \
28
32
if HAVE_XI
29
33
 
30
34
libutouch_frame_la_LDFLAGS += $(XINPUT_LIBS) $(X11_LIBS)
31
 
libutouch_frame_la_SOURCES += frame-xi2.c
 
35
libutouch_frame_la_SOURCES += v1/frame-xi2.c
32
36
libutouch_frameinclude_HEADERS += $(top_srcdir)/include/utouch/frame-xi2.h
33
37
 
 
38
# The following is for uTouch-Frame v2
 
39
v2dir = v2
 
40
 
 
41
libutouch_frame_la_SOURCES += \
 
42
        v2/axis.h \
 
43
        v2/axis.cpp \
 
44
        v2/device.h \
 
45
        v2/device.cpp \
 
46
        v2/event.h \
 
47
        v2/event.cpp \
 
48
        v2/frame.h \
 
49
        v2/frame.cpp \
 
50
        v2/handle.h \
 
51
        v2/handle.cpp \
 
52
        v2/property.h \
 
53
        v2/touch.h \
 
54
        v2/touch.cpp \
 
55
        v2/typedefs.h \
 
56
        v2/value.h \
 
57
        v2/value.cpp \
 
58
        v2/window.h \
 
59
        v2/window.cpp \
 
60
        v2/x11/device_x11.h \
 
61
        v2/x11/device_x11.cpp \
 
62
        v2/x11/frame_x11.cpp \
 
63
        v2/x11/handle_x11.h \
 
64
        v2/x11/handle_x11.cpp \
 
65
        v2/x11/window_x11.h \
 
66
        v2/x11/window_x11.cpp
 
67
 
 
68
libutouch_frameinclude_HEADERS += $(top_srcdir)/include/utouch/frame_x11.h
 
69
 
34
70
endif
35
71
 
36
72
EXTRA_DIST = $(version_script)
37