NetBSD/gnu/usr.bin/gcc4/host-libiberty/Makefile

19 lines
439 B
Makefile

# $NetBSD: Makefile,v 1.4 2008/11/04 23:58:40 dbj 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>