26 lines
500 B
Makefile
26 lines
500 B
Makefile
# $NetBSD: Makefile,v 1.3 2006/10/14 20:57:10 bjh21 Exp $
|
|
|
|
NOMAN= #
|
|
|
|
.include <bsd.own.mk>
|
|
#
|
|
# tramptest.c relies on a trampoline generated by gcc,
|
|
# which happens for the following architectures:
|
|
#
|
|
GCCTRAMP_ARCHS= alpha arm i386 m68k mips sparc sparc64 vax x86_64
|
|
|
|
.if !empty(GCCTRAMP_ARCHS:M${MACHINE_GNU_ARCH})
|
|
PROG= tramptest
|
|
regress: ${PROG}
|
|
@if ./tramptest; then \
|
|
echo "PASSED"; \
|
|
else \
|
|
echo "FAILED"; \
|
|
fi
|
|
.else
|
|
# XXX need another test program
|
|
regress:
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|