freeswitch/tests/unit/Makefile.am
William King f7f5c7587f FS-7820
C level unit testing and micro benchmarking framework, including one
example unit test.
2015-07-10 12:04:04 -07:00

23 lines
461 B
Makefile

FSLD = $(top_builddir)/libfreeswitch.la $(top_builddir)/libs/apr/libapr-1.la $(top_builddir)/libs/apr-util/libaprutil-1.la
TESTS = event_create
if HAVE_TAP
check_PROGRAMS = event_create
event_create_SOURCES = event_create.c
event_create_CFLAGS = $(SWITCH_AM_CFLAGS)
event_create_LDADD = $(FSLD)
event_create_LDFLAGS = $(SWITCH_AM_LDFLAGS) -ltap
else
install: error
all: error
error:
$(error You must install libtap-dev to build these unit tests)
endif