freeswitch/tests/unit/unit.mk
Chris Rienzo 0c8f5ed60d FS-11453 [core] remove dependency to libtap for unit tests
move all core unit tests to tests/unit
2018-12-20 10:18:28 -05:00

25 lines
949 B
Makefile

AUTOMAKE_OPTIONS = foreign
FSLD = $(top_builddir)/libfreeswitch.la $(top_builddir)/libs/apr/libapr-1.la $(top_builddir)/libs/apr-util/libaprutil-1.la
check_PROGRAMS += tests/unit/switch_event
tests_unit_switch_event_SOURCES = tests/unit/switch_event.c
tests_unit_switch_event_CFLAGS = $(SWITCH_AM_CFLAGS)
tests_unit_switch_event_LDADD = $(FSLD)
tests_unit_switch_event_LDFLAGS = $(SWITCH_AM_LDFLAGS)
check_PROGRAMS += tests/unit/switch_hash
tests_unit_switch_hash_SOURCES = tests/unit/switch_hash.c
tests_unit_switch_hash_CFLAGS = $(SWITCH_AM_CFLAGS)
tests_unit_switch_hash_LDADD = $(FSLD)
tests_unit_switch_hash_LDFLAGS = $(SWITCH_AM_LDFLAGS)
check_PROGRAMS += tests/unit/switch_ivr_originate
tests_unit_switch_ivr_originate_SOURCES = tests/unit/switch_ivr_originate.c
tests_unit_switch_ivr_originate_CFLAGS = $(SWITCH_AM_CFLAGS)
tests_unit_switch_ivr_originate_LDADD = $(FSLD)
tests_unit_switch_ivr_originate_LDFLAGS = $(SWITCH_AM_LDFLAGS)