Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/libexec/ld.elf_so only build the ld.elf_so tests if MK...



details:   https://anonhg.NetBSD.org/src/rev/782694480742
branches:  trunk
changeset: 766837:782694480742
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Jul 03 06:46:49 2011 +0000

description:
only build the ld.elf_so tests if MKPIC != no.

diffstat:

 tests/libexec/ld.elf_so/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 355fe3a7d0df -r 782694480742 tests/libexec/ld.elf_so/Makefile
--- a/tests/libexec/ld.elf_so/Makefile  Sun Jul 03 06:45:50 2011 +0000
+++ b/tests/libexec/ld.elf_so/Makefile  Sun Jul 03 06:46:49 2011 +0000
@@ -1,10 +1,12 @@
-# $NetBSD: Makefile,v 1.5 2011/06/25 05:45:12 nonaka Exp $
+# $NetBSD: Makefile,v 1.6 2011/07/03 06:46:49 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 \
@@ -46,4 +48,6 @@
 V2ODIR!=               cd ${.CURDIR}/helper_symver_dso2 && ${PRINTOBJDIR}
 LDADD.h_dl_symver_v2=  -L${V2ODIR} -lh_helper_symver_dso
 
+.endif
+
 .include <bsd.test.mk>



Home | Main Index | Thread Index | Old Index