~chasedouglas/geis/fix-deltas

« back to all changes in this revision

Viewing changes to libs/xcb/Makefile.am

  • Committer: Stephen M. Webb
  • Date: 2011-01-17 15:03:18 UTC
  • mto: This revision was merged to the branch mainline in revision 102.
  • Revision ID: stephen.webb@canonical.com-20110117150318-6nd504p85pn21kmb
Refactored XCB protocol into a separate convenience library.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# @file libs/xcb/Makefile.am
 
3
# @brief automake recipe for the uTouch GEIS v2.0 XCB helper library
 
4
#
 
5
# Copyright 2011 Canonical, Ltd.
 
6
#
 
7
# This file is part of the utouch-geis library. This library is free software;
 
8
# you can redistribute it and/or modify it under the terms of the GNU Lesser
 
9
# General Public License as published by the Free Software Foundation; either
 
10
# version 3 of the License, or (at your option) any later version.
 
11
#
 
12
# This library is distributed in the hope that it will be useful, but WITHOUT
 
13
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 
14
# FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more
 
15
# details.
 
16
#
 
17
# You should have received a copy of the GNU Lesser General Public License
 
18
# along with this program; if not, write to the Free Software Foundation, Inc.,
 
19
# 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
 
20
#
 
21
 
 
22
# work around a problem with XCB tools
 
23
XCB_CFLAGS += -I$(includedir)/xcb -I$(XCBINCLUDEDIR)/xcb
 
24
 
 
25
noinst_LTLIBRARIES = libxcb-gesture.la
 
26
 
 
27
dist_libxcb_gesture_la_SOURCES = \
 
28
        xcb_gesture.h xcb_gesture.c
 
29
 
 
30
libxcb_gesture_la_CFLAGS = \
 
31
        $(XCB_CFLAGS)
 
32
 
 
33
libxcb_gesture_la_LIBADD = \
 
34
        $(XCB_LIBS)
 
35
 
 
36
BUILT_SOURCES = $(dist_libxcb_gesture_la_SOURCES)
 
37
CLEANFILES = $(dist_libxcb_gesture_la_SOURCES)
 
38
 
 
39
xcbproto_tools = xcb_gesture.xml c_client.py
 
40
$(dist_libxcb_gesture_la_SOURCES): $(xcbproto_tools)
 
41
        $(AM_V_GEN)$(PYTHON) $(srcdir)/c_client.py \
 
42
                             -p $(XCBPROTO_XCBPYTHONDIR) \
 
43
                             $(builddir)/$<
 
44
 
 
45
EXTRA_DIST = $(xcbproto_tools)
 
46