]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/boot/libstand32/Makefile
Since contrib/libcxxrt's ancestry was never correct, subversion 1.8 and
[FreeBSD/FreeBSD.git] / sys / boot / libstand32 / Makefile
1 # $FreeBSD$
2
3 .include <src.opts.mk>
4
5 LIBSTAND_SRC=   ${.CURDIR}/../../../lib/libstand
6 .if ${MACHINE_CPUARCH} == "amd64"
7 LIBSTAND_CPUARCH=i386
8 .else
9 LIBSTAND_CPUARCH=${MACHINE_CPUARCH}
10 .endif
11 LIBC_SRC=       ${LIBSTAND_SRC}/../libc
12 INTERNALLIB=
13 INCS=
14 MAN=
15 .PATH:  ${LIBSTAND_SRC}
16
17 .if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "powerpc64"
18 CFLAGS+=        -m32 -I.
19 .endif
20
21 .include "${LIBSTAND_SRC}/Makefile"
22
23 .if ${MACHINE_CPUARCH} == "amd64"
24 CLEANFILES+= machine
25 beforedepend ${OBJS}: machine
26 machine: .NOMETA
27         ln -fs ${.CURDIR}/../../i386/include machine
28 .endif