Home | History | Annotate | Line # | Download | only in gas
Makefile revision 1.9
      1  1.9  christos #	$NetBSD: Makefile,v 1.9 2024/06/29 16:36:07 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.1  christos PROGDPLIBS+=	iberty	${TOP}/${BFDSUBDIR}/libiberty
     26  1.1  christos 
     27  1.1  christos TEXINFO=	as.texinfo
     28  1.1  christos COMMONOBJDIR!=	cd ${TOP}/usr.bin/common && ${PRINTOBJDIR}
     29  1.1  christos INFOFLAGS=	-I${DIST}/gas/doc -I${COMMONOBJDIR} -I${DIST}/libiberty
     30  1.1  christos 
     31  1.1  christos as.info:	bfdver.texi
     32  1.1  christos 
     33  1.1  christos .PATH: ${COMMONOBJDIR} ${DIST}/gas ${DIST}/gas/config ${DIST}/gas/doc
     34  1.1  christos 
     35  1.1  christos .include <bsd.prog.mk>
     36  1.1  christos .include <bsd.info.mk>
     37  1.1  christos 
     38  1.1  christos LDADD+=		-lintl -lz -lm
     39  1.1  christos DPADD+=		${LIBINTL} ${LIBZ} ${LIBM}
     40