b1e9e38236
no longer merged with libbfd). Conditional on USE_NEW_TOOLCHAIN for now.
34 lines
632 B
Makefile
34 lines
632 B
Makefile
# $NetBSD: Makefile,v 1.1 2001/07/18 12:17:15 tv Exp $
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
.if defined(USE_NEW_TOOLCHAIN)
|
|
|
|
LIB= iberty
|
|
MKLINT= no
|
|
MKPROFILE= no
|
|
MKPIC= no
|
|
MKLINKLIB= no
|
|
|
|
.include "${.CURDIR}/arch/${MACHINE_ARCH}/defs.mk"
|
|
|
|
TOP= ${.CURDIR}/../..
|
|
DIST= ${TOP}/dist/toolchain
|
|
|
|
SRCS= ${G_REQUIRED_OFILES:.o=.c} ${G_EXTRA_OFILES:.o=.c} \
|
|
${G_LIBOBJS:.o=.c} ${G_ALLOCA:.o=.c}
|
|
|
|
CPPFLAGS+= -DHAVE_CONFIG_H -I${.CURDIR}/arch/${MACHINE_ARCH} \
|
|
-I${DIST}/include
|
|
|
|
.PATH: ${DIST}/libiberty
|
|
|
|
.include <bsd.lib.mk>
|
|
|
|
#${OBJS}: ${.CURDIR}/arch/${MACHINE_ARCH}/defs.mk
|
|
|
|
.else
|
|
# Do nothing. (PROG undefined)
|
|
.include <bsd.prog.mk>
|
|
.endif
|