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

if GLIB
sdp_sources = sdp-glib.c
else
if EXPAT
sdp_sources = sdp-expat.c
else
sdp_sources = sdp-dummy.c
endif
endif

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 \
	sdp-xml.h sdp-xml.c $(sdp_sources) \
	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 \
		sdp-dummy.c sdp-expat.c sdp-glib.c

MAINTAINERCLEANFILES = Makefile.in