25 lines
577 B
Makefile
25 lines
577 B
Makefile
# $NetBSD: Makefile,v 1.2 2013/08/04 23:41:43 matt Exp $
|
|
|
|
.include <bsd.own.mk>
|
|
.include "../Makefile.inc"
|
|
|
|
LIBISPRIVATE= yes
|
|
|
|
LIB= opcodes
|
|
|
|
.include "${.CURDIR}/arch/${GDB_MACHINE_ARCH}/defs.mk"
|
|
|
|
GCPPFLAGS= ${G_archdefs} ${G_DEFS} ${G_INCLUDES} ${G_TDEFAULTS}
|
|
CPPFLAGS+= -I${.CURDIR}/arch/${GDB_MACHINE_ARCH} \
|
|
-I${.CURDIR}/../libbfd/arch/${GDB_MACHINE_ARCH} \
|
|
-I${DIST}/include -I. \
|
|
-I${DIST}/bfd ${GCPPFLAGS:M-D*} \
|
|
${GCPPFLAGS:M-I*:N-I.*}
|
|
|
|
GSRCS= ${G_BFD_MACHINES}
|
|
SRCS= ${GSRCS:.lo=.c} ${G_libopcodes_la_SOURCES}
|
|
|
|
.PATH: ${DIST}/opcodes
|
|
|
|
.include <bsd.lib.mk>
|