Makefile (222417) | Makefile (227726) |
---|---|
1# $FreeBSD: head/sys/boot/i386/loader/Makefile 222417 2011-05-28 08:50:38Z julian $ | 1# $FreeBSD: head/sys/boot/i386/loader/Makefile 227726 2011-11-19 14:42:06Z miwi $ |
2 3.include <bsd.own.mk> 4MK_SSP= no 5 6LOADER?= loader 7PROG= ${LOADER}.sym 8INTERNALPROG= 9NEWVERSWHAT?= "bootstrap loader" x86 --- 41 unchanged lines hidden (view full) --- 51.endif 52.if !defined(LOADER_NO_GZIP_SUPPORT) 53CFLAGS+= -DLOADER_GZIP_SUPPORT 54.endif 55.if !defined(LOADER_NO_GPT_SUPPORT) 56CFLAGS+= -DLOADER_GPT_SUPPORT 57.endif 58 | 2 3.include <bsd.own.mk> 4MK_SSP= no 5 6LOADER?= loader 7PROG= ${LOADER}.sym 8INTERNALPROG= 9NEWVERSWHAT?= "bootstrap loader" x86 --- 41 unchanged lines hidden (view full) --- 51.endif 52.if !defined(LOADER_NO_GZIP_SUPPORT) 53CFLAGS+= -DLOADER_GZIP_SUPPORT 54.endif 55.if !defined(LOADER_NO_GPT_SUPPORT) 56CFLAGS+= -DLOADER_GPT_SUPPORT 57.endif 58 |
59# Always add MI sources | 59# Always add MI sources |
60.PATH: ${.CURDIR}/../../common 61.include "${.CURDIR}/../../common/Makefile.inc" 62CFLAGS+= -I${.CURDIR}/../../common 63CFLAGS+= -I. 64 65CLEANFILES= vers.c ${LOADER} ${LOADER}.bin loader.help 66 67CFLAGS+= -Wall --- 28 unchanged lines hidden (view full) --- 96loader.help: help.common help.i386 97 cat ${.ALLSRC} | awk -f ${.CURDIR}/../../common/merge_help.awk > ${.TARGET} 98 99FILES= ${LOADER} 100# XXX INSTALLFLAGS_loader= -b 101FILESMODE_${LOADER}= ${BINMODE} -b 102 103.if !defined(LOADER_ONLY) | 60.PATH: ${.CURDIR}/../../common 61.include "${.CURDIR}/../../common/Makefile.inc" 62CFLAGS+= -I${.CURDIR}/../../common 63CFLAGS+= -I. 64 65CLEANFILES= vers.c ${LOADER} ${LOADER}.bin loader.help 66 67CFLAGS+= -Wall --- 28 unchanged lines hidden (view full) --- 96loader.help: help.common help.i386 97 cat ${.ALLSRC} | awk -f ${.CURDIR}/../../common/merge_help.awk > ${.TARGET} 98 99FILES= ${LOADER} 100# XXX INSTALLFLAGS_loader= -b 101FILESMODE_${LOADER}= ${BINMODE} -b 102 103.if !defined(LOADER_ONLY) |
104.PATH: ${.CURDIR}/../../forth | 104.PATH: ${.CURDIR}/../../forth |
105FILES+= loader.help loader.4th support.4th loader.conf 106FILES+= screen.4th frames.4th beastie.4th 107FILES+= brand.4th check-password.4th color.4th delay.4th 108FILES+= menu.4th menu-commands.4th shortcuts.4th version.4th 109FILESDIR_loader.conf= /boot/defaults 110 111.if !exists(${DESTDIR}/boot/loader.rc) 112FILES+= loader.rc 113.endif 114.if !exists(${DESTDIR}/boot/menu.rc) 115FILES+= menu.rc 116.endif 117.endif 118 119# XXX crt0.o needs to be first for pxeboot(8) to work | 105FILES+= loader.help loader.4th support.4th loader.conf 106FILES+= screen.4th frames.4th beastie.4th 107FILES+= brand.4th check-password.4th color.4th delay.4th 108FILES+= menu.4th menu-commands.4th shortcuts.4th version.4th 109FILESDIR_loader.conf= /boot/defaults 110 111.if !exists(${DESTDIR}/boot/loader.rc) 112FILES+= loader.rc 113.endif 114.if !exists(${DESTDIR}/boot/menu.rc) 115FILES+= menu.rc 116.endif 117.endif 118 119# XXX crt0.o needs to be first for pxeboot(8) to work |
120OBJS= ${BTXCRT} | 120OBJS= ${BTXCRT} |
121 122DPADD= ${LIBFICL} ${LIBFIREWIRE} ${LIBZFS} ${LIBI386} ${LIBSTAND} 123LDADD= ${LIBFICL} ${LIBFIREWIRE} ${LIBZFS} ${LIBI386} ${LIBSTAND} 124 125.include <bsd.prog.mk> 126 127.if ${MACHINE_CPUARCH} == "amd64" 128beforedepend ${OBJS}: machine 129CLEANFILES+= machine 130machine: 131 ln -sf ${.CURDIR}/../../../i386/include machine 132.endif | 121 122DPADD= ${LIBFICL} ${LIBFIREWIRE} ${LIBZFS} ${LIBI386} ${LIBSTAND} 123LDADD= ${LIBFICL} ${LIBFIREWIRE} ${LIBZFS} ${LIBI386} ${LIBSTAND} 124 125.include <bsd.prog.mk> 126 127.if ${MACHINE_CPUARCH} == "amd64" 128beforedepend ${OBJS}: machine 129CLEANFILES+= machine 130machine: 131 ln -sf ${.CURDIR}/../../../i386/include machine 132.endif |