VFS: convert EINTR to EAGAIN for nonblocking I/O
[minix3.git] / tests / libexec / ld.elf_so / Makefile
blob9078d3323b942278b61334eaf64b81f3753f26f6
1 # $NetBSD: Makefile,v 1.7 2011/07/03 15:28:25 mrg Exp $
4 NOMAN= # defined
6 .include <bsd.own.mk>
8 .if ${MKPIC} != "no"
10 SUBDIR+= helper_dso1 .WAIT helper_dso2 .WAIT \
11 helper_symver_dso0 .WAIT helper_symver_dso1 .WAIT \
12 helper_symver_dso2 .WAIT \
13 data
15 TESTSDIR= ${TESTSBASE}/libexec/ld.elf_so
17 TESTS_C+= t_dlerror-cleared t_dlerror-false t_dlinfo t_dlvsym
19 LDADD.t_dlerror-false= -Wl,-rpath,/var/nonexistent/lib
20 LDADD.t_dlvsym= -Wl,-rpath,${TESTSDIR}/h_helper_symver_dso2
22 TESTS_SH+= t_df_1_noopen t_dl_symver
24 BINDIR= ${TESTSDIR}
25 PROGS+= h_df_1_noopen1
26 SRCS.h_df_1_noopen1= h_df_1_noopen.c
28 PROGS+= h_df_1_noopen2
29 SRCS.h_df_1_noopen2= h_df_1_noopen.c
30 LDADD.h_df_1_noopen2= -lpthread
32 PROGS+= h_locking
33 SRCS.h_locking= h_locking.c
34 LDADD.h_locking= -lpthread -Wl,--export-dynamic -Wl,-rpath,${TESTSDIR}
36 PROGS+= h_dl_symver_v0
37 SRCS.h_dl_symver_v0= h_dl_symver.c
38 V0ODIR!= cd ${.CURDIR}/helper_symver_dso0 && ${PRINTOBJDIR}
39 LDADD.h_dl_symver_v0= -L${V0ODIR} -lh_helper_symver_dso
41 PROGS+= h_dl_symver_v1
42 SRCS.h_dl_symver_v1= h_dl_symver.c
43 V1ODIR!= cd ${.CURDIR}/helper_symver_dso1 && ${PRINTOBJDIR}
44 LDADD.h_dl_symver_v1= -L${V1ODIR} -lh_helper_symver_dso
46 PROGS+= h_dl_symver_v2
47 SRCS.h_dl_symver_v2= h_dl_symver.c
48 V2ODIR!= cd ${.CURDIR}/helper_symver_dso2 && ${PRINTOBJDIR}
49 LDADD.h_dl_symver_v2= -L${V2ODIR} -lh_helper_symver_dso
51 .include <bsd.test.mk>
53 .else
55 NOPROG= # defined
56 .include <bsd.prog.mk>
58 .endif