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

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

if GLIB
glib_sources =
glib_cflags  = @GLIB_CFLAGS@
else
glib_sources = glib-ectomy.c
glib_cflags  =
endif

noinst_LIBRARIES = libhelper.a

libhelper_a_SOURCES = oui.h oui.c \
	textfile.h textfile.c helper.h helper.c \
	logging.h logging.c dbus.h dbus.c \
	sdp-xml.h sdp-xml.c $(sdp_sources) \
	glib-ectomy.h $(glib_sources)

noinst_PROGRAMS = test_textfile

test_textfile_LDADD = libhelper.a

AM_CFLAGS = @DBUS_CFLAGS@ $(glib_cflags)

EXTRA_DIST = ppoll.h sdp-dummy.c sdp-expat.c glib-ectomy.c

MAINTAINERCLEANFILES = Makefile.in