freeswitch/tests/unit/unit.mk

25 lines
949 B
Makefile
Raw Normal View History

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)