18a5822eff
They are used as build tools for cross compilation. This import does not include the full distribution. Rather, it sports a shell script that will download and patch the distribution when compiled from /usr/src/tools (yet to be committed). This part of the source tree is only necessary for cross compilation. It's not used or compiled for native builds.
18 lines
439 B
Makefile
18 lines
439 B
Makefile
# $NetBSD: Makefile,v 1.1 2011/06/21 06:03:14 mrg Exp $
|
|
|
|
libiberty/libiberty.a:
|
|
[ ! -d libiberty ] && mkdir libiberty || true
|
|
(cd libiberty; \
|
|
CC=${HOST_CC:Q} \
|
|
CFLAGS=${HOST_CFLAGS:Q} \
|
|
MAKE=${MAKE:Q} \
|
|
CONFIG_SHELL=${HOST_SH:Q} \
|
|
${HOST_SH} ${DIST}/libiberty/configure \
|
|
&& CC=${HOST_CC:Q} CFLAGS=${HOST_CFLAGS:Q} ${MAKE})
|
|
|
|
cleandir:
|
|
-rm -rf libiberty
|
|
|
|
depend dependall all: libiberty/libiberty.a
|
|
|
|
.include <bsd.prog.mk>
|