Makefile.am 940 Bytes
Newer Older
Joe Clarke's avatar
Joe Clarke committed
1 2 3 4
## Process this file with automake to produce Makefile.in

INCLUDES = \
	-I$(top_builddir)/src -I$(top_srcdir)/src		\
5 6 7 8 9
	-DEGG_LOG_FILE=\""$(UP_LOG_DIR)/DeviceKit-power"\"	\
	-DEGG_VERBOSE="\"UP_VERBOSE\""				\
	-DEGG_LOGGING="\"UP_LOGGING\""				\
	-DEGG_CONSOLE="\"UP_CONSOLE\""				\
	-DUP_COMPILATION					\
Joe Clarke's avatar
Joe Clarke committed
10 11 12 13 14 15
	-I$(top_srcdir)/devkit-power-gobject			\
	$(DBUS_GLIB_CFLAGS)					\
	$(POLKIT_CFLAGS)					\
	$(GLIB_CFLAGS)

if BACKEND_TYPE_FREEBSD
16
noinst_LTLIBRARIES = libupshared.la
Joe Clarke's avatar
Joe Clarke committed
17 18
endif

19
libupshared_la_SOURCES =					\
20 21 22 23 24 25 26 27 28 29 30
	up-acpi-native.c					\
	up-acpi-native.h					\
	up-backend-acpi.h					\
	up-backend.c						\
	up-devd.c						\
	up-devd.h						\
	up-device-supply.c					\
	up-device-supply.h					\
	up-native.c						\
	up-util.c						\
	up-util.h						\
Joe Clarke's avatar
Joe Clarke committed
31 32
	$(BUILT_SOURCES)

33
libupshared_la_CFLAGS =					\
Joe Clarke's avatar
Joe Clarke committed
34 35
	$(WARNINGFLAGS_C)

36
libupshared_la_LIBADD =					\
Joe Clarke's avatar
Joe Clarke committed
37 38 39
	-lkvm

EXTRA_DIST =							\
40
	up-acpi-native.vala					\
Joe Clarke's avatar
Joe Clarke committed
41 42 43 44 45
	TODO

clean-local :
	rm -f *~