freeswitch/tests/unit/Makefile.am

22 lines
442 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
check:
error:
$(error You must install libtap-dev to build these unit tests)
endif