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