1999-03-01 04:01:57 +00:00
|
|
|
#
|
1999-08-27 23:37:10 +00:00
|
|
|
# $FreeBSD$
|
1999-03-01 04:01:57 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
.include "${.CURDIR}/../Makefile.inc0"
|
|
|
|
|
|
|
|
PROG= as
|
1999-11-06 21:59:29 +00:00
|
|
|
.if ${MACHINE_ARCH} != "mipsel" && ${MACHINE_ARCH} != "mipseb"
|
|
|
|
NOMAN= 1
|
1999-11-07 08:07:02 +00:00
|
|
|
BINDIR= /usr/libexec/cross/mips-freebsd
|
2000-05-22 08:25:40 +00:00
|
|
|
# If we aren't doing cross-assembling, some operations can be optimized, since
|
|
|
|
# byte orders and value sizes don't need to be adjusted.
|
|
|
|
CFLAGS+= -DCROSS_COMPILE=1
|
1999-03-01 04:01:57 +00:00
|
|
|
.endif
|
1999-04-22 07:19:20 +00:00
|
|
|
.if ${MACHINE_ARCH} == "mipsel"
|
|
|
|
CFLAGS+= -DTARGET_BYTES_BIG_ENDIAN=0
|
|
|
|
.endif
|
|
|
|
|
1999-03-01 04:01:57 +00:00
|
|
|
SRCS+= obj-elf.c tc-mips.c itbl-ops.c itbl-parse.y itbl-lex.l
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|