Changeset View
Changeset View
Standalone View
Standalone View
lib/libc/tests/stdlib/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
.include <src.opts.mk> | .include <src.opts.mk> | ||||
ATF_TESTS_C+= heapsort_test | ATF_TESTS_C+= heapsort_test | ||||
ATF_TESTS_C+= mergesort_test | ATF_TESTS_C+= mergesort_test | ||||
ATF_TESTS_C+= qsort_test | ATF_TESTS_C+= qsort_test | ||||
ATF_TESTS_C+= set_constraint_handler_s_test | |||||
ATF_TESTS_C+= tsearch_test | ATF_TESTS_C+= tsearch_test | ||||
.if ${COMPILER_FEATURES:Mc++11} | .if ${COMPILER_FEATURES:Mc++11} | ||||
ATF_TESTS_CXX+= cxa_thread_atexit_test | ATF_TESTS_CXX+= cxa_thread_atexit_test | ||||
ATF_TESTS_CXX+= cxa_thread_atexit_nothr_test | ATF_TESTS_CXX+= cxa_thread_atexit_nothr_test | ||||
.endif | .endif | ||||
# Not sure why this isn't defined for all architectures, since most | # Not sure why this isn't defined for all architectures, since most | ||||
# have long double. | # have long double. | ||||
Show All 24 Lines | |||||
BINDIR= ${TESTSDIR} | BINDIR= ${TESTSDIR} | ||||
# TODO: see comment above | # TODO: see comment above | ||||
#PROGS+= h_atexit | #PROGS+= h_atexit | ||||
PROGS+= h_getopt h_getopt_long | PROGS+= h_getopt h_getopt_long | ||||
CFLAGS+= -I${.CURDIR} | CFLAGS+= -I${.CURDIR} | ||||
CFLAGS.set_constraint_handler_s_test+= -D__STDC_WANT_LIB_EXT1__=1 | |||||
CXXFLAGS.cxa_thread_atexit_test+= -std=c++11 | CXXFLAGS.cxa_thread_atexit_test+= -std=c++11 | ||||
CXXFLAGS.cxa_thread_atexit_nothr_test+= -std=c++11 | CXXFLAGS.cxa_thread_atexit_nothr_test+= -std=c++11 | ||||
LIBADD.cxa_thread_atexit_test+= pthread | LIBADD.cxa_thread_atexit_test+= pthread | ||||
.for t in h_getopt h_getopt_long | .for t in h_getopt h_getopt_long | ||||
CFLAGS.$t+= -I${LIBNETBSD_SRCDIR} -I${SRCTOP}/contrib/netbsd-tests | CFLAGS.$t+= -I${LIBNETBSD_SRCDIR} -I${SRCTOP}/contrib/netbsd-tests | ||||
LDFLAGS.$t+= -L${LIBNETBSD_OBJDIR} | LDFLAGS.$t+= -L${LIBNETBSD_OBJDIR} | ||||
LIBADD.${t}+= netbsd util | LIBADD.${t}+= netbsd util | ||||
.endfor | .endfor | ||||
LIBADD.strtod_test+= m | LIBADD.strtod_test+= m | ||||
.include <bsd.test.mk> | .include <bsd.test.mk> | ||||
Context not available. |