1#
2# $FreeBSD: head/gnu/usr.bin/binutils/libbinutils/Makefile 54748 1999-12-17 15:50:45Z marcel $
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 ${TARGET_ARCH} == "mipseb"
13CFLAGS+= -DTARGET=\"elf32-bigmips\"
14.elif ${TARGET_ARCH} == "mipsel"
15CFLAGS+= -DTARGET=\"elf32-littlemips\"
16.else
17CFLAGS+= -DTARGET=\"${TARGET_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 54748 1999-12-17 15:50:45Z marcel $
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 ${TARGET_ARCH} == "mipseb"
13CFLAGS+= -DTARGET=\"elf32-bigmips\"
14.elif ${TARGET_ARCH} == "mipsel"
15CFLAGS+= -DTARGET=\"elf32-littlemips\"
16.else
17CFLAGS+= -DTARGET=\"${TARGET_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>