1 .include "${.CURDIR}/../../Makefile.inc0"
2 .include "${.CURDIR}/../../Makefile.inc1"
5 .PATH: ${SRCDIR}/gas ${SRCDIR}/gas/config ${.CURDIR}/..
10 MFILE= as${MANPAGEVER}.1
44 CFLAGS+= -I${SRCDIR}/gas -I${SRCDIR}/gas/config -I${SRCDIR} -I${.CURDIR}/..
45 CFLAGS+= -I${SRCDIR}/bfd -I${.OBJDIR}/../../libbfd
46 CFLAGS+= -DTARGET_ALIAS=\"${TARGET_ALIAS}\"
47 CFLAGS+= -DTARGET_CANONICAL=\"${TARGET_CANONICAL}\"
48 CFLAGS+= -DTARGET_CPU=\"${TARGET_CPU}\"
49 CFLAGS+= -DDEFAULT_ARCH=\"${DEFAULT_ARCH}\"
50 CFLAGS+= -DTARGET_OS=\"${TARGET_OS}\"
51 CFLAGS+= "-DEMULATIONS=${EMULATIONS}"
52 CFLAGS+= -DDEFAULT_EMULATION=\"${DEFAULT_EMULATION}\"
53 CFLAGS+= -DTE_DragonFly
56 DPADD+= ${RELTOP}/libopcodes/libopcodes.a
57 LDADD+= ${RELTOP}/libopcodes/libopcodes.a
59 ${MFILE}: ${SRCDIR}/gas/doc/as.1
60 cp ${.ALLSRC} ${.TARGET}
64 .if defined(IS_PRIMARY)
65 MLINKS+= ${MFILE} as.1