blob: d40d9d1dd409091d29e3a3d327ca3b25534680a7 [file] [log] [blame]
if GLIB
sdp_sources = sdp-glib.c
else
sdp_sources = sdp-dummy.c
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 \
error.h error.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-glib.c
MAINTAINERCLEANFILES = Makefile.in