summaryrefslogtreecommitdiff
path: root/src/linux/Makefile.am
blob: 520b4cf534c4f3f912f066e628137990fcf42bea (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
## Process this file with automake to produce Makefile.in

INCLUDES = \
	-I$(top_builddir)/src -I$(top_srcdir)/src		\
	-DUP_COMPILATION					\
	-DG_LOG_DOMAIN=\"UPower-Linux\"				\
	-DPACKAGE_SYSCONF_DIR=\""$(sysconfdir)"\"		\
	-I$(top_srcdir)/libupower-glib				\
	$(USB_CFLAGS)						\
	$(GIO_CFLAGS)						\
	$(DBUS_GLIB_CFLAGS)					\
	$(GUDEV_CFLAGS)						\
	$(POLKIT_CFLAGS)					\
	$(GLIB_CFLAGS)						\
	$(IDEVICE_CFLAGS)

if BACKEND_TYPE_LINUX
noinst_LTLIBRARIES = libupshared.la
endif

if HAVE_IDEVICE
idevice_files = up-device-idevice.c up-device-idevice.h
else
idevice_files =
endif

libupshared_la_SOURCES =					\
	up-device-supply.c					\
	up-device-supply.h					\
	up-device-csr.c						\
	up-device-csr.h						\
	up-device-hid.c						\
	up-device-hid.h						\
	up-device-wup.c						\
	up-device-wup.h						\
	up-input.c						\
	up-input.h						\
	up-dock.c						\
	up-dock.h						\
	up-backend.c						\
	up-native.c						\
	sysfs-utils.c						\
	sysfs-utils.h						\
	$(idevice_files)					\
	$(BUILT_SOURCES)

EXTRA_DIST = $(libupshared_la_SOURCES) 			\
	     integration-test

libupshared_la_CFLAGS =					\
	$(WARNINGFLAGS_C)

clean-local :
	rm -f *~

-include $(top_srcdir)/git.mk