Makefile (116864) | Makefile (125516) |
---|---|
1# $FreeBSD: head/sys/boot/i386/loader/Makefile 116864 2003-06-26 03:51:57Z peter $ | 1# $FreeBSD: head/sys/boot/i386/loader/Makefile 125516 2004-02-06 12:45:27Z ru $ |
2 3PROG= loader 4STRIP= 5NEWVERSWHAT= "bootstrap loader" i386 6BINDIR?= /boot 7INSTALLFLAGS= -b 8 9# architecture-specific loader code --- 26 unchanged lines hidden (view full) --- 36CFLAGS+= -DLOADER_BZIP2_SUPPORT 37.endif 38.if !defined(LOADER_NO_GZIP_SUPPORT) 39CFLAGS+= -DLOADER_GZIP_SUPPORT 40.endif 41 42# Always add MI sources 43.PATH: ${.CURDIR}/../../common | 2 3PROG= loader 4STRIP= 5NEWVERSWHAT= "bootstrap loader" i386 6BINDIR?= /boot 7INSTALLFLAGS= -b 8 9# architecture-specific loader code --- 26 unchanged lines hidden (view full) --- 36CFLAGS+= -DLOADER_BZIP2_SUPPORT 37.endif 38.if !defined(LOADER_NO_GZIP_SUPPORT) 39CFLAGS+= -DLOADER_GZIP_SUPPORT 40.endif 41 42# Always add MI sources 43.PATH: ${.CURDIR}/../../common |
44.include <${.CURDIR}/../../common/Makefile.inc> | 44.include "${.CURDIR}/../../common/Makefile.inc" |
45CFLAGS+= -I${.CURDIR}/../../common 46CFLAGS+= -I${.CURDIR}/../../.. -I. 47 48CLEANFILES+= vers.c vers.o ${PROG}.list ${PROG}.bin ${PROG}.sym ${PROG}.help 49 50CFLAGS+= -Wall 51LDFLAGS= -nostdlib -static -Ttext 0x0 52 --- 51 unchanged lines hidden (view full) --- 104FILES= ${PROG}.help loader.4th support.4th loader.conf 105FILES+= screen.4th frames.4th beastie.4th 106FILESDIR_loader.conf= /boot/defaults 107 108.if !exists(${DESTDIR}/boot/loader.rc) 109FILES+= ${.CURDIR}/loader.rc 110.endif 111 | 45CFLAGS+= -I${.CURDIR}/../../common 46CFLAGS+= -I${.CURDIR}/../../.. -I. 47 48CLEANFILES+= vers.c vers.o ${PROG}.list ${PROG}.bin ${PROG}.sym ${PROG}.help 49 50CFLAGS+= -Wall 51LDFLAGS= -nostdlib -static -Ttext 0x0 52 --- 51 unchanged lines hidden (view full) --- 104FILES= ${PROG}.help loader.4th support.4th loader.conf 105FILES+= screen.4th frames.4th beastie.4th 106FILESDIR_loader.conf= /boot/defaults 107 108.if !exists(${DESTDIR}/boot/loader.rc) 109FILES+= ${.CURDIR}/loader.rc 110.endif 111 |
112.include <${.CURDIR}/../Makefile.inc> 113 | |
114# Cannot use ${OBJS} above this line 115.include <bsd.prog.mk> 116 117${PROG}.sym: ${OBJS} ${LIBI386} ${LIBSTAND} ${LIBFICL} vers.o 118 ${CC} ${LDFLAGS} -o ${.TARGET} ${BTXCRT} ${OBJS} vers.o \ 119 ${LIBFICL} ${LIBI386} ${LIBSTAND} 120 121# If it's not there, don't consider it a target 122.if exists(${.CURDIR}/../../../i386/include) 123beforedepend ${OBJS}: machine 124 125machine: 126 ln -sf ${.CURDIR}/../../../i386/include machine 127 128.endif 129 130CLEANFILES+= machine | 112# Cannot use ${OBJS} above this line 113.include <bsd.prog.mk> 114 115${PROG}.sym: ${OBJS} ${LIBI386} ${LIBSTAND} ${LIBFICL} vers.o 116 ${CC} ${LDFLAGS} -o ${.TARGET} ${BTXCRT} ${OBJS} vers.o \ 117 ${LIBFICL} ${LIBI386} ${LIBSTAND} 118 119# If it's not there, don't consider it a target 120.if exists(${.CURDIR}/../../../i386/include) 121beforedepend ${OBJS}: machine 122 123machine: 124 ln -sf ${.CURDIR}/../../../i386/include machine 125 126.endif 127 128CLEANFILES+= machine |