gnome-control-center/panels/color/Makefile.am
Christophe Fergeau 3679436cff color: 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:28:17 +02:00

50 lines
1.4 KiB
Makefile

SUBDIRS = icons
cappletname = color
AM_CPPFLAGS = \
$(PANEL_CFLAGS) \
$(COLOR_PANEL_CFLAGS) \
-DGNOMELOCALEDIR="\"$(datadir)/locale\"" \
-DBINDIR="\"$(bindir)\"" \
$(NULL)
noinst_LTLIBRARIES = libcolor.la
BUILT_SOURCES = \
cc-color-resources.h \
cc-color-resources.c
libcolor_la_SOURCES = \
$(BUILT_SOURCES) \
cc-color-calibrate.c \
cc-color-calibrate.h \
cc-color-cell-renderer-text.c \
cc-color-cell-renderer-text.h \
cc-color-profile.c \
cc-color-profile.h \
cc-color-device.c \
cc-color-device.h \
cc-color-common.c \
cc-color-common.h \
cc-color-panel.c \
cc-color-panel.h
libcolor_la_LIBADD = $(PANEL_LIBS) $(COLOR_PANEL_LIBS)
resource_files = $(shell glib-compile-resources --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/color.gresource.xml)
cc-color-resources.c: color.gresource.xml $(resource_files)
$(AM_V_GEN) glib-compile-resources --target=$@ --sourcedir=$(srcdir) --generate-source --c-name cc_color $<
cc-color-resources.h: color.gresource.xml $(resource_files)
$(AM_V_GEN) glib-compile-resources --target=$@ --sourcedir=$(srcdir) --generate-header --c-name cc_color $<
@INTLTOOL_DESKTOP_RULE@
desktopdir = $(datadir)/applications
desktop_in_files = gnome-color-panel.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
CLEANFILES = $(desktop_in_files) $(desktop_DATA) $(BUILT_SOURCES)
EXTRA_DIST = $(resource_files) color.gresource.xml
-include $(top_srcdir)/git.mk