2008-05-08 22:29:38 -04:00
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
|
|
|
|
|
INCLUDES = \
|
2010-01-18 14:04:24 +00:00
|
|
|
-DUP_COMPILATION \
|
2009-02-26 13:31:57 +00:00
|
|
|
-I$(top_srcdir) \
|
2009-02-27 12:22:06 +00:00
|
|
|
-I$(top_srcdir)/devkit-power-gobject \
|
2009-02-26 13:31:57 +00:00
|
|
|
$(DBUS_GLIB_CFLAGS) \
|
|
|
|
|
$(POLKIT_DBUS_CFLAGS) \
|
2008-05-08 22:29:38 -04:00
|
|
|
$(GLIB_CFLAGS)
|
|
|
|
|
|
2009-02-27 12:22:06 +00:00
|
|
|
DEVKIT_POWER_LIBS = $(top_builddir)/devkit-power-gobject/libdevkit-power-gobject.la
|
2008-08-01 17:27:12 +01:00
|
|
|
|
2010-01-21 14:30:28 +00:00
|
|
|
bin_PROGRAMS = upower
|
2008-05-08 22:29:38 -04:00
|
|
|
|
2010-01-21 14:30:28 +00:00
|
|
|
upower_SOURCES = \
|
2008-08-28 15:49:19 +01:00
|
|
|
egg-debug.c \
|
|
|
|
|
egg-debug.h \
|
2010-01-18 12:26:55 +00:00
|
|
|
up-tool.c \
|
2008-05-08 22:29:38 -04:00
|
|
|
$(BUILT_SOURCES)
|
|
|
|
|
|
2010-01-21 14:30:28 +00:00
|
|
|
upower_CPPFLAGS = \
|
2008-05-08 22:29:38 -04:00
|
|
|
$(AM_CPPFLAGS)
|
|
|
|
|
|
2010-01-21 14:30:28 +00:00
|
|
|
upower_LDADD = \
|
2008-05-08 22:29:38 -04:00
|
|
|
$(DBUS_GLIB_LIBS) \
|
2008-08-01 17:27:12 +01:00
|
|
|
$(DEVKIT_POWER_LIBS) \
|
2008-05-08 22:29:38 -04:00
|
|
|
$(POLKIT_DBUS_LIBS)
|
|
|
|
|
|
2010-01-21 14:30:28 +00:00
|
|
|
install-exec-hook:
|
2010-01-21 14:47:21 +00:00
|
|
|
cd $(DESTDIR)$(bindir) && $(LN_S) -f upower devkit-power
|
2010-01-21 14:30:28 +00:00
|
|
|
|
2008-05-08 22:29:38 -04:00
|
|
|
CLEANFILES = $(BUILT_SOURCES)
|
|
|
|
|
|
|
|
|
|
clean-local :
|
|
|
|
|
rm -f *~ $(service_DATA) $(dbusconf_DATA)
|