11be35a165
To do so, a few dependencies have been imported: * external/bsd/lutok * external/mit/lua * external/public-domain/sqlite * external/public-domain/xz The Kyua framework is the new generation of ATF (Automated Test Framework), it is composed of: * external/bsd/atf * external/bsd/kyua-atf-compat * external/bsd/kyua-cli * external/bsd/kyua-tester * tests Kyua/ATF being written in C++, it depends on libstdc++ which is provided by GCC. As this is not part of the sources, Kyua is only compiled when the native GCC utils are installed. To install Kyua do the following: * In a cross-build enviromnent, add the following to the build.sh commandline: -V MKBINUTILS=yes -V MKGCCCMDS=yes WARNING: At this point the import is still experimental, and not supported on native builds (a.k.a make build). Change-Id: I26aee23c5bbd2d64adcb7c1beb98fe0d479d7ada
58 lines
1.4 KiB
Makefile
58 lines
1.4 KiB
Makefile
# $NetBSD: Makefile,v 1.7 2011/07/03 15:28:25 mrg Exp $
|
|
#
|
|
|
|
NOMAN= # defined
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
.if ${MKPIC} != "no"
|
|
|
|
SUBDIR+= helper_dso1 .WAIT helper_dso2 .WAIT \
|
|
helper_symver_dso0 .WAIT helper_symver_dso1 .WAIT \
|
|
helper_symver_dso2 .WAIT \
|
|
data
|
|
|
|
TESTSDIR= ${TESTSBASE}/libexec/ld.elf_so
|
|
|
|
TESTS_C+= t_dlerror-cleared t_dlerror-false t_dlinfo t_dlvsym
|
|
|
|
LDADD.t_dlerror-false= -Wl,-rpath,/var/nonexistent/lib
|
|
LDADD.t_dlvsym= -Wl,-rpath,${TESTSDIR}/h_helper_symver_dso2
|
|
|
|
TESTS_SH+= t_df_1_noopen t_dl_symver
|
|
|
|
BINDIR= ${TESTSDIR}
|
|
PROGS+= h_df_1_noopen1
|
|
SRCS.h_df_1_noopen1= h_df_1_noopen.c
|
|
|
|
PROGS+= h_df_1_noopen2
|
|
SRCS.h_df_1_noopen2= h_df_1_noopen.c
|
|
LDADD.h_df_1_noopen2= -lpthread
|
|
|
|
PROGS+= h_locking
|
|
SRCS.h_locking= h_locking.c
|
|
LDADD.h_locking= -lpthread -Wl,--export-dynamic -Wl,-rpath,${TESTSDIR}
|
|
|
|
PROGS+= h_dl_symver_v0
|
|
SRCS.h_dl_symver_v0= h_dl_symver.c
|
|
V0ODIR!= cd ${.CURDIR}/helper_symver_dso0 && ${PRINTOBJDIR}
|
|
LDADD.h_dl_symver_v0= -L${V0ODIR} -lh_helper_symver_dso
|
|
|
|
PROGS+= h_dl_symver_v1
|
|
SRCS.h_dl_symver_v1= h_dl_symver.c
|
|
V1ODIR!= cd ${.CURDIR}/helper_symver_dso1 && ${PRINTOBJDIR}
|
|
LDADD.h_dl_symver_v1= -L${V1ODIR} -lh_helper_symver_dso
|
|
|
|
PROGS+= h_dl_symver_v2
|
|
SRCS.h_dl_symver_v2= h_dl_symver.c
|
|
V2ODIR!= cd ${.CURDIR}/helper_symver_dso2 && ${PRINTOBJDIR}
|
|
LDADD.h_dl_symver_v2= -L${V2ODIR} -lh_helper_symver_dso
|
|
|
|
.include <bsd.test.mk>
|
|
|
|
.else
|
|
|
|
NOPROG= # defined
|
|
.include <bsd.prog.mk>
|
|
|
|
.endif
|