[Midnightbsd-cvs] src [10187] trunk/sys/boot/libstand32: add libstand32

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Fri Jun 1 19:24:58 EDT 2018


Revision: 10187
          http://svnweb.midnightbsd.org/src/?rev=10187
Author:   laffer1
Date:     2018-06-01 19:24:57 -0400 (Fri, 01 Jun 2018)
Log Message:
-----------
add libstand32

Added Paths:
-----------
    trunk/sys/boot/libstand32/
    trunk/sys/boot/libstand32/Makefile

Added: trunk/sys/boot/libstand32/Makefile
===================================================================
--- trunk/sys/boot/libstand32/Makefile	                        (rev 0)
+++ trunk/sys/boot/libstand32/Makefile	2018-06-01 23:24:57 UTC (rev 10187)
@@ -0,0 +1,32 @@
+# $MidnightBSD$
+# $FreeBSD: stable/10/sys/boot/libstand32/Makefile 312403 2017-01-19 07:29:52Z delphij $
+
+.include <bsd.own.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
+
+WARNS?=		0
+
+.include "${LIBSTAND_SRC}/Makefile"
+
+.if ${MACHINE_CPUARCH} == "amd64"
+CLEANFILES+= machine
+beforedepend ${OBJS}: machine
+machine:
+	ln -fs ${.CURDIR}/../../i386/include machine
+.endif


Property changes on: trunk/sys/boot/libstand32/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list