1a7b5a3d4SEmmanuel VadotPACKAGE= runtime 29c6f9240SPeter WemmPROG= kldxref 328644e44SMike HeffnerMAN= kldxref.8 4*968bcca2SKa Ho NgSRCS= kldxref.c 5*968bcca2SKa Ho Ng 6*968bcca2SKa Ho NgCFLAGS+=-I${SRCTOP}/lib/libkldelf 7*968bcca2SKa Ho Ng 8*968bcca2SKa Ho NgWARNS?= 2 9*968bcca2SKa Ho Ng 10*968bcca2SKa Ho NgLIBADD= elf 11*968bcca2SKa Ho Ng 12*968bcca2SKa Ho Ng.if defined(BOOTSTRAPPING) 13*968bcca2SKa Ho Ng# 14*968bcca2SKa Ho Ng# XXX: Fix libprivatelibkldelf.a linker set issue before removing this block 15*968bcca2SKa Ho Ng# 16*968bcca2SKa Ho Ng.PATH: ${SRCTOP}/lib/libkldelf 17*968bcca2SKa Ho NgKLDELF_SRCS= ef.c \ 18*968bcca2SKa Ho Ng ef_obj.c \ 19*968bcca2SKa Ho Ng elf.c \ 20*968bcca2SKa Ho Ng ef_aarch64.c \ 2150c64df2SKa Ho Ng ef_arm.c \ 2250c64df2SKa Ho Ng ef_amd64.c \ 2350c64df2SKa Ho Ng ef_i386.c \ 2450c64df2SKa Ho Ng ef_mips.c \ 2550c64df2SKa Ho Ng ef_powerpc.c \ 2650c64df2SKa Ho Ng ef_riscv.c 27*968bcca2SKa Ho NgSRCS+= ${KLDELF_SRCS} 28*968bcca2SKa Ho Ng.else 29*968bcca2SKa Ho NgLIBADD+= kldelf 30*968bcca2SKa Ho Ng.endif 311eed250aSJake Burkholder 329c6f9240SPeter Wemm.include <bsd.prog.mk> 33