Changeset View
Changeset View
Standalone View
Standalone View
head/lib/libc/tests/stdlib/Makefile
Show First 20 Lines • Show All 44 Lines • ▼ Show 20 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} | ||||
CXXFLAGS.cxa_thread_atexit_test+= -std=c++11 | CXXSTD.cxa_thread_atexit_test= c++11 | ||||
CXXFLAGS.cxa_thread_atexit_nothr_test+= -std=c++11 | CXXSTD.cxa_thread_atexit_nothr_test= 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 | ||||
SUBDIR+= dynthr_mod | SUBDIR+= dynthr_mod | ||||
.include <bsd.test.mk> | .include <bsd.test.mk> |