summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/binutils/libbfd/Makefile.sparc
blob: 970ec81c69841b7385b4e0dc20e47e5d411021cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#
# $FreeBSD$
#
SRCS+=		aout32.o	\
		cpu-sparc.c	\
		elf32-sparc.c	\
		elf32-target.h	\
		elf32.c		\
		elflink.c	\
		sunos.c
VECS+=		bfd_elf32_sparc_vec sunos_big_vec
.if ${TARGET_ARCH} == "sparc"
CFLAGS+=	-DDEFAULT_VECTOR=bfd_elf32_sparc_vec
.endif
CFLAGS+=	-DHAVE_elf32_sparc_vec -DHAVE_sunos_big_vec
CLEANFILES+=	elf32-target.h

elf32-target.h:	elfxx-target.h
	sed -e s/NN/32/g ${.ALLSRC} > ${.TARGET}
OpenPOWER on IntegriCloud