2011-01-07 21:04:07 +10:00
|
|
|
# This is used in PANEL_CFLAGS
|
|
|
|
cappletname = wacom
|
|
|
|
|
2012-01-03 12:39:06 -08:00
|
|
|
SUBDIRS = calibrator
|
|
|
|
|
2011-01-07 21:04:07 +10:00
|
|
|
INCLUDES = \
|
|
|
|
$(PANEL_CFLAGS) \
|
|
|
|
$(WACOM_PANEL_CFLAGS) \
|
2012-01-03 12:39:06 -08:00
|
|
|
-I$(srcdir)/calibrator \
|
2011-01-07 21:04:07 +10:00
|
|
|
-DGNOMELOCALEDIR="\"$(datadir)/locale\"" \
|
|
|
|
$(NULL)
|
|
|
|
|
2012-12-11 11:46:28 +01:00
|
|
|
noinst_LTLIBRARIES = libwacom-properties.la
|
2011-01-07 21:04:07 +10:00
|
|
|
|
2013-01-04 16:36:56 +01:00
|
|
|
BUILT_SOURCES = \
|
|
|
|
cc-wacom-resources.c \
|
|
|
|
cc-wacom-resources.h
|
|
|
|
|
2011-01-07 21:04:07 +10:00
|
|
|
libwacom_properties_la_SOURCES = \
|
2013-01-04 16:36:56 +01:00
|
|
|
$(BUILT_SOURCES) \
|
2011-01-07 21:04:07 +10:00
|
|
|
cc-wacom-panel.c \
|
2011-11-24 15:34:52 +00:00
|
|
|
cc-wacom-panel.h \
|
|
|
|
cc-wacom-page.c \
|
2011-11-24 15:49:49 +00:00
|
|
|
cc-wacom-page.h \
|
2012-01-16 17:18:32 +00:00
|
|
|
cc-wacom-stylus-page.c \
|
|
|
|
cc-wacom-stylus-page.h \
|
2011-11-24 15:49:49 +00:00
|
|
|
gsd-wacom-device.c \
|
2011-11-28 18:23:05 +00:00
|
|
|
gsd-wacom-device.h \
|
2011-12-12 18:18:20 +00:00
|
|
|
gsd-input-helper.c \
|
|
|
|
gsd-input-helper.h \
|
2011-11-28 18:23:05 +00:00
|
|
|
cc-wacom-nav-button.c \
|
2012-01-25 19:01:46 +00:00
|
|
|
cc-wacom-nav-button.h \
|
2012-01-20 15:08:27 -08:00
|
|
|
cc-wacom-mapping-panel.c \
|
|
|
|
cc-wacom-mapping-panel.h \
|
2012-01-25 19:01:46 +00:00
|
|
|
gsd-enums.h
|
2011-01-07 21:04:07 +10:00
|
|
|
|
2012-01-03 12:39:06 -08:00
|
|
|
libwacom_properties_la_LIBADD = $(PANEL_LIBS) $(WACOM_PANEL_LIBS) $(builddir)/calibrator/libwacom-calibrator.la
|
2011-01-07 21:04:07 +10:00
|
|
|
|
2011-11-25 17:03:19 +00:00
|
|
|
noinst_PROGRAMS = test-wacom
|
|
|
|
|
|
|
|
test_wacom_SOURCES = \
|
2013-01-04 16:36:56 +01:00
|
|
|
$(BUILT_SOURCES) \
|
2011-11-25 17:03:19 +00:00
|
|
|
test-wacom.c \
|
|
|
|
cc-wacom-page.c \
|
|
|
|
cc-wacom-page.h \
|
2012-01-16 17:18:32 +00:00
|
|
|
cc-wacom-stylus-page.c \
|
|
|
|
cc-wacom-stylus-page.h \
|
2011-11-28 18:23:05 +00:00
|
|
|
cc-wacom-nav-button.c \
|
|
|
|
cc-wacom-nav-button.h \
|
2012-01-20 15:08:27 -08:00
|
|
|
cc-wacom-mapping-panel.c \
|
|
|
|
cc-wacom-mapping-panel.h \
|
2011-11-25 17:03:19 +00:00
|
|
|
gsd-wacom-device.c \
|
2011-12-12 18:18:20 +00:00
|
|
|
gsd-wacom-device.h \
|
|
|
|
gsd-input-helper.c \
|
2012-01-25 19:01:46 +00:00
|
|
|
gsd-input-helper.h \
|
|
|
|
gsd-enums.h
|
2011-11-25 17:03:19 +00:00
|
|
|
|
|
|
|
test_wacom_CPPFLAGS = $(INCLUDES)
|
2012-01-03 12:39:06 -08:00
|
|
|
test_wacom_LDADD = $(PANEL_LIBS) $(WACOM_PANEL_LIBS) $(builddir)/calibrator/libwacom-calibrator.la
|
2011-11-25 17:03:19 +00:00
|
|
|
|
2013-01-07 16:09:44 -05:00
|
|
|
resource_files = $(shell glib-compile-resources --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/wacom.gresource.xml)
|
2013-01-04 16:36:56 +01:00
|
|
|
cc-wacom-resources.c: wacom.gresource.xml $(resource_files)
|
|
|
|
$(AM_V_GEN) glib-compile-resources --target=$@ --sourcedir=$(srcdir) --generate-source --c-name cc_wacom $<
|
|
|
|
cc-wacom-resources.h: wacom.gresource.xml $(resource_files)
|
|
|
|
$(AM_V_GEN) glib-compile-resources --target=$@ --sourcedir=$(srcdir) --generate-header --c-name cc_wacom $<
|
2011-01-07 21:04:07 +10:00
|
|
|
|
2013-01-04 16:36:56 +01:00
|
|
|
@INTLTOOL_DESKTOP_RULE@
|
2011-01-07 21:04:07 +10:00
|
|
|
|
|
|
|
desktopdir = $(datadir)/applications
|
|
|
|
desktop_in_files = gnome-wacom-panel.desktop.in
|
|
|
|
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
|
|
|
|
|
2012-01-25 19:11:52 +00:00
|
|
|
WACOMDIR=$(top_srcdir)/../gnome-settings-daemon/plugins/wacom/
|
|
|
|
WACOMFILES=gsd-wacom-device.c gsd-wacom-device.h
|
|
|
|
COMMONDIR=$(top_srcdir)/../gnome-settings-daemon/plugins/common/
|
2012-01-31 14:12:06 +00:00
|
|
|
COMMONFILES=gsd-input-helper.c gsd-input-helper.h
|
2012-01-25 19:11:52 +00:00
|
|
|
update-from-gsd:
|
2012-04-19 11:50:58 +01:00
|
|
|
FILES="$(WACOMFILES)" DIR="$(WACOMDIR)" $(top_srcdir)/update-from-gsd.sh && changed=true ; \
|
|
|
|
FILES="$(COMMONFILES)" DIR="$(COMMONDIR)" $(top_srcdir)/update-from-gsd.sh && changed=true ; \
|
2012-01-25 19:11:52 +00:00
|
|
|
git commit -m "wacom: Update from gnome-settings-daemon" $(WACOMFILES) $(COMMONFILES)
|
|
|
|
|
2013-01-04 16:36:56 +01:00
|
|
|
CLEANFILES = $(Desktop_in_files) $(desktop_DATA) $(BUILT_SOURCES)
|
|
|
|
EXTRA_DIST = $(resource_files) wacom.gresource.xml
|
2011-01-07 21:04:07 +10:00
|
|
|
|
|
|
|
-include $(top_srcdir)/git.mk
|