1# $FreeBSD$ 2 3.include <bsd.init.mk> 4 5PROG= btxldr 6INTERNALPROG= 7SRCS= btxldr.S 8 9CFLAGS+=-DLOADER_ADDRESS=${LOADER_ADDRESS} 10CFLAGS+=-I${BOOTSRC}/i386/common 11 12.if defined(BTXLDR_VERBOSE) 13CFLAGS+=-DBTXLDR_VERBOSE 14.endif 15 16ORG=${LOADER_ADDRESS} 17LDFLAGS+=${LDFLAGS_BIN} 18 19.include <bsd.prog.mk> 20 21# XXX: clang integrated-as doesn't grok .codeNN directives yet 22CFLAGS.btxldr.S= ${CLANG_NO_IAS} 23