~ubuntu-branches/ubuntu/vivid/xfce4-power-manager/vivid-proposed

« back to all changes in this revision

Viewing changes to panel-plugins/battery/Makefile.am

  • Committer: Package Import Robot
  • Author(s): Jackson Doak
  • Date: 2014-06-25 19:13:23 UTC
  • mfrom: (21.1.3 experimental)
  • Revision ID: package-import@ubuntu.com-20140625191323-w7xzyk3dkwkk15uh
Tags: 1.3.0-1ubuntu1
* Merge from debian. (LP: #1334185) Remaining changes:
  - Switch to using logind for session tracking. Depend on systemd-services
    and add libsystemd-login-dev build dependency.
* Use upower << 0.99
* Drop all patches, fixed upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
AM_CPPFLAGS = \
 
2
        -I$(top_srcdir) \
 
3
        -DG_LOG_DOMAIN=\"xfce4-battery-plugin\" \
 
4
        -DPACKAGE_LOCALE_DIR=\"$(localedir)\" \
 
5
        $(PLATFORM_CPPFLAGS)
 
6
 
 
7
#
 
8
# xfce4 battery plugin
 
9
#
 
10
plugin_LTLIBRARIES = \
 
11
        libxfce4battery.la
 
12
 
 
13
plugindir = \
 
14
        $(libdir)/xfce4/panel/plugins
 
15
 
 
16
libxfce4battery_la_SOURCES = \
 
17
        battery-plugin.c     \
 
18
        battery-button.c     \
 
19
        battery-button.h
 
20
 
 
21
libxfce4battery_la_CFLAGS =             \
 
22
        -I$(top_srcdir)                 \
 
23
        -I$(top_srcdir)/src             \
 
24
        -DLOCALEDIR=\"$(localedir)\"    \
 
25
        $(LIBXFCE4PANEL_CFLAGS)         \
 
26
        $(LIBXFCE4UTIL_CFLAGS)          \
 
27
        $(LIBXFCE4UI_CFLAGS)            \
 
28
        $(XFCONF_CFLAGS)                \
 
29
        $(GTK_CFLAGS)                   \
 
30
        $(GLIB_CFLAGS)                  \
 
31
        $(PLATFORM_CPPFLAGS)            \
 
32
        $(PLATFORM_CFLAGS)              \
 
33
        $(DBUS_GLIB_CFLAGS)             \
 
34
        $(UPOWER_CFLAGS)
 
35
 
 
36
libxfce4battery_la_LDFLAGS = \
 
37
       -avoid-version \
 
38
       -module \
 
39
       -no-undefined \
 
40
       -export-symbols-regex '^xfce_panel_module_(preinit|init|construct)' \
 
41
       $(PLATFORM_LDFLAGS)
 
42
 
 
43
libxfce4battery_la_LIBADD =                     \
 
44
        $(top_builddir)/common/libxfpmcommon.la \
 
45
        $(LIBXFCE4PANEL_LIBS)                   \
 
46
        $(LIBXFCE4UI_LIBS)                      \
 
47
        $(LIBXFCE4UTIL_LIBS)                    \
 
48
        $(XFCONF_LIBS)                          \
 
49
        $(GTK_LIBS)                             \
 
50
        $(GLIB_LIBS)                            \
 
51
        $(DBUS_GLIB_LIBS)                       \
 
52
        $(UPOWER_LIBS)
 
53
 
 
54
#
 
55
# Desktop file
 
56
#
 
57
desktopdir = $(datadir)/xfce4/panel-plugins
 
58
desktop_in_in_files = xfce4-battery-plugin.desktop.in.in
 
59
desktop_in_files = $(desktop_in_in_files:.desktop.in.in=.desktop.in)
 
60
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
 
61
@INTLTOOL_DESKTOP_RULE@
 
62
 
 
63
EXTRA_DIST =                                                            \
 
64
        $(desktop_in_in_files)
 
65
 
 
66
CLEANFILES =                                                            \
 
67
        $(desktop_in_files)                                             \
 
68
        $(desktop_DATA)
 
69
 
 
70
%.desktop.in: %.desktop.in.in
 
71
        sed -e "s,\@libdir\@,$(libdir),g" < $< > $@