# $FreeBSD$
# Originally from $NetBSD: Makefile,v 1.21 1997/10/26 22:08:38 lukem Exp $
#
# Notes:
# - We don't use the libc strerror/sys_errlist because the string table is
# quite large.
#
MAN=
.PATH: ${LIBSTAND_SRC}
# standalone components and stuff we have modified locally
# private (pruned) versions of libc string functions
# string functions from libc
${MACHINE_CPUARCH} == "arm"
.if ${MACHINE_CPUARCH} == "arm"
.if ${MACHINE_CPUARCH} == "powerpc"
# uuid functions from libc
# _setjmp/_longjmp
.if ${MACHINE_CPUARCH} == "amd64"
.elif ${MACHINE_ARCH} == "powerpc64"
.else
# decompression functionality from libbz2
# NOTE: to actually test this functionality after libbz2 upgrade compile
# loader(8) with LOADER_BZIP2_SUPPORT defined
CLEANFILES+= _${file}
sed "s|bzlib_private\.h|libstand_bzlib_private.h|" \
# decompression functionality from libz
CLEANFILES+= _${file}
sed -e "s|zutil\.h|libstand_zutil.h|" \
-e "s|gzguts\.h|libstand_gzguts.h|" \
# depend on stand.h being able to be included multiple times
# io routines
# network routines
# network info services:
# boot filesystems