FS-11487 #resolve convert to Makefile.am
fix regression from 53533118cd7eedf7d25a9c6227558736fa5d0b2f
This commit is contained in:
parent
69252d9911
commit
879a4dc7ec
|
@ -1807,6 +1807,7 @@ ac_cv_file_dbd_apr_dbd_mysql_c=no
|
|||
|
||||
AC_CONFIG_FILES([Makefile
|
||||
build/Makefile
|
||||
tests/unit/Makefile
|
||||
src/Makefile
|
||||
src/mod/Makefile
|
||||
src/mod/applications/mod_abstraction/Makefile
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
include $(top_srcdir)/build/modmake.rulesam
|
||||
|
||||
bin_PROGRAMS = switch_event switch_hash switch_ivr_originate
|
||||
AM_LDFLAGS = -avoid-version -no-undefined $(SWITCH_AM_LDFLAGS) $(openssl_LIBS)
|
||||
AM_LDFLAGS += $(FREESWITCH_LIBS) $(switch_builddir)/libfreeswitch.la $(CORE_LIBS) $(APR_LIBS)
|
||||
AM_CFLAGS = $(SWITCH_AM_CPPFLAGS)
|
||||
AM_CPPFLAGS = $(SWITCH_AM_CPPFLAGS)
|
||||
|
||||
TESTS = $(bin_PROGRAMS)
|
|
@ -1,24 +0,0 @@
|
|||
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)
|
||||
|
Loading…
Reference in New Issue