1
# This is used in PANEL_CFLAGS
4
uidir = $(pkgdatadir)/ui
5
dist_ui_DATA = display-capplet.ui
7
MARSHALFILES = foo-marshal.c foo-marshal.h
8
BUILT_SOURCES = $(MARSHALFILES)
10
foo-marshal.c: foo-marshal.h
11
$(AM_V_GEN) ( $(GLIB_GENMARSHAL) --prefix=foo_marshal $(srcdir)/foo-marshal.list --header --body > foo-marshal.c )
12
foo-marshal.h: foo-marshal.list
13
$(AM_V_GEN) ( $(GLIB_GENMARSHAL) --prefix=foo_marshal $(srcdir)/foo-marshal.list --header > foo-marshal.h )
15
ccpanelsdir = $(PANELS_DIR)
16
ccpanels_LTLIBRARIES = libdisplay.la
18
libdisplay_la_SOURCES = \
28
libdisplay_la_LIBADD = $(PANEL_LIBS) $(DISPLAY_PANEL_LIBS)
29
libdisplay_la_LDFLAGS = $(PANEL_LDFLAGS)
31
# You will need a recent intltool or the patch from this bug
32
# http://bugzilla.gnome.org/show_bug.cgi?id=462312
33
@INTLTOOL_POLICY_RULE@
35
@INTLTOOL_DESKTOP_RULE@
37
icons24dir = $(datadir)/icons/hicolor/24x24/apps
38
dist_icons24_DATA = icons/24x24/unity-display-panel.svg
39
icons48dir = $(datadir)/icons/hicolor/48x48/apps
40
dist_icons48_DATA = icons/48x48/unity-display-panel.svg
42
desktopdir = $(datadir)/applications
43
Desktop_in_files = unity-display-panel.desktop.in
44
desktop_DATA = $(Desktop_in_files:.desktop.in=.desktop)
46
INCLUDES = $(PANEL_CFLAGS) \
47
$(DISPLAY_PANEL_CFLAGS) \
48
-DSBINDIR="\"$(sbindir)\"" \
49
-DUIDIR="\"$(uidir)\"" \
50
-DGNOMELOCALEDIR="\"$(datadir)/locale\"" \
51
-DGNOMECC_DATA_DIR="\"$(pkgdatadir)\""
53
CLEANFILES = $(Desktop_in_files) $(desktop_DATA)
56
gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
57
install-data-hook: update-icon-cache
58
uninstall-hook: update-icon-cache
60
@-if test -z "$(DESTDIR)"; then \
61
echo "Updating Gtk icon cache."; \
62
$(gtk_update_icon_cache); \
64
echo "*** Icon cache not updated. After (un)install, run this:"; \
65
echo "*** $(gtk_update_icon_cache)"; \
69
EXTRA_DIST = foo-marshal.list
71
-include $(top_srcdir)/git.mk