Makefile revision 276486
1# $FreeBSD: stable/10/sys/boot/i386/btx/btxldr/Makefile 276486 2014-12-31 23:25:37Z ngie $ 2 3PROG= btxldr 4INTERNALPROG= 5MAN= 6SRCS= btxldr.S 7 8CFLAGS+=-DLOADER_ADDRESS=${LOADER_ADDRESS} 9CFLAGS+=-I${.CURDIR}/../../common 10 11.if defined(BTXLDR_VERBOSE) 12CFLAGS+=-DBTXLDR_VERBOSE 13.endif 14 15LDFLAGS=-e start -Ttext ${LOADER_ADDRESS} -Wl,-N,-S,--oformat,binary 16 17.include <bsd.prog.mk> 18 19# XXX: clang integrated-as doesn't grok .codeNN directives yet 20CFLAGS.btxldr.S= ${CLANG_NO_IAS} 21CFLAGS+= ${CFLAGS.${.IMPSRC:T}} 22