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
icons16dir = $(datadir)/icons/hicolor/16x16/apps
38
dist_icons16_DATA = icons/16x16/unity-display-panel.png
39
icons22dir = $(datadir)/icons/hicolor/22x22/apps
40
dist_icons22_DATA = icons/22x22/unity-display-panel.png
41
icons24dir = $(datadir)/icons/hicolor/24x24/apps
42
dist_icons24_DATA = icons/24x24/unity-display-panel.png
43
icons32dir = $(datadir)/icons/hicolor/32x32/apps
44
dist_icons32_DATA = icons/32x32/unity-display-panel.png
45
iconssvgdir = $(datadir)/icons/hicolor/scalable/apps
46
dist_iconssvg_DATA = icons/scalable/unity-display-panel.svg
48
desktopdir = $(datadir)/applications
49
Desktop_in_files = unity-display-panel.desktop.in
50
desktop_DATA = $(Desktop_in_files:.desktop.in=.desktop)
52
INCLUDES = $(PANEL_CFLAGS) \
53
$(DISPLAY_PANEL_CFLAGS) \
54
-DSBINDIR="\"$(sbindir)\"" \
55
-DUIDIR="\"$(uidir)\"" \
56
-DGNOMELOCALEDIR="\"$(datadir)/locale\"" \
57
-DGNOMECC_DATA_DIR="\"$(pkgdatadir)\""
59
CLEANFILES = $(Desktop_in_files) $(desktop_DATA)
62
gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
63
install-data-hook: update-icon-cache
64
uninstall-hook: update-icon-cache
66
@-if test -z "$(DESTDIR)"; then \
67
echo "Updating Gtk icon cache."; \
68
$(gtk_update_icon_cache); \
70
echo "*** Icon cache not updated. After (un)install, run this:"; \
71
echo "*** $(gtk_update_icon_cache)"; \
75
EXTRA_DIST = foo-marshal.list
77
-include $(top_srcdir)/git.mk