freebsd-nq/sys/boot/libstand32/Makefile
Bryan Drewery a09f4b4d12 Add more .NOMETA missed in r291320
Sponsored by:	EMC / Isilon Storage Division
2016-03-11 23:45:51 +00:00

29 lines
554 B
Makefile

# $FreeBSD$
.include <src.opts.mk>
LIBSTAND_SRC= ${.CURDIR}/../../../lib/libstand
.if ${MACHINE_CPUARCH} == "amd64"
LIBSTAND_CPUARCH=i386
.else
LIBSTAND_CPUARCH=${MACHINE_CPUARCH}
.endif
LIBC_SRC= ${LIBSTAND_SRC}/../libc
INTERNALLIB=
INCS=
MAN=
.PATH: ${LIBSTAND_SRC}
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "powerpc64"
CFLAGS+= -m32 -I.
.endif
.include "${LIBSTAND_SRC}/Makefile"
.if ${MACHINE_CPUARCH} == "amd64"
CLEANFILES+= machine
beforedepend ${OBJS}: machine
machine: .NOMETA
ln -fs ${.CURDIR}/../../i386/include machine
.endif