diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/Makefile.am | 10 | ||||
-rw-r--r-- | common/sdp-dummy.c | 0 |
2 files changed, 8 insertions, 2 deletions
diff --git a/common/Makefile.am b/common/Makefile.am index 1203652a..182d574e 100644 --- a/common/Makefile.am +++ b/common/Makefile.am @@ -1,10 +1,16 @@ +if EXPAT +sdp_sources = sdp-expat.c +else +sdp_sources = sdp-dummy.c +endif + noinst_LIBRARIES = libhelper.a libhelper_a_SOURCES = oui.h oui.c list.h list.c \ textfile.h textfile.c helper.h helper.c \ glib-ectomy.h glib-ectomy.c logging.h logging.c \ - dbus.h dbus.c sdp-xml.h sdp-xml.c sdp-expat.c + dbus.h dbus.c sdp-xml.h sdp-xml.c $(sdp_sources) noinst_PROGRAMS = test_textfile @@ -12,6 +18,6 @@ test_textfile_LDADD = libhelper.a AM_CFLAGS = @DBUS_CFLAGS@ -EXTRA_DIST = ppoll.h +EXTRA_DIST = ppoll.h sdp-dummy.c sdp-expat.c MAINTAINERCLEANFILES = Makefile.in diff --git a/common/sdp-dummy.c b/common/sdp-dummy.c new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/common/sdp-dummy.c |