minix/tests/lib/csu/Makefile
Lionel Sambuc 4684ddb6aa LLVM Minix changes
- import libcxx
 - reduce targets to the one when compiled as a tools

Change-Id: Iabb8427f80ff8e89463559a28bcb8b4f2bdbc496
2014-07-28 17:05:59 +02:00

31 lines
759 B
Makefile

# $NetBSD: Makefile,v 1.4 2011/01/02 09:33:45 skrll Exp $
NOMAN= # defined
.include <bsd.own.mk>
.if defined(__MINIX)
USE_BITCODE:= no # LSC: can't use bitcode for this.
.endif # defined(__MINIX)
TESTSDIR= ${TESTSBASE}/lib/csu
TESTS_SH= t_crt0
TESTS_SUBDIRS=
SUBDIR+= dso
.include "Makefile.check_stack"
CPPFLAGS+= ${CPPFLAGS_CHECK_STACK}
BINDIR= ${TESTSDIR}
PROG_CXX= h_initfini1 h_initfini2 h_initfini3
SRCS.h_initfini1= h_initfini1.cxx h_initfini_common.cxx \
${SRCS_CHECK_STACK}
SRCS.h_initfini2= h_initfini1.cxx h_initfini_common.cxx \
${SRCS_CHECK_STACK}
LDADD.h_initfini2+= -static
SRCS.h_initfini3= h_initfini3.cxx h_initfini_common.cxx \
${SRCS_CHECK_STACK}
LDADD.h_initfini3+= -Wl,-rpath,${TESTSDIR}
.include <bsd.test.mk>