No empty .Rs/.Re
[netbsd-mini2440.git] / external / gpl3 / binutils / lib / libopcodes / Makefile
blobc322bbd57e676f78cfbebe378593e604c001a5cd
1 # $NetBSD: Makefile,v 1.1 2009/08/18 20:22:05 skrll Exp $
3 NOLINKLIB= # defined
4 NOLINT= # defined
5 NOMAN= # defined
6 NOPROFILE= # defined
8 .include <bsd.own.mk>
10 LIB= opcodes
12 BFD_MACHINE_ARCH?= ${MACHINE_ARCH}
14 .if exists(${.CURDIR}/arch/${BFD_MACHINE_ARCH}/defs.mk)
15 .include "${.CURDIR}/arch/${BFD_MACHINE_ARCH}/defs.mk"
17 DIST= ${NETBSDSRCDIR}/external/gpl3/binutils/dist
19 SHLIB_MAJOR= 4
20 SHLIB_MINOR= 0
22 GCPPFLAGS= ${G_archdefs} ${G_DEFS} ${G_INCLUDES} ${G_TDEFAULTS}
23 CPPFLAGS+= -I${.CURDIR}/arch/${BFD_MACHINE_ARCH} \
24 -I${.CURDIR}/../libbfd/arch/${BFD_MACHINE_ARCH} \
25 -I${DIST}/include -I. \
26 -I${DIST}/bfd ${GCPPFLAGS:M-D*} \
27 ${GCPPFLAGS:M-I*:N-I.*}
29 GSRCS= ${G_BFD_MACHINES}
30 SRCS= ${GSRCS:.lo=.c} ${G_libopcodes_la_SOURCES}
32 .PATH: ${DIST}/opcodes
34 .include <bsd.lib.mk>
36 .else
37 .include <bsd.prog.mk> # do nothing
38 .endif