NetBSD/distrib/alpha/toolchain-install/Makefile

27 lines
571 B
Makefile
Raw Normal View History

2000-08-31 03:51:46 +04:00
# $NetBSD: Makefile,v 1.5 2000/08/30 23:51:49 jhawk Exp $
1998-12-09 03:22:03 +03:00
#
# XXX this is evil
1998-12-10 08:15:43 +03:00
TC_SRC_DIR?=/usr/local/toolchain
SRC_DIR?=/usr/src
includes lint obj regress tags:
# dependencies should be handled, but aren't for now.
depend:
all: MADE
MADE:
cd $(TC_SRC_DIR) ; configure
2000-08-31 03:51:46 +04:00
cd $(TC_SRC_DIR) ; ${MAKE} BISON="yacc"
touch MADE
1998-09-05 18:46:13 +04:00
clean cleandir distclean::
2000-08-31 03:51:46 +04:00
cd $(TC_SRC_DIR) ; ${MAKE} -k distclean
rm -f MADE
install:
1998-12-10 08:15:43 +03:00
NETBSDSRCDIR=${SRC_DIR} \
sh -e mk-toolchain-install-cmds \
| (cd $(TC_SRC_DIR) ; \
STRIP=$(TC_SRC_DIR)/binutils/strip.new \
sh -e -x)