~ubuntu-branches/ubuntu/precise/xfce4-power-manager/precise

« back to all changes in this revision

Viewing changes to src/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Lionel Le Folgoc
  • Date: 2010-12-09 18:28:34 UTC
  • mto: This revision was merged to the branch mainline in revision 19.
  • Revision ID: james.westby@ubuntu.com-20101209182834-tjz13qcewqlq19eu
Tags: upstream-1.0.1
ImportĀ upstreamĀ versionĀ 1.0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
bin_PROGRAMS = xfce4-power-manager
 
1
bin_PROGRAMS = xfce4-power-manager              \
 
2
               xfce4-power-information
2
3
 
3
 
xfce4_power_manager_SOURCES =                   \
4
 
        xfpm-enum-types.c                       \
5
 
        xfpm-enum-types.h                       \
6
 
        xfpm-marshal.c                          \
7
 
        xfpm-marshal.h                          \
8
 
        org.freedesktop.PowerManagement.h       \
9
 
        org.freedesktop.PowerManagement.Inhibit.h\
10
 
        org.freedesktop.PowerManagement.Backlight.h\
11
 
        xfce-power-manager-dbus-server.h        \
12
 
        xfce-power-manager-dbus-client.h        \
 
4
xfce4_power_manager_SOURCES =                   \
 
5
        $(BUILT_SOURCES)                        \
 
6
        xfpm-enum.h                             \
 
7
        xfpm-enum-glib.h                        \
13
8
        xfpm-main.c                             \
14
9
        xfpm-manager.c                          \
15
10
        xfpm-manager.h                          \
16
 
        xfpm-engine.c                           \
17
 
        xfpm-engine.h                           \
18
 
        xfpm-session.c                          \
19
 
        xfpm-session.h                          \
 
11
        xfpm-power.c                            \
 
12
        xfpm-power.h                            \
 
13
        xfpm-power-common.c                     \
 
14
        xfpm-power-common.h                     \
 
15
        xfpm-battery.c                          \
 
16
        xfpm-battery.h                          \
20
17
        xfpm-xfconf.c                           \
21
18
        xfpm-xfconf.h                           \
22
 
        xfpm-supply.c                           \
23
 
        xfpm-supply.h                           \
24
 
        xfpm-adapter.c                          \
25
 
        xfpm-adapter.h                          \
26
 
        xfpm-battery.c                          \
27
 
        xfpm-battery.h                          \
28
 
        xfpm-battery-info.c                     \
29
 
        xfpm-battery-info.h                     \
 
19
        xfpm-disks.c                            \
 
20
        xfpm-disks.h                            \
 
21
        xfpm-console-kit.c                      \
 
22
        xfpm-console-kit.h                      \
 
23
        egg-idletime.c                          \
 
24
        egg-idletime.h                          \
 
25
        xfpm-backlight.c                        \
 
26
        xfpm-backlight.h                        \
30
27
        xfpm-dpms.c                             \
31
28
        xfpm-dpms.h                             \
32
 
        xfpm-cpu.c                              \
33
 
        xfpm-cpu.h                              \
34
29
        xfpm-button.c                           \
35
30
        xfpm-button.h                           \
36
 
        xfpm-button-xf86.c                      \
37
 
        xfpm-button-xf86.h                      \
38
 
        xfpm-button-hal.c                       \
39
 
        xfpm-button-hal.h                       \
40
 
        xfpm-backlight.c                        \
41
 
        xfpm-backlight.h                        \
42
 
        xfpm-brightness-hal.c                   \
43
 
        xfpm-brightness-hal.h                   \
44
 
        xfpm-brightness-widget.c                \
45
 
        xfpm-brightness-widget.h                \
 
31
        xfpm-network-manager.c                  \
 
32
        xfpm-network-manager.h                  \
46
33
        xfpm-inhibit.c                          \
47
34
        xfpm-inhibit.h                          \
48
 
        xfpm-screen-saver.c                     \
49
 
        xfpm-screen-saver.h                     \
50
 
        xfpm-dbus-monitor.c                     \
51
 
        xfpm-dbus-monitor.h                     \
52
 
        xfpm-tray-icon.c                        \
53
 
        xfpm-tray-icon.h                        \
54
 
        xfpm-shutdown.c                         \
55
 
        xfpm-shutdown.h                         \
56
 
        xfpm-network-manager.c                  \
57
 
        xfpm-network-manager.h                  \
 
35
        xfpm-notify.c                           \
 
36
        xfpm-notify.h                           \
 
37
        xfpm-polkit.c                           \
 
38
        xfpm-polkit.h                           \
58
39
        xfpm-errors.c                           \
59
40
        xfpm-errors.h                           \
60
 
        xfpm-config.h                           \
61
 
        xfpm-enum.h                             \
62
 
        xfpm-debug.c                            \
63
 
        xfpm-debug.h                            \
64
 
        egg-idletime.c                          \
65
 
        egg-idletime.h
66
 
 
67
 
 
68
 
xfce4_power_manager_CFLAGS =                    \
69
 
        -I$(top_srcdir)                         \
70
 
        -I$(top_srcdir)/libxfpm                 \
71
 
        -DLOCALEDIR=\"$(localedir)\"            \
72
 
        -DG_LOG_DOMAIN=\"xfce4-power-manager\"  \
73
 
        $(GOBJECT_CFLAGS)                       \
74
 
        $(GTHREAD_CFLAGS)                       \
75
 
        $(DBUS_GLIB_CFLAGS)                     \
76
 
        $(LIBXFCE4GUI_CFLAGS)                   \
77
 
        $(XFCONF_CFLAGS)                        \
78
 
        $(LIBNOTIFY_CFLAGS)                     \
79
 
        $(DPMS_CFLAGS)                  
80
 
 
81
 
xfce4_power_manager_LDADD   =                   \
82
 
        $(top_builddir)/libxfpm/libxfpmhal.la   \
83
 
        $(top_builddir)/libxfpm/libxfpmhalpower.la\
84
 
        $(top_builddir)/libxfpm/libxfpmcommon.la\
85
 
        $(GOBJECT_LIBS)                         \
86
 
        $(GTHREAD_LIBS)                         \
87
 
        $(DBUS_GLIB_LIBS)                       \
88
 
        $(LIBXFCE4GUI_LIBS)                     \
89
 
        $(XFCONF_LIBS)                          \
90
 
        $(LIBNOTIFY_LIBS)                       \
91
 
        $(DPMS_LIBS)            
 
41
        gsd-media-keys-window.c                 \
 
42
        gsd-media-keys-window.h
 
43
 
 
44
xfce4_power_manager_CFLAGS =                    \
 
45
        -I$(top_srcdir)                         \
 
46
        -I$(top_srcdir)/common                  \
 
47
        -I$(top_srcdir)/libdbus                 \
 
48
        -DLOCALEDIR=\"$(localedir)\"            \
 
49
        -DG_LOG_DOMAIN=\"xfce4-power-manager\"  \
 
50
        -DSYSCONFDIR=\"$(sysconfdir)\"          \
 
51
        $(GOBJECT_CFLAGS)                       \
 
52
        $(GTHREAD_CFLAGS)                       \
 
53
        $(DBUS_GLIB_CFLAGS)                     \
 
54
        $(LIBXFCE4UI_CFLAGS)                    \
 
55
        $(XFCONF_CFLAGS)                        \
 
56
        $(LIBNOTIFY_CFLAGS)                     \
 
57
        $(XRANDR_CFLAGS)                        \
 
58
        $(DPMS_CFLAGS)                  
 
59
 
 
60
xfce4_power_manager_LDADD =                     \
 
61
        $(top_builddir)/common/libxfpmcommon.la \
 
62
        $(top_builddir)/libdbus/libxfpmdbus.la  \
 
63
        $(GOBJECT_LIBS)                         \
 
64
        $(GTHREAD_LIBS)                         \
 
65
        $(DBUS_GLIB_LIBS)                       \
 
66
        $(LIBXFCE4UI_LIBS)                      \
 
67
        $(XFCONF_LIBS)                          \
 
68
        $(LIBNOTIFY_LIBS)                       \
 
69
        $(XRANDR_LIBS)                          \
 
70
        $(DPMS_LIBS)
 
71
 
 
72
xfce4_power_information_SOURCES =               \
 
73
        xfpm-power-info.c                       \
 
74
        xfpm-power-common.c                     \
 
75
        xfpm-power-common.h
 
76
 
 
77
xfce4_power_information_CFLAGS =                \
 
78
        -I$(top_srcdir)                         \
 
79
        -I$(top_srcdir)/common                  \
 
80
        -I$(top_srcdir)/libdbus                 \
 
81
        -DLOCALEDIR=\"$(localedir)\"            \
 
82
        -DG_LOG_DOMAIN=\"xfce4-power-information\"\
 
83
        $(GOBJECT_CFLAGS)                       \
 
84
        $(DBUS_GLIB_CFLAGS)                     \
 
85
        $(LIBXFCE4UI_CFLAGS)
 
86
 
 
87
xfce4_power_information_LDADD =                 \
 
88
        $(GOBJECT_LIBS)                         \
 
89
        $(DBUS_GLIB_LIBS)                       \
 
90
        $(LIBXFCE4UI_LIBS)                      \
 
91
        $(top_builddir)/libdbus/libxfpmdbus.la
92
92
 
93
93
manpagedir = $(mandir)/man1
94
94
 
95
95
manpage_DATA = xfce4-power-manager.1
96
96
 
97
 
xfpm_glib_headers =                             \
98
 
        $(srcdir)/xfpm-enum-glib.h                      
 
97
xfpm_glib_headers =                             \
 
98
        $(srcdir)/xfpm-enum-glib.h
 
99
 
 
100
BUILT_SOURCES =                                 \
 
101
        xfce-power-manager-dbus-server.h        \
 
102
        xfce-power-manager-dbus-client.h        \
 
103
        xfpm-enum-types.c                       \
 
104
        xfpm-enum-types.h                       \
 
105
        xfpm-marshal.c                          \
 
106
        xfpm-marshal.h                          \
 
107
        org.freedesktop.PowerManagement.h       \
 
108
        org.freedesktop.PowerManagement.Inhibit.h
99
109
 
100
110
if MAINTAINER_MODE
101
111
 
102
 
BUILT_SOURCES =                                         \
103
 
        xfce-power-manager-dbus-server.h                \
104
 
        xfce-power-manager-dbus-client.h                \
105
 
        org.freedesktop.PowerManagement.h               \
106
 
        org.freedesktop.PowerManagement.Inhibit.h       \
107
 
        org.freedesktop.PowerManagement.Backlight.h     \
108
 
        xfpm-marshal.c                                  \
109
 
        xfpm-marshal.h                                  \
110
 
        xfpm-enum-types.c                               \
111
 
        xfpm-enum-types.h
112
 
 
113
112
xfpm-enum-types.h: $(xfpm_glib_headers)
114
113
        ( cd $(srcdir) && glib-mkenums \
115
114
                --fhead "#ifndef _XFPM_ENUM_TYPES_H\n#define _XFPM_ENUM_TYPES_H\n#include <glib-object.h>\nG_BEGIN_DECLS\n" \
146
145
        dbus-binding-tool --mode=glib-client --prefix=xfpm_manager $< >$@
147
146
 
148
147
org.freedesktop.PowerManagement.h: $(srcdir)/org.freedesktop.PowerManagement.xml
149
 
        dbus-binding-tool --mode=glib-server --prefix=xfpm_engine $< >$@
 
148
        dbus-binding-tool --mode=glib-server --prefix=xfpm_power $< >$@
150
149
 
151
150
org.freedesktop.PowerManagement.Inhibit.h: $(srcdir)/org.freedesktop.PowerManagement.Inhibit.xml
152
151
        dbus-binding-tool --mode=glib-server --prefix=xfpm_inhibit $< >$@
153
152
 
154
 
org.freedesktop.PowerManagement.Backlight.h: $(srcdir)/org.freedesktop.PowerManagement.Backlight.xml
155
 
        dbus-binding-tool --mode=glib-server --prefix=xfpm_backlight $< >$@
156
 
 
157
153
endif
158
154
 
159
155
@INTLTOOL_DESKTOP_RULE@
161
157
autostart_in_files = xfce4-power-manager.desktop.in
162
158
autostart_DATA = $(autostart_in_files:.desktop.in=.desktop)
163
159
 
164
 
EXTRA_DIST =                                    \
 
160
EXTRA_DIST =                                    \
165
161
        xfpm-marshal.list                       \
166
 
        xfpm-enum-glib.h                        \
167
 
        $(autostart_in_files)                   \
168
 
        $(manpage_DATA)
169
 
 
170
 
DISTCLEANFILES =                                \
171
 
        $(BUILT_SOURCES)                        \
172
 
        xfce4-power-manager.desktop
173
 
 
 
162
        $(autostart_in_files)                   \
 
163
        $(manpage_DATA)
 
164
 
 
165
DISTCLEANFILES =                                \
 
166
        $(BUILT_SOURCES)                        \
 
167
        xfce4-power-manager.desktop
 
 
b'\\ No newline at end of file'