mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-16 10:20:30 +00:00
Clean up the formatting.
This commit is contained in:
parent
51598dc8ec
commit
83735fac63
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=84908
@ -1,25 +1,23 @@
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
.include "${.CURDIR}/../Makefile.inc0"
|
||||
|
||||
GASES= ${BINUTIL_ARCH}
|
||||
FORMATS= freebsd
|
||||
GASES= ${BINUTIL_ARCH}
|
||||
FORMATS=freebsd
|
||||
|
||||
# Only build the cross tools when not cross-compiling.
|
||||
.if ${TARGET_ARCH} == ${MACHINE_ARCH}
|
||||
.if defined(CROSS_ARCH)
|
||||
.for _g in ${CROSS_ARCH}
|
||||
.if (${GASES:R:M${_g:R}} == "")
|
||||
GASES+=$(_g)
|
||||
GASES+= $(_g)
|
||||
.endif
|
||||
.endfor
|
||||
.endif
|
||||
.if defined(CROSS_FORMATS)
|
||||
.for _f in ${CROSS_FORMATS}
|
||||
.if (${FORMATS:R:M${_f:R}} == "")
|
||||
FORMATS+=$(_f)
|
||||
FORMATS+= $(_f)
|
||||
.endif
|
||||
.endfor
|
||||
.endif
|
||||
|
@ -2,35 +2,33 @@
|
||||
|
||||
.include "${.CURDIR}/../../Makefile.inc0"
|
||||
|
||||
RELTOP:= ../${RELTOP}
|
||||
RELTOP:= ../${RELTOP}
|
||||
|
||||
.PATH: ${SRCDIR}/gas ${SRCDIR}/gas/config
|
||||
|
||||
MAN= doc/as.1
|
||||
SRCS+= app.c as.c atof-generic.c atof-ieee.c bignum-copy.c \
|
||||
cond.c dwarf2dbg.c ecoff.c expr.c flonum-copy.c flonum-konst.c \
|
||||
flonum-mult.c frags.c hash.c input-file.c \
|
||||
input-scrub.c listing.c literal.c macro.c messages.c \
|
||||
output-file.c read.c sb.c stabs.c \
|
||||
subsegs.c symbols.c write.c depend.c ehopt.c
|
||||
CFLAGS+= -I${SRCDIR}/gas
|
||||
CFLAGS+= -I${SRCDIR}/gas/config
|
||||
CFLAGS+= -I${SRCDIR}
|
||||
CFLAGS+= -DVERSION=\"${VERSION}\" -DBFD_VERSION=\"${VERSION}\"
|
||||
MAN= doc/as.1
|
||||
SRCS+= app.c as.c atof-generic.c atof-ieee.c bignum-copy.c \
|
||||
cond.c dwarf2dbg.c ecoff.c expr.c flonum-copy.c flonum-konst.c \
|
||||
flonum-mult.c frags.c hash.c input-file.c \
|
||||
input-scrub.c listing.c literal.c macro.c messages.c \
|
||||
output-file.c read.c sb.c stabs.c \
|
||||
subsegs.c symbols.c write.c depend.c ehopt.c
|
||||
CFLAGS+= -I${SRCDIR}/gas -I${SRCDIR}/gas/config -I${SRCDIR}
|
||||
CFLAGS+= -DVERSION=\"${VERSION}\" -DBFD_VERSION=\"${VERSION}\"
|
||||
NOSHARED?= yes
|
||||
DPADD= ${RELTOP}/libbfd/libbfd.a
|
||||
DPADD+= ${RELTOP}/libiberty/libiberty.a
|
||||
DPADD+= ${RELTOP}/libopcodes/libopcodes.a
|
||||
LDADD= ${DPADD}
|
||||
DPADD= ${RELTOP}/libbfd/libbfd.a
|
||||
DPADD+= ${RELTOP}/libiberty/libiberty.a
|
||||
DPADD+= ${RELTOP}/libopcodes/libopcodes.a
|
||||
LDADD= ${DPADD}
|
||||
|
||||
# If set, BINUTILSDISTDIR is the path to a directory containing the full GNU
|
||||
# binutils release. FreeBSD only distributes the bits that are required to
|
||||
# build native architectures. BINUTILSDISTDIR is needed to build cross tools.
|
||||
.if defined(BINUTILSDISTDIR) && exists(${BINUTILSDISTDIR})
|
||||
.PATH: ${BINUTILSDISTDIR}/gas ${BINUTILSDISTDIR}/gas/config
|
||||
CFLAGS+= -I${BINUTILSDISTDIR}/gas
|
||||
CFLAGS+= -I${BINUTILSDISTDIR}/gas/config
|
||||
CFLAGS+= -I${BINUTILSDISTDIR}/bfd
|
||||
CFLAGS+= -I${BINUTILSDISTDIR}/include
|
||||
CFLAGS+= -I${BINUTILSDISTDIR}
|
||||
.if defined(BINUTILSDISTDIR) && exists(${BINUTILSDISTDIR})
|
||||
.PATH: ${BINUTILSDISTDIR}/gas ${BINUTILSDISTDIR}/gas/config
|
||||
CFLAGS+= -I${BINUTILSDISTDIR}/gas
|
||||
CFLAGS+= -I${BINUTILSDISTDIR}/gas/config
|
||||
CFLAGS+= -I${BINUTILSDISTDIR}/bfd
|
||||
CFLAGS+= -I${BINUTILSDISTDIR}/include
|
||||
CFLAGS+= -I${BINUTILSDISTDIR}
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user