NetBSD/gnu/lib/libiberty/Makefile

34 lines
660 B
Makefile
Raw Normal View History

2001-12-12 04:48:43 +03:00
# $NetBSD: Makefile,v 1.2 2001/12/12 01:48:57 tv Exp $
.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
.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