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.
17 lines
261 B
Makefile
17 lines
261 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= mbr
|
|
STRIP=
|
|
BINMODE=${NOBINMODE}
|
|
SRCS= ${PROG}.s
|
|
|
|
# MBR flags: 0x80 -- try packet interface (also known as EDD or LBA)
|
|
BOOT_MBR_FLAGS?= 0x80
|
|
|
|
ORG= 0x600
|
|
|
|
AFLAGS+=--defsym FLAGS=${BOOT_MBR_FLAGS}
|
|
LDFLAGS+=${LDFLAGS_BIN}
|
|
|
|
.include <bsd.prog.mk>
|