summaryrefslogtreecommitdiff
path: root/tools/Makefile.am
blob: 4b176bd618d9b0de053538f595db3f174d67ebb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
## Process this file with automake to produce Makefile.in

INCLUDES = \
	-DUP_COMPILATION					\
	-DG_LOG_DOMAIN=\"UPower\"				\
	-I$(top_srcdir)						\
	-I$(top_srcdir)/libupower-glib				\
	$(DBUS_GLIB_CFLAGS)					\
	$(POLKIT_DBUS_CFLAGS)					\
	$(GLIB_CFLAGS)

UPOWER_LIBS = $(top_builddir)/libupower-glib/libupower-glib.la

bin_PROGRAMS = upower

upower_SOURCES = 					\
	up-tool.c					\
	$(BUILT_SOURCES)

upower_CPPFLAGS = 					\
	$(AM_CPPFLAGS)

upower_LDFLAGS = -pthread

upower_LDADD = 						\
	$(DBUS_GLIB_LIBS)				\
	$(UPOWER_LIBS)					\
	$(POLKIT_DBUS_LIBS)

CLEANFILES = $(BUILT_SOURCES)

clean-local :
	rm -f *~ $(service_DATA) $(dbusconf_DATA)