1#
2# $FreeBSD: head/gnu/usr.bin/binutils/libbinutils/Makefile 50472 1999-08-27 23:37:10Z peter $
3#
4
5.include "../Makefile.inc0"
6
7.PATH: ${SRCDIR}/binutils
8
9LIB= binutils
10SRCS+= arlex.l arparse.y arsup.c bucomm.c debug.c filemode.c \
11 ieee.c rdcoff.c rddbg.c stabs.c wrstabs.c version.c
12.if ${MACHINE_ARCH} == "mipseb"
13CFLAGS+= -DTARGET=\"elf32-bigmips\"
14.elif ${MACHINE_ARCH} == "mipsel"
15CFLAGS+= -DTARGET=\"elf32-littlemips\"
16.else
17CFLAGS+= -DTARGET=\"${MACHINE_ARCH}-unknown-freebsdelf\"
18.endif
19CFLAGS+= -DVERSION=\"${VERSION}\"
20CFLAGS+= -I${SRCDIR}/binutils
21CFLAGS+= -I${SRCDIR}/bfd
22NOPROFILE= true
23NOPIC= true
24INTERNALLIB= true
25INTERNALSTATICLIB=true
26
27.include <bsd.lib.mk>
2# $FreeBSD: head/gnu/usr.bin/binutils/libbinutils/Makefile 50472 1999-08-27 23:37:10Z peter $
3#
4
5.include "../Makefile.inc0"
6
7.PATH: ${SRCDIR}/binutils
8
9LIB= binutils
10SRCS+= arlex.l arparse.y arsup.c bucomm.c debug.c filemode.c \
11 ieee.c rdcoff.c rddbg.c stabs.c wrstabs.c version.c
12.if ${MACHINE_ARCH} == "mipseb"
13CFLAGS+= -DTARGET=\"elf32-bigmips\"
14.elif ${MACHINE_ARCH} == "mipsel"
15CFLAGS+= -DTARGET=\"elf32-littlemips\"
16.else
17CFLAGS+= -DTARGET=\"${MACHINE_ARCH}-unknown-freebsdelf\"
18.endif
19CFLAGS+= -DVERSION=\"${VERSION}\"
20CFLAGS+= -I${SRCDIR}/binutils
21CFLAGS+= -I${SRCDIR}/bfd
22NOPROFILE= true
23NOPIC= true
24INTERNALLIB= true
25INTERNALSTATICLIB=true
26
27.include <bsd.lib.mk>