Home | History | Annotate | Line # | Download | only in gas
      1  1.10  christos #	$NetBSD: Makefile,v 1.10 2025/08/24 17:57:20 christos Exp $
      2   1.1  christos 
      3   1.2  christos CPPFLAGS+=	-I${.CURDIR}/arch/${BINUTILS_MACHINE_ARCH}
      4   1.2  christos CPPFLAGS+=	-I${DIST}/gas -I${DIST}/gas/config
      5   1.2  christos CPPFLAGS+=	-I${DIST}
      6   1.1  christos 
      7   1.1  christos .include "${.CURDIR}/../common/Makefile.inc"
      8   1.1  christos .include "${.CURDIR}/arch/${BINUTILS_MACHINE_ARCH}/defs.mk"
      9   1.1  christos 
     10   1.1  christos PROG=		as
     11   1.9  christos SRCS=		${G_OBJS:M*.o:Nitbl-[pl]*:Nm68k-parse.o:.o=.c} \
     12   1.9  christos 		${G_OBJS:M*.o:Mitbl-parse.o:.o=.y} \
     13   1.9  christos 		${G_OBJS:M*.o:Mitbl-lex-wrapper.o:S/-wrapper.o/.l/} \
     14   1.9  christos 		${G_OBJS:M*.o:Mm68k-parse.o:.o=.y}
     15   1.1  christos 
     16   1.1  christos COPTS.obj-elf.c = -Wno-stack-protector
     17   1.1  christos COPTS.atof-generic.c = -Wno-stack-protector
     18   1.1  christos COPTS.dwarf2dbg.c = -Wno-stack-protector
     19   1.1  christos COPTS.symbols.c = -Wno-stack-protector
     20   1.1  christos COPTS.stabs.c = -Wno-stack-protector
     21   1.1  christos COPTS.macro.c = -Wno-stack-protector
     22   1.1  christos 
     23   1.1  christos PROGDPLIBS+=	opcodes	${TOP}/${BFDSUBDIR}/libopcodes
     24   1.1  christos PROGDPLIBS+=	bfd	${TOP}/${BFDSUBDIR}/libbfd
     25  1.10  christos PROGDPLIBS+=	sframe	${TOP}/${BFDSUBDIR}/libsframe
     26   1.1  christos PROGDPLIBS+=	iberty	${TOP}/${BFDSUBDIR}/libiberty
     27   1.1  christos 
     28   1.1  christos TEXINFO=	as.texinfo
     29   1.1  christos COMMONOBJDIR!=	cd ${TOP}/usr.bin/common && ${PRINTOBJDIR}
     30   1.1  christos INFOFLAGS=	-I${DIST}/gas/doc -I${COMMONOBJDIR} -I${DIST}/libiberty
     31   1.1  christos 
     32   1.1  christos as.info:	bfdver.texi
     33   1.1  christos 
     34   1.1  christos .PATH: ${COMMONOBJDIR} ${DIST}/gas ${DIST}/gas/config ${DIST}/gas/doc
     35   1.1  christos 
     36   1.1  christos .include <bsd.prog.mk>
     37   1.1  christos .include <bsd.info.mk>
     38   1.1  christos 
     39   1.1  christos LDADD+=		-lintl -lz -lm
     40   1.1  christos DPADD+=		${LIBINTL} ${LIBZ} ${LIBM}
     41