1NO_OBJ=t 2 3.include <bsd.init.mk> 4 5# Almost everything else here relies on btxldr, so we must make sure it's built 6# before everything else proceeds so we don't end up building against a stale 7# btxldr and ending up with a build-during-install scenario. 8SUBDIR.yes+= btx libi386 9SUBDIR.yes+= .WAIT 10 11SUBDIR.yes+= mbr pmbr boot0 boot0sio boot2 cdboot gptboot \ 12 isoboot 13 14SUBDIR.${MK_FORTH}+= loader_4th 15SUBDIR.${MK_LOADER_LUA}+= loader_lua 16SUBDIR.yes+= loader_simp 17 18# special boot programs, 'self-extracting boot2+loader' 19SUBDIR.${MK_LOADER_PXEBOOT}+= pxeldr 20 21SUBDIR.${MK_LOADER_ZFS}+= zfsboot gptzfsboot 22 23.if defined(PXEBOOT_DEFAULT_INTERP) 24L=${PXEBOOT_DEFAULT_INTERP} 25.else 26L=${LOADER_DEFAULT_INTERP} 27.endif 28SUBDIR_DEPEND_pxeldr+= loader_${L} 29 30.include <bsd.subdir.mk> 31