1PACKAGE= runtime 2PROG= kldxref 3MAN= kldxref.8 4SRCS= kldxref.c 5 6CFLAGS+=-I${SRCTOP}/lib/libkldelf 7 8WARNS?= 2 9 10LIBADD= elf 11 12.if defined(BOOTSTRAPPING) 13# 14# XXX: Fix libprivatelibkldelf.a linker set issue before removing this block 15# 16.PATH: ${SRCTOP}/lib/libkldelf 17KLDELF_SRCS= ef.c \ 18 ef_obj.c \ 19 elf.c \ 20 ef_aarch64.c \ 21 ef_arm.c \ 22 ef_amd64.c \ 23 ef_i386.c \ 24 ef_mips.c \ 25 ef_powerpc.c \ 26 ef_riscv.c 27SRCS+= ${KLDELF_SRCS} 28.else 29LIBADD+= kldelf 30.endif 31 32.include <bsd.prog.mk> 33