2001-12-12 04:48:43 +03:00
|
|
|
# $NetBSD: Makefile,v 1.2 2001/12/12 01:48:57 tv Exp $
|
2001-07-18 16:17:15 +04:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
.if defined(USE_NEW_TOOLCHAIN)
|
|
|
|
|
|
|
|
LIB= iberty
|
2001-12-12 04:48:43 +03:00
|
|
|
NOLINT= # defined
|
|
|
|
NOPROFILE= # defined
|
|
|
|
NOPIC= # defined
|
|
|
|
NOLINKLIB= # defined
|
2001-07-18 16:17:15 +04:00
|
|
|
|
|
|
|
.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
|