1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/usr.sbin/kldxref/Makefile
Jake Burkholder 1eed250ad8 Fix kldxref on sparc64 by allowing non-trivial relocations to be performed
on variables read out of raw kld files.  Unlike other platforms the value
will be in an Elf_Rela, not in the data section of the elf file.

Submitted by:	Hartmut Brandt <brandt@fokus.gmd.de>
PR:		46730
Tested on:	alpha (obrien), i386, sparc64
2003-01-21 03:51:53 +00:00

15 lines
188 B
Makefile

# $FreeBSD$
PROG= kldxref
SRCS= kldxref.c ef.c
WARNS?= 2
MAN= kldxref.8
.if exists(ef_${MACHINE_ARCH}.c)
SRCS+= ef_${MACHINE_ARCH}.c
.else
SRCS+= ef_nop.c
.endif
.include <bsd.prog.mk>