1*2a575ee4Smatt# $NetBSD: Makefile,v 1.2 2013/08/04 23:41:43 matt Exp $ 2605c6d89Schristos 3605c6d89Schristos.include <bsd.own.mk> 4605c6d89Schristos.include "../Makefile.inc" 5605c6d89Schristos 6605c6d89SchristosLIBISPRIVATE= yes 7605c6d89Schristos 8605c6d89SchristosLIB= opcodes 9605c6d89Schristos 10*2a575ee4Smatt.include "${.CURDIR}/arch/${GDB_MACHINE_ARCH}/defs.mk" 11605c6d89Schristos 12605c6d89SchristosGCPPFLAGS= ${G_archdefs} ${G_DEFS} ${G_INCLUDES} ${G_TDEFAULTS} 13*2a575ee4SmattCPPFLAGS+= -I${.CURDIR}/arch/${GDB_MACHINE_ARCH} \ 14*2a575ee4Smatt -I${.CURDIR}/../libbfd/arch/${GDB_MACHINE_ARCH} \ 15605c6d89Schristos -I${DIST}/include -I. \ 16605c6d89Schristos -I${DIST}/bfd ${GCPPFLAGS:M-D*} \ 17605c6d89Schristos ${GCPPFLAGS:M-I*:N-I.*} 18605c6d89Schristos 19605c6d89SchristosGSRCS= ${G_BFD_MACHINES} 20605c6d89SchristosSRCS= ${GSRCS:.lo=.c} ${G_libopcodes_la_SOURCES} 21605c6d89Schristos 22605c6d89Schristos.PATH: ${DIST}/opcodes 23605c6d89Schristos 24605c6d89Schristos.include <bsd.lib.mk> 25