44 lines
880 B
Makefile
44 lines
880 B
Makefile
# $NetBSD: Makefile,v 1.9 2001/08/06 19:12:01 tv Exp $
|
|
.include <bsd.own.mk>
|
|
|
|
.if defined(USE_NEW_TOOLCHAIN)
|
|
|
|
.include "${.CURDIR}/arch/${MACHINE_ARCH}/defs.mk"
|
|
|
|
TOP= ${.CURDIR}/../../..
|
|
DIST= ${TOP}/dist/toolchain
|
|
|
|
TEXINFO= ${G_TEXINFOS}
|
|
INFOFLAGS= -I${DIST}/binutils
|
|
|
|
.PATH: ${DIST}/binutils
|
|
|
|
.include <bsd.info.mk>
|
|
|
|
.else
|
|
#
|
|
# XXX - BEGIN - Old toolchain build goop - delete when everything migrated - XXX
|
|
#
|
|
LIB= common
|
|
|
|
SRCS= arparse.y arlex.l arsup.c bucomm.c version.c filemode.c \
|
|
rddbg.c debug.c stabs.c ieee.c rdcoff.c wrstabs.c
|
|
CPPFLAGS+= -DTARGET='"${MACHINE_GNU_ARCH}--netbsd"'
|
|
YHEADER=1
|
|
|
|
MKPROFILE= no
|
|
MKPIC= no
|
|
MKLINT= no
|
|
|
|
# only needed during build
|
|
libinstall::
|
|
|
|
# mention explicit dependency, so arparse.h will appear timely
|
|
arlex.c: arparse.h
|
|
|
|
.include <bsd.lib.mk>
|
|
#
|
|
# XXX - END - Old toolchain build goop - delete when everything migrated - XXX
|
|
#
|
|
.endif
|