Home | History | Annotate | Line # | Download | only in libgnuctf
      1  1.5  christos #	$NetBSD: Makefile,v 1.5 2026/02/10 19:59:47 christos Exp $
      2  1.1  christos 
      3  1.1  christos NOLINKLIB=	# defined
      4  1.1  christos NOLINT=		# defined
      5  1.1  christos NOMAN=		# defined
      6  1.1  christos NOPROFILE=	# defined
      7  1.1  christos NOCLANGERROR=	# defined
      8  1.1  christos 
      9  1.1  christos .include <bsd.init.mk>
     10  1.1  christos 
     11  1.1  christos LIB=		gnuctf
     12  1.1  christos 
     13  1.1  christos BFD_MACHINE_ARCH?=	${MACHINE_ARCH:C/armv[4-7]/arm/}
     14  1.1  christos 
     15  1.1  christos .if exists(${.CURDIR}/arch/${BFD_MACHINE_ARCH}/defs.mk)
     16  1.1  christos .include "${.CURDIR}/arch/${BFD_MACHINE_ARCH}/defs.mk"
     17  1.1  christos 
     18  1.5  christos SHLIB_MAJOR=	3
     19  1.1  christos SHLIB_MINOR=	0
     20  1.1  christos 
     21  1.1  christos GCPPFLAGS=	${G_archdefs} ${G_DEFS} ${G_INCLUDES} ${G_TDEFAULTS}
     22  1.1  christos CPPFLAGS+=	-I${.CURDIR}/arch/${BFD_MACHINE_ARCH} \
     23  1.1  christos 		-I${.CURDIR}/../libbfd/arch/${BFD_MACHINE_ARCH} \
     24  1.1  christos 		-I${DIST}/include -I. -I${DIST}/libctf \
     25  1.1  christos 		-I${DIST}/bfd ${GCPPFLAGS:M-D*} \
     26  1.1  christos 		${GCPPFLAGS:M-I*:N-I.*}
     27  1.1  christos 
     28  1.1  christos SRCS=		${G_libctf_la_SOURCES}
     29  1.1  christos 
     30  1.1  christos .PATH: ${DIST}/libctf
     31  1.1  christos 
     32  1.1  christos .include <bsd.lib.mk>
     33  1.1  christos 
     34  1.1  christos .else
     35  1.1  christos .include <bsd.prog.mk> # do nothing
     36  1.1  christos .endif
     37