NetBSD/distrib/alpha/toolchain-install/Makefile

27 lines
564 B
Makefile

# $NetBSD: Makefile,v 1.4 1998/12/10 05:15:43 ross Exp $
#
# XXX this is evil
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
cd $(TC_SRC_DIR) ; make BISON="yacc"
touch MADE
clean cleandir distclean::
cd $(TC_SRC_DIR) ; make -k distclean
rm -f MADE
install:
NETBSDSRCDIR=${SRC_DIR} \
sh -e mk-toolchain-install-cmds \
| (cd $(TC_SRC_DIR) ; \
STRIP=$(TC_SRC_DIR)/binutils/strip.new \
sh -e -x)