gnome-control-center/search-provider/Makefile.am
Christophe Fergeau 6c9cc171f5 search-provider: Use AM_CPPFLAGS rather than INCLUDES
This is deprecated in newer automake versions, and this causes warnings
with automake 1.14:
panels/printers/Makefile.am:3: warning: 'INCLUDES' is the old name for
AM_CPPFLAGS' (or '*_CPPFLAGS')

https://bugzilla.gnome.org/show_bug.cgi?id=732189
2014-06-25 12:46:43 +02:00

56 lines
1.9 KiB
Makefile

dbus_shell_search_provider_built_sources = \
cc-shell-search-provider-generated.c \
cc-shell-search-provider-generated.h
# The upstream for the DBus interface definition is
# at http://git.gnome.org/browse/gnome-shell/plain/data/org.gnome.ShellSearchProvider2.xml
$(dbus_shell_search_provider_built_sources) : Makefile.am $(srcdir)/org.gnome.ShellSearchProvider2.xml
$(AM_V_GEN)gdbus-codegen \
--interface-prefix org.gnome. \
--c-namespace Cc \
--generate-c-code cc-shell-search-provider-generated \
$(srcdir)/org.gnome.ShellSearchProvider2.xml \
$(NULL)
AM_CPPFLAGS = \
-DGNOMELOCALEDIR="\"$(datadir)/locale\""\
-DCC_PANEL_LOADER_NO_GTYPES \
-I$(top_srcdir) \
$(SHELL_CFLAGS) \
-I$(top_srcdir)/panels/common/ \
-I$(top_srcdir)/libgd
libexec_PROGRAMS = gnome-control-center-search-provider
BUILT_SOURCES = $(dbus_shell_search_provider_built_sources)
gnome_control_center_search_provider_SOURCES = \
$(BUILT_SOURCES) \
$(top_srcdir)/shell/cc-panel-loader.c \
$(top_srcdir)/shell/cc-panel-loader.h \
control-center-search-provider.c \
control-center-search-provider.h \
cc-search-provider.c \
cc-search-provider.h
gnome_control_center_search_provider_LDADD = \
$(top_builddir)/panels/common/liblanguage.la \
$(top_builddir)/shell/libshell.la \
$(SHELL_LIBS)
CLEANFILES = $(BUILT_SOURCES) $(service_DATA)
servicedir = $(datadir)/dbus-1/services
service_DATA = $(service_in_files:.service.in=.service)
service_in_files = \
org.gnome.ControlCenter.SearchProvider.service.in
org.gnome.ControlCenter.SearchProvider.service: org.gnome.ControlCenter.SearchProvider.service.in Makefile
$(AM_V_GEN) sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@
EXTRA_DIST = $(service_in_files) org.gnome.ShellSearchProvider2.xml
searchproviderdir = $(datadir)/gnome-shell/search-providers
dist_searchprovider_DATA = gnome-control-center-search-provider.ini
-include $(top_srcdir)/git.mk