diff options
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/i386/stand/biosboot/Makefile | 11 | ||||
-rw-r--r-- | sys/arch/i386/stand/boot/Makefile | 6 | ||||
-rw-r--r-- | sys/arch/i386/stand/cdboot/Makefile | 10 | ||||
-rw-r--r-- | sys/arch/i386/stand/cdbr/Makefile | 11 | ||||
-rw-r--r-- | sys/arch/i386/stand/mbr/Makefile | 11 | ||||
-rw-r--r-- | sys/arch/i386/stand/pxeboot/Makefile | 6 |
6 files changed, 26 insertions, 29 deletions
diff --git a/sys/arch/i386/stand/biosboot/Makefile b/sys/arch/i386/stand/biosboot/Makefile index ea9d155dab9..185e8717e9f 100644 --- a/sys/arch/i386/stand/biosboot/Makefile +++ b/sys/arch/i386/stand/biosboot/Makefile @@ -1,18 +1,20 @@ -# $OpenBSD: Makefile,v 1.23 2012/08/29 22:23:07 pascal Exp $ +# $OpenBSD: Makefile,v 1.24 2013/01/18 03:45:23 jsing Exp $ MAN= biosboot.8 .if ${MACHINE} == "i386" +S= ${.CURDIR}/../../../.. +SADIR= ${.CURDIR}/.. + PROG= biosboot SRCS= biosboot.S LD=ld LDFLAGS=-nostdlib -Ttext 0 -N -x -Bstatic -nopie INSTALL_STRIP= -SADIR= ${.CURDIR}/.. -${PROG}: $(OBJS) $(DPADD) +${PROG}: $(OBJS) @rm -f $(PROG) - $(LD) $(LDFLAGS) -o $(PROG) $(OBJS) $(LDADD) + $(LD) $(LDFLAGS) -o $(PROG) $(OBJS) @size $(PROG) CPPFLAGS+=-DLOADADDR=$(LOADADDR) -DLINKADDR=$(LINKADDR) -DBOOTMAGIC=$(BOOTMAGIC) @@ -25,4 +27,3 @@ NOPROG= .endif .include <bsd.prog.mk> - diff --git a/sys/arch/i386/stand/boot/Makefile b/sys/arch/i386/stand/boot/Makefile index 44f8dd5443f..8d7c4779101 100644 --- a/sys/arch/i386/stand/boot/Makefile +++ b/sys/arch/i386/stand/boot/Makefile @@ -1,6 +1,4 @@ -# $OpenBSD: Makefile,v 1.46 2012/10/31 15:22:42 jsing Exp $ - -.include "${.CURDIR}/../Makefile.inc" +# $OpenBSD: Makefile,v 1.47 2013/01/18 03:45:23 jsing Exp $ MAN?= boot.8 MLINKS?=boot.8 boot.conf.5 @@ -12,7 +10,7 @@ SOFTRAID?=yes .endif .if ${MACHINE} == "i386" -S =${.CURDIR}/../../../.. +S= ${.CURDIR}/../../../.. SADIR= ${.CURDIR}/.. PROG?= boot diff --git a/sys/arch/i386/stand/cdboot/Makefile b/sys/arch/i386/stand/cdboot/Makefile index 930fcbbfc9a..869c228981b 100644 --- a/sys/arch/i386/stand/cdboot/Makefile +++ b/sys/arch/i386/stand/cdboot/Makefile @@ -1,11 +1,9 @@ -# $OpenBSD: Makefile,v 1.14 2012/10/31 14:32:16 jsing Exp $ - -.include "${.CURDIR}/../Makefile.inc" +# $OpenBSD: Makefile,v 1.15 2013/01/18 03:45:23 jsing Exp $ MAN= cdboot.8 .if ${MACHINE} == "i386" -S =${.CURDIR}/../../../.. +S= ${.CURDIR}/../../../.. SADIR= ${.CURDIR}/.. PROG= cdboot @@ -45,8 +43,8 @@ SRCS+= strlcpy.c .PATH: ${S}/lib/libz SRCS+= adler32.c crc32.c inflate.c inftrees.c -${PROG}: $(OBJS) $(DPADD) - $(LD) $(LDFLAGS) -o ${PROG} $(OBJS) $(LDADD) +${PROG}: $(OBJS) + $(LD) $(LDFLAGS) -o ${PROG} $(OBJS) @$(SIZE) ${PROG} cp ${PROG} ${PROG}.whole @if [ -x ${.OBJDIR}/${PROG} ]; then \ diff --git a/sys/arch/i386/stand/cdbr/Makefile b/sys/arch/i386/stand/cdbr/Makefile index 0dbd52b606c..ae783862dfe 100644 --- a/sys/arch/i386/stand/cdbr/Makefile +++ b/sys/arch/i386/stand/cdbr/Makefile @@ -1,6 +1,9 @@ -# $OpenBSD: Makefile,v 1.4 2012/08/29 22:23:08 pascal Exp $ +# $OpenBSD: Makefile,v 1.5 2013/01/18 03:45:23 jsing Exp $ # +S= ${.CURDIR}/../../../.. +SADIR= ${.CURDIR}/.. + PROG= cdbr SRCS= cdbr.S AFLAGS+=-I${.CURDIR} -I${.CURDIR}/../../.. #-Wa,-a @@ -15,11 +18,9 @@ NOMAN= #MAN+= cdbr.8 INSTALL_STRIP= -SADIR=${.CURDIR}/.. -S= ${.CURDIR}/../../../.. -${PROG}: $(OBJS) $(DPADD) - $(LD) $(LDFLAGS) -o $(PROG) $(OBJS) $(LDADD) +${PROG}: $(OBJS) + $(LD) $(LDFLAGS) -o $(PROG) $(OBJS) @size $(PROG) @if [ -x ${.OBJDIR}/${PROG} ]; then \ objcopy -O binary ${PROG} ${.OBJDIR}/.tmp;\ diff --git a/sys/arch/i386/stand/mbr/Makefile b/sys/arch/i386/stand/mbr/Makefile index 11f28b15130..3656db02684 100644 --- a/sys/arch/i386/stand/mbr/Makefile +++ b/sys/arch/i386/stand/mbr/Makefile @@ -1,6 +1,9 @@ -# $OpenBSD: Makefile,v 1.16 2012/08/29 22:23:08 pascal Exp $ +# $OpenBSD: Makefile,v 1.17 2013/01/18 03:45:23 jsing Exp $ # +S= ${.CURDIR}/../../../.. +SADIR= ${.CURDIR}/.. + PROG= mbr SRCS= mbr.S AFLAGS+=-I${.CURDIR} -I${.CURDIR}/../../.. #-Wa,-a @@ -12,14 +15,12 @@ NOMAN= #MAN+= mbr.8 INSTALL_STRIP= -SADIR=${.CURDIR}/.. -S= ${.CURDIR}/../../../.. # Uncomment this to make mbr talk to a serial port. #CPPFLAGS+=-DSERIAL=0 -${PROG}: $(OBJS) $(DPADD) - $(LD) $(LDFLAGS) -o $(PROG) $(OBJS) $(LDADD) +${PROG}: $(OBJS) + $(LD) $(LDFLAGS) -o $(PROG) $(OBJS) @size $(PROG) @if [ -x ${.OBJDIR}/${PROG} ]; then \ objcopy -O binary ${PROG} ${.OBJDIR}/.tmp;\ diff --git a/sys/arch/i386/stand/pxeboot/Makefile b/sys/arch/i386/stand/pxeboot/Makefile index 80398a130fc..5f7ad61edaa 100644 --- a/sys/arch/i386/stand/pxeboot/Makefile +++ b/sys/arch/i386/stand/pxeboot/Makefile @@ -1,11 +1,9 @@ -# $OpenBSD: Makefile,v 1.11 2012/10/31 14:32:16 jsing Exp $ - -.include "${.CURDIR}/../Makefile.inc" +# $OpenBSD: Makefile,v 1.12 2013/01/18 03:45:23 jsing Exp $ MAN= pxeboot.8 .if ${MACHINE} == "i386" -S =${.CURDIR}/../../../.. +S= ${.CURDIR}/../../../.. SADIR= ${.CURDIR}/.. PROG= pxeboot |