Expand PMF_FN_* macros.
[netbsd-mini2440.git] / regress / lib / csu / initfini / Makefile
blob9a48a5759ff43e93c1d5818de6edd8132eaee567
1 # $NetBSD: Makefile,v 1.5 2001/12/12 01:24:12 tv Exp $
3 NOMAN= # defined
5 .include <bsd.own.mk>
7 .if (${OBJECT_FMT} == "ELF")
9 .if exists(arch/${MACHINE_CPU}/initfini_asm.S)
10 PROG= initfini
11 SRCS= initfini.c initfini_asm.S
12 WARNS?= 1
13 CLEANFILES+= output
15 .PATH: ${.CURDIR}/arch/${MACHINE_CPU}
17 regress: ${PROG}
18 @./${PROG} > output
19 @if ! cmp -s ${.CURDIR}/expected output; then \
20 echo "FAILED"; \
21 else \
22 echo "PASSED"; \
24 .else
25 regress:
26 @echo "FAILED -- asm stub not written for ${MACHINE_CPU}"
27 .endif
29 .endif
31 .include <bsd.prog.mk>