summaryrefslogtreecommitdiffstats
path: root/common/Makefile.am
blob: c231319baa0fe3b6aabe950b054500546610d772 (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

if HAL
hal_sources = hal-libhal.c
else
hal_sources = hal-dummy.c
endif

if INOTIFY
notify_sources = notify-inotify.c
else
notify_sources = notify-dummy.c
endif

noinst_LIBRARIES = libhelper.a

libhelper_a_SOURCES = oui.h oui.c dbus.h dbus.c \
	textfile.h textfile.c logging.h logging.c \
	dbus-helper.h dbus-helper.c error.h error.c \
	glib-helper.h glib-helper.c sdp-xml.h sdp-xml.c sdp-glib.c \
	hal.h $(hal_sources) notify.h $(notify_sources)

noinst_PROGRAMS = test_textfile

test_textfile_LDADD = libhelper.a

AM_CFLAGS = @DBUS_CFLAGS@ @GLIB_CFLAGS@

EXTRA_DIST = ppoll.h uinput.h hal-dummy.c hal-libhal.c \
			notify-dummy.c notify-inotify.c

MAINTAINERCLEANFILES = Makefile.in