8299b37f85
MK_CTF, MK_SSP, MK_PROFILE, NO_PIC, and INTERNALLIB are always the same, so set them in defs.mk. MAN= is common, so set it here too. This removes a lot of boring repetition from the Makefiles that added almost no value.
20 lines
287 B
Makefile
20 lines
287 B
Makefile
# $FreeBSD$
|
|
|
|
.include <bsd.init.mk>
|
|
|
|
PROG= cdboot
|
|
STRIP=
|
|
BINMODE=${NOBINMODE}
|
|
SRCS= ${PROG}.S
|
|
|
|
CFLAGS+=-I${BOOTSRC}/i386/common
|
|
|
|
ORG= 0x7c00
|
|
|
|
LDFLAGS+=${LDFLAGS_BIN}
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
# XXX: clang integrated-as doesn't grok .codeNN directives yet
|
|
CFLAGS.cdboot.S= ${CLANG_NO_IAS}
|