~ubuntu-branches/ubuntu/trusty/unity-control-center/trusty

« back to all changes in this revision

Viewing changes to panels/display/Makefile.am

  • Committer: Package Import Robot
  • Author(s): Robert Ancell
  • Date: 2014-01-08 16:29:18 UTC
  • Revision ID: package-import@ubuntu.com-20140108162918-g29dd08tr913y2qh
Tags: upstream-14.04.0
ImportĀ upstreamĀ versionĀ 14.04.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# This is used in PANEL_CFLAGS
 
2
cappletname = display
 
3
 
 
4
uidir = $(pkgdatadir)/ui
 
5
dist_ui_DATA = display-capplet.ui
 
6
 
 
7
MARSHALFILES = foo-marshal.c foo-marshal.h
 
8
BUILT_SOURCES = $(MARSHALFILES)
 
9
 
 
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 )
 
14
 
 
15
ccpanelsdir = $(PANELS_DIR)
 
16
ccpanels_LTLIBRARIES = libdisplay.la
 
17
 
 
18
libdisplay_la_SOURCES =         \
 
19
        display-module.c        \
 
20
        cc-display-panel.c      \
 
21
        cc-display-panel.h      \
 
22
        cc-rr-labeler.c         \
 
23
        cc-rr-labeler.h         \
 
24
        scrollarea.c            \
 
25
        scrollarea.h            \
 
26
        $(MARSHALFILES)
 
27
 
 
28
libdisplay_la_LIBADD = $(PANEL_LIBS) $(DISPLAY_PANEL_LIBS)
 
29
libdisplay_la_LDFLAGS = $(PANEL_LDFLAGS)
 
30
 
 
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@
 
34
 
 
35
@INTLTOOL_DESKTOP_RULE@
 
36
 
 
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
 
47
 
 
48
desktopdir = $(datadir)/applications
 
49
Desktop_in_files = unity-display-panel.desktop.in
 
50
desktop_DATA = $(Desktop_in_files:.desktop.in=.desktop)
 
51
 
 
52
INCLUDES   = $(PANEL_CFLAGS) \
 
53
             $(DISPLAY_PANEL_CFLAGS) \
 
54
             -DSBINDIR="\"$(sbindir)\"" \
 
55
             -DUIDIR="\"$(uidir)\"" \
 
56
             -DGNOMELOCALEDIR="\"$(datadir)/locale\"" \
 
57
             -DGNOMECC_DATA_DIR="\"$(pkgdatadir)\""
 
58
 
 
59
CLEANFILES = $(Desktop_in_files) $(desktop_DATA)
 
60
 
 
61
if MAINTAINER_MODE
 
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
 
65
update-icon-cache:
 
66
        @-if test -z "$(DESTDIR)"; then \
 
67
                echo "Updating Gtk icon cache."; \
 
68
                $(gtk_update_icon_cache); \
 
69
        else \
 
70
                echo "*** Icon cache not updated.  After (un)install, run this:"; \
 
71
                echo "***   $(gtk_update_icon_cache)"; \
 
72
        fi
 
73
endif
 
74
 
 
75
EXTRA_DIST = foo-marshal.list
 
76
 
 
77
-include $(top_srcdir)/git.mk