~elementary-os/ubuntu-package-imports/unity-control-center-bionic

« back to all changes in this revision

Viewing changes to panels/display/Makefile.am

  • Committer: RabbitBot
  • Date: 2018-02-05 15:02:54 UTC
  • Revision ID: rabbitbot@elementary.io-20180205150254-zx3a61nme21tva75
Initial import, version 15.04.0+17.10.20171225-0ubuntu1

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
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
 
41
 
 
42
desktopdir = $(datadir)/applications
 
43
Desktop_in_files = unity-display-panel.desktop.in
 
44
desktop_DATA = $(Desktop_in_files:.desktop.in=.desktop)
 
45
 
 
46
INCLUDES   = $(PANEL_CFLAGS) \
 
47
             $(DISPLAY_PANEL_CFLAGS) \
 
48
             -DSBINDIR="\"$(sbindir)\"" \
 
49
             -DUIDIR="\"$(uidir)\"" \
 
50
             -DGNOMELOCALEDIR="\"$(datadir)/locale\"" \
 
51
             -DGNOMECC_DATA_DIR="\"$(pkgdatadir)\""
 
52
 
 
53
CLEANFILES = $(Desktop_in_files) $(desktop_DATA)
 
54
 
 
55
if MAINTAINER_MODE
 
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
 
59
update-icon-cache:
 
60
        @-if test -z "$(DESTDIR)"; then \
 
61
                echo "Updating Gtk icon cache."; \
 
62
                $(gtk_update_icon_cache); \
 
63
        else \
 
64
                echo "*** Icon cache not updated.  After (un)install, run this:"; \
 
65
                echo "***   $(gtk_update_icon_cache)"; \
 
66
        fi
 
67
endif
 
68
 
 
69
EXTRA_DIST = foo-marshal.list
 
70
 
 
71
-include $(top_srcdir)/git.mk