📄 makefile.am
字号:
# Include these two in all the Makefile.am's!!!include $(top_srcdir)/Makefile.varsinclude $(top_srcdir)/Makefile.rulesinclude $(top_srcdir)/Makefile.dirs# General compilation flagsINCLUDES = -I. -I$(top_srcdir)/src/include -I$(top_srcdir)/src/testlib AM_CFLAGS = -g -Wall -Wstrict-prototypes -Wimplicit-function-declarationAM_LDFLAGS = -lpthreadLDADD = $(top_builddir)/src/lib/libsctp.la \ $(top_builddir)/src/testlib/libsctputil.laV6FLAGS = -DCONFIG_IPV6=1 -DTEST_V6=1 ${DEFS} ${INCLUDES} ${CFLAGS}# Test programs and libraries to buildPASSING_KERN_TESTS = \ test_assoc_abort \ test_assoc_shutdown \ test_autoclose \ test_basic \ test_fragments \ test_inaddr_any \ test_peeloff \ test_sockopt \ test_connect \ test_connectx \ test_recvmsg \ test_timetolive \ test_sctp_sendrecvmsg \ test_getname \ test_tcp_style\ test_1_to_1_socket_bind_listen \ test_1_to_1_accept_close \ test_1_to_1_connect \ test_1_to_1_connectx \ test_1_to_1_send \ test_1_to_1_sendto \ test_1_to_1_sendmsg \ test_1_to_1_recvfrom \ test_1_to_1_recvmsg \ test_1_to_1_shutdown \ test_1_to_1_sockopt \ test_1_to_1_addrs \ test_1_to_1_nonblock \ test_1_to_1_rtoinfo \ test_1_to_1_events \ test_1_to_1_threads \ test_1_to_1_initmsg_connectPASSING_V6_KERN_TESTS = \ test_basic_v6 \ test_sockopt_v6 \ test_fragments_v6 \ test_inaddr_any_v6 \ test_peeloff_v6 \ test_timetolive_v6 \ test_sctp_sendrecvmsg_v6 \ test_getname_v6 \ test_tcp_style_v6noinst_PROGRAMS = ${PASSING_KERN_TESTS} ${PASSING_V6_KERN_TESTS}$(top_builddir)/src/lib/libsctp.la: make -C $(top_builddir)/src/lib libsctp.la$(top_builddir)/src/testlib/libsctputil.la: make -C $(top_builddir)/src/testlib libsctputil.la# These are tests for live kernels which pass.v4test: ${PASSING_KERN_TESTS} @for a in $^; \ do \ echo "./$$a"; \ if ./$$a; \ then \ echo "$$a passes"; \ echo ""; \ else \ echo "$$a fails"; \ exit 1; \ fi; \ sleep 1; \ done @echo "Hoody hoo!"# These are tests for live kernels which pass.v6test: ${PASSING_V6_KERN_TESTS} @for a in $^; \ do \ echo "./$$a"; \ if ./$$a; \ then \ echo "$$a passes"; \ echo ""; \ else \ echo "$$a fails"; \ exit 1; \ fi; \ sleep 1; \ done @echo "Hoody hoo!"# Specifying the sourcestest_assoc_abort_SOURCES = test_assoc_abort.c test_assoc_shutdown_SOURCES = test_assoc_shutdown.c test_autoclose_SOURCES = test_autoclose.c test_basic_SOURCES = test_basic.c test_fragments_SOURCES = test_fragments.c test_inaddr_any_SOURCES = test_inaddr_any.c test_peeloff_SOURCES = test_peeloff.c test_sockopt_SOURCES = test_sockopt.c test_connect_SOURCES = test_connect.c test_connectx_SOURCES = test_connectx.c test_recvmsg_SOURCES = test_recvmsg.c test_timetolive_SOURCES = test_timetolive.ctest_sctp_sendrecvmsg_SOURCES = test_sctp_sendrecvmsg.ctest_getname_SOURCES = test_getname.c test_tcp_style_SOURCES = test_tcp_style.c test_1_to_1_socket_bind_listen_SOURCES = test_1_to_1_socket_bind_listen.ctest_1_to_1_accept_close_SOURCES = test_1_to_1_accept_close.ctest_1_to_1_connect_SOURCES = test_1_to_1_connect.ctest_1_to_1_connectx_SOURCES = test_1_to_1_connectx.ctest_1_to_1_send_SOURCES = test_1_to_1_send.ctest_1_to_1_sendto_SOURCES = test_1_to_1_sendto.ctest_1_to_1_sendmsg_SOURCES = test_1_to_1_sendmsg.ctest_1_to_1_recvfrom_SOURCES = test_1_to_1_recvfrom.ctest_1_to_1_recvmsg_SOURCES = test_1_to_1_recvmsg.ctest_1_to_1_shutdown_SOURCES = test_1_to_1_shutdown.ctest_1_to_1_sockopt_SOURCES = test_1_to_1_sockopt.ctest_1_to_1_addrs_SOURCES = test_1_to_1_addrs.ctest_1_to_1_nonblock_SOURCES = test_1_to_1_nonblock.ctest_1_to_1_rtoinfo_SOURCES = test_1_to_1_rtoinfo.ctest_1_to_1_events_SOURCES = test_1_to_1_events.ctest_1_to_1_threads_SOURCES = test_1_to_1_threads.ctest_1_to_1_initmsg_connect_SOURCES = test_1_to_1_initmsg_connect.c## Specifying objects rules for "v6test"#test_basic_v6_SOURCES = test_basic.ctest_basic_v6_CFLAGS = ${V6FLAGS}test_sockopt_v6_SOURCES = test_sockopt.ctest_sockopt_v6_CFLAGS = ${V6FLAGS}test_fragments_v6_SOURCES = test_fragments.ctest_fragments_v6_CFLAGS = ${V6FLAGS}test_inaddr_any_v6_SOURCES = test_inaddr_any.ctest_inaddr_any_v6_CFLAGS = ${V6FLAGS}test_peeloff_v6_SOURCES = test_peeloff.ctest_peeloff_v6_CFLAGS = ${V6FLAGS}test_timetolive_v6_SOURCES = test_timetolive.ctest_timetolive_v6_CFLAGS = ${V6FLAGS}test_sctp_sendrecvmsg_v6_SOURCES = test_sctp_sendrecvmsg.ctest_sctp_sendrecvmsg_v6_CFLAGS = ${V6FLAGS}test_getname_v6_SOURCES = test_getname.ctest_getname_v6_CFLAGS = ${V6FLAGS}test_tcp_style_v6_SOURCES = test_tcp_style.ctest_tcp_style_v6_CFLAGS = ${V6FLAGS}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -