2011-02-19 16:46:26 +00:00
|
|
|
# This is used in PANEL_CFLAGS
|
2007-02-03 17:18:29 +00:00
|
|
|
cappletname = mouse
|
|
|
|
|
2010-05-20 17:50:56 +01:00
|
|
|
INCLUDES = \
|
|
|
|
$(PANEL_CFLAGS) \
|
2011-02-19 16:46:26 +00:00
|
|
|
$(MOUSE_PANEL_CFLAGS) \
|
2010-05-20 17:50:56 +01:00
|
|
|
-DGNOMELOCALEDIR="\"$(datadir)/locale\"" \
|
|
|
|
$(NULL)
|
|
|
|
|
2012-12-11 11:46:28 +01:00
|
|
|
noinst_LTLIBRARIES = libmouse-properties.la
|
2000-09-12 15:25:23 +00:00
|
|
|
|
2013-01-04 15:23:01 +01:00
|
|
|
BUILT_SOURCES = \
|
|
|
|
cc-mouse-resources.c \
|
|
|
|
cc-mouse-resources.h
|
|
|
|
|
2010-05-20 17:50:56 +01:00
|
|
|
libmouse_properties_la_SOURCES = \
|
2013-01-04 15:23:01 +01:00
|
|
|
$(BUILT_SOURCES) \
|
2010-05-20 17:50:56 +01:00
|
|
|
cc-mouse-panel.c \
|
|
|
|
cc-mouse-panel.h \
|
2008-01-14 16:35:21 +00:00
|
|
|
gnome-mouse-properties.c \
|
2010-12-09 12:05:12 +00:00
|
|
|
gnome-mouse-properties.h \
|
|
|
|
gsd-input-helper.c \
|
2012-08-20 19:49:07 +02:00
|
|
|
gsd-input-helper.h \
|
|
|
|
gnome-mouse-test.c \
|
|
|
|
gnome-mouse-test.h
|
2001-07-25 17:26:17 +00:00
|
|
|
|
2011-02-19 16:46:26 +00:00
|
|
|
libmouse_properties_la_LIBADD = $(PANEL_LIBS) $(MOUSE_PANEL_LIBS)
|
2010-05-20 17:50:56 +01:00
|
|
|
|
2013-01-04 15:23:01 +01:00
|
|
|
test_gnome_mouse_test_SOURCES = \
|
|
|
|
$(BUILT_SOURCES) \
|
2012-08-20 19:24:03 +02:00
|
|
|
gnome-mouse-test.c \
|
|
|
|
gnome-mouse-test.h \
|
|
|
|
test-gnome-mouse-test.c
|
|
|
|
|
|
|
|
noinst_PROGRAMS = test-gnome-mouse-test
|
|
|
|
|
|
|
|
test_gnome_mouse_test_CPPFLAGS = $(INCLUDES)
|
|
|
|
test_gnome_mouse_test_LDADD = $(PANEL_LIBS) $(MOUSE_PANEL_LIBS)
|
|
|
|
|
2013-01-04 15:23:01 +01:00
|
|
|
resource_files = $(shell glib-compile-resources --generate-dependencies $(srcdir)/mouse.gresource.xml)
|
|
|
|
cc-mouse-resources.c: mouse.gresource.xml $(resource_files)
|
|
|
|
$(AM_V_GEN) glib-compile-resources --target=$@ --sourcedir=$(srcdir) --generate-source --c-name cc_mouse $<
|
|
|
|
cc-mouse-resources.h: mouse.gresource.xml $(resource_files)
|
|
|
|
$(AM_V_GEN) glib-compile-resources --target=$@ --sourcedir=$(srcdir) --generate-header --c-name cc_mouse $<
|
2001-07-25 17:26:17 +00:00
|
|
|
|
2013-01-04 15:23:01 +01:00
|
|
|
@INTLTOOL_DESKTOP_RULE@
|
2001-09-28 12:30:35 +00:00
|
|
|
|
2004-11-09 17:43:47 +00:00
|
|
|
desktopdir = $(datadir)/applications
|
2010-06-02 16:54:26 +01:00
|
|
|
Desktop_in_files = gnome-mouse-panel.desktop.in
|
2002-01-15 20:45:34 +00:00
|
|
|
desktop_DATA = $(Desktop_in_files:.desktop.in=.desktop)
|
2001-12-20 18:21:12 +00:00
|
|
|
|
2012-04-19 11:56:56 +01:00
|
|
|
INPUTDIR=$(top_srcdir)/../gnome-settings-daemon/plugins/common/
|
|
|
|
INPUTFILES=gsd-input-helper.h gsd-input-helper.c
|
|
|
|
update-from-gsd:
|
|
|
|
FILES="$(INPUTFILES)" DIR="$(INPUTDIR)" $(top_srcdir)/update-from-gsd.sh && changed=true ; \
|
|
|
|
git commit -m "mouse: Update from gnome-settings-daemon" $(INPUTFILES)
|
|
|
|
|
2010-12-20 14:46:27 +00:00
|
|
|
CLEANFILES = $(Desktop_in_files) $(desktop_DATA)
|
2013-01-04 15:23:01 +01:00
|
|
|
EXTRA_DIST = $(resource_files) mouse.gresource.xml
|
2009-07-16 00:38:51 +01:00
|
|
|
|
|
|
|
-include $(top_srcdir)/git.mk
|