mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-07 04:03:53 +00:00
f7f5c7587f
C level unit testing and micro benchmarking framework, including one example unit test.
23 lines
461 B
Makefile
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
|
|
|