Makefile (40243) | Makefile (40338) |
---|---|
1# $Id: Makefile,v 1.10 1998/10/07 02:39:32 msmith Exp $ | 1# $Id: Makefile,v 1.11 1998/10/12 01:03:00 rnordier Exp $ |
2 3BASE= loader 4PROG= ${BASE} 5NOMAN= 6STRIP= 7NEWVERSWHAT= "bootstrap loader" 8BINDIR?= /boot 9 10# architecture-specific loader code 11SRCS= main.c conf.c 12 13# Enable PnP and ISA-PnP code. 14#HAVE_PNP= yes 15#HAVE_ISABUS= yes 16 17# Always add MI sources 18.PATH: ${.CURDIR}/../../common 19.include <${.CURDIR}/../../common/Makefile.inc> | 2 3BASE= loader 4PROG= ${BASE} 5NOMAN= 6STRIP= 7NEWVERSWHAT= "bootstrap loader" 8BINDIR?= /boot 9 10# architecture-specific loader code 11SRCS= main.c conf.c 12 13# Enable PnP and ISA-PnP code. 14#HAVE_PNP= yes 15#HAVE_ISABUS= yes 16 17# Always add MI sources 18.PATH: ${.CURDIR}/../../common 19.include <${.CURDIR}/../../common/Makefile.inc> |
20CFLAGS+= -I${.CURDIR}/../../common -I. | 20CFLAGS+= -I${.CURDIR}/../../common 21CFLAGS+= -I${.CURDIR}/../../.. -I. |
21 22CLEANFILES+= vers.c vers.o ${BASE}.list setdef0.o setdef1.o setdefs.h \ 23 gensetdefs.o gensetdefs ${BASE}.bin 24 25CFLAGS+= -Wall 26LDFLAGS= -nostdlib -static -Ttext 0x1000 27 28# i386 standalone support library --- 34 unchanged lines hidden (view full) --- 63${BASE}.bin: ${OBJS} ${LIBI386} vers.o setdef0.o setdef1.o 64 ${CC} ${LDFLAGS} -o ${.TARGET} ${BTXCRT} setdef0.o ${OBJS} vers.o setdef1.o \ 65 ${LIBSTAND} ${LIBI386} ${LIBSTAND} 66 67setdef0.o: setdefs.h 68 69setdef1.o: setdefs.h 70 | 22 23CLEANFILES+= vers.c vers.o ${BASE}.list setdef0.o setdef1.o setdefs.h \ 24 gensetdefs.o gensetdefs ${BASE}.bin 25 26CFLAGS+= -Wall 27LDFLAGS= -nostdlib -static -Ttext 0x1000 28 29# i386 standalone support library --- 34 unchanged lines hidden (view full) --- 64${BASE}.bin: ${OBJS} ${LIBI386} vers.o setdef0.o setdef1.o 65 ${CC} ${LDFLAGS} -o ${.TARGET} ${BTXCRT} setdef0.o ${OBJS} vers.o setdef1.o \ 66 ${LIBSTAND} ${LIBI386} ${LIBSTAND} 67 68setdef0.o: setdefs.h 69 70setdef1.o: setdefs.h 71 |
72machine: 73 ln -sf ${.CURDIR}/../../../i386/include machine 74 75CLEANFILES+= machine 76 |
|
71.include <bsd.prog.mk> 72 73# Linker set gymnastics 74setdefs.h: gensetdefs ${OBJS} 75 @echo Generating linker sets 76 @./gensetdefs ${OBJS} >setdefs.h 77 78gensetdefs: gensetdefs.o 79 ${CC} -static gensetdefs.o -o $@ 80 81gensetdefs.o: gensetdefs.c 82 ${CC} -c $< 83 | 77.include <bsd.prog.mk> 78 79# Linker set gymnastics 80setdefs.h: gensetdefs ${OBJS} 81 @echo Generating linker sets 82 @./gensetdefs ${OBJS} >setdefs.h 83 84gensetdefs: gensetdefs.o 85 ${CC} -static gensetdefs.o -o $@ 86 87gensetdefs.o: gensetdefs.c 88 ${CC} -c $< 89 |
84 | 90beforedepend ${OBJS}: machine |