3bdf775801
and finish the job. ncurses is now the only Makefile in the tree that uses it since it wasn't a simple mechanical change, and will be addressed in a future commit.
22 lines
431 B
Makefile
22 lines
431 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= btxldr
|
|
INTERNALPROG=
|
|
MAN=
|
|
SRCS= btxldr.S
|
|
|
|
CFLAGS+=-DLOADER_ADDRESS=${LOADER_ADDRESS}
|
|
CFLAGS+=-I${.CURDIR}/../../../i386/common
|
|
|
|
.if defined(BTXLDR_VERBOSE)
|
|
CFLAGS+=-DBTXLDR_VERBOSE
|
|
.endif
|
|
|
|
LDFLAGS=-e start -Ttext ${LOADER_ADDRESS} -Wl,-N,-S,--oformat,binary
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
# XXX: clang integrated-as doesn't grok .codeNN directives yet
|
|
CFLAGS.btxldr.S= ${CLANG_NO_IAS}
|
|
CFLAGS+= ${CFLAGS.${.IMPSRC:T}}
|