minix/external/gpl3/gcc/usr.bin/host-libiberty/Makefile
Thomas Veerman 18a5822eff Partially import gcc and binutils
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.
2012-06-18 10:54:16 +00:00

19 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>