NetBSD/usr.sbin/apm/Makefile

24 lines
532 B
Makefile

# $NetBSD: Makefile,v 1.19 2019/10/13 07:28:18 mrg Exp $
.include <bsd.own.mk>
.if (${MACHINE_ARCH} == "i386" || \
${MACHINE_CPU} == "arm" || \
${MACHINE} == "hpcmips" || \
${MACHINE} == "hpcsh" || \
${MACHINE} == "macppc" || \
${MACHINE} == "sparc")
PROG= apm
SRCS= apm.c apmsubr.c
.PATH: ${NETBSDSRCDIR}/usr.sbin/apmd
CPPFLAGS+=-I${NETBSDSRCDIR}/usr.sbin/apmd
LINKS= ${BINDIR}/apm ${BINDIR}/zzz
.endif
MAN= apm.8
MLINKS= apm.8 zzz.8
COPTS.apm.c+= ${GCC_NO_STRINGOP_TRUNCATION}
.include <bsd.prog.mk>