From 6e2ea33ba70a7d6b6ffa614a8fe57fe7662b7c70 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Tue, 20 Mar 2007 14:48:00 +0000 Subject: Create a common HAL abstraction layer --- common/Makefile.am | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'common/Makefile.am') diff --git a/common/Makefile.am b/common/Makefile.am index 77a77322..a2e50354 100644 --- a/common/Makefile.am +++ b/common/Makefile.am @@ -9,6 +9,12 @@ 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 @@ -21,7 +27,7 @@ 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) \ - notify.h $(notify_sources) + hal.h $(hal_sources) notify.h $(notify_sources) noinst_PROGRAMS = test_textfile @@ -29,7 +35,7 @@ test_textfile_LDADD = libhelper.a AM_CFLAGS = @DBUS_CFLAGS@ @GLIB_CFLAGS@ -EXTRA_DIST = ppoll.h uinput.h \ +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 -- cgit