mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
Signed-off-by: Minsoo Choo <[email protected]> Pull-request: https://github.com/freebsd/freebsd-src/pull/1909
32 lines
468 B
Makefile
32 lines
468 B
Makefile
PACKAGE= runtime
|
|
PROG= kldxref
|
|
MAN= kldxref.8
|
|
SRCS= kldxref.c
|
|
|
|
CFLAGS+=-I${SRCTOP}/lib/libkldelf
|
|
|
|
WARNS?= 2
|
|
|
|
LIBADD= elf
|
|
|
|
.if defined(BOOTSTRAPPING)
|
|
#
|
|
# XXX: Fix libprivatelibkldelf.a linker set issue before removing this block
|
|
#
|
|
.PATH: ${SRCTOP}/lib/libkldelf
|
|
KLDELF_SRCS= ef.c \
|
|
ef_obj.c \
|
|
elf.c \
|
|
ef_aarch64.c \
|
|
ef_arm.c \
|
|
ef_amd64.c \
|
|
ef_i386.c \
|
|
ef_powerpc.c \
|
|
ef_riscv.c
|
|
SRCS+= ${KLDELF_SRCS}
|
|
.else
|
|
LIBADD+= kldelf
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|