Makefile (39646) | Makefile (39664) |
---|---|
1# $Id: Makefile,v 1.5 1998/09/19 01:35:53 msmith Exp $ | 1# $Id: Makefile,v 1.6 1998/09/25 17:14:16 peter Exp $ |
2 3BASE= loader 4PROG= ${BASE} 5NOMAN= 6NEWVERSWHAT= "bootstrap loader" 7 8# architecture-specific loader code 9SRCS= main.c conf.c --- 18 unchanged lines hidden (view full) --- 28 29# i386 standalone support library 30LIBI386= ${.OBJDIR}/../libi386/libi386.a 31CFLAGS+= -I${.CURDIR}/.. 32 33# where to get libstand from 34LIBSTAND= -lstand 35#LIBSTAND= ${.CURDIR}/../../../lib/libstand/libstand.a | 2 3BASE= loader 4PROG= ${BASE} 5NOMAN= 6NEWVERSWHAT= "bootstrap loader" 7 8# architecture-specific loader code 9SRCS= main.c conf.c --- 18 unchanged lines hidden (view full) --- 28 29# i386 standalone support library 30LIBI386= ${.OBJDIR}/../libi386/libi386.a 31CFLAGS+= -I${.CURDIR}/.. 32 33# where to get libstand from 34LIBSTAND= -lstand 35#LIBSTAND= ${.CURDIR}/../../../lib/libstand/libstand.a |
36#CFLAGS+= -I${.CURDIR}/../../../lib/libstand/ |
|
36 37# BTX components 38.if exists(${.OBJDIR}/../btx) 39BTXDIR= ${.OBJDIR}/../btx 40.else 41BTXDIR= ${.CURDIR}/../btx 42.endif 43BTXLDR= ${BTXDIR}/btxldr/btxldr 44BTXKERN= ${BTXDIR}/btx/btx 45BTXCRT= ${BTXDIR}/lib/crt0.o 46CFLAGS+= -I${.CURDIR}/../btx/lib 47 48# BTX is expecting ELF components 49CFLAGS+= -elf 50 | 37 38# BTX components 39.if exists(${.OBJDIR}/../btx) 40BTXDIR= ${.OBJDIR}/../btx 41.else 42BTXDIR= ${.CURDIR}/../btx 43.endif 44BTXLDR= ${BTXDIR}/btxldr/btxldr 45BTXKERN= ${BTXDIR}/btx/btx 46BTXCRT= ${BTXDIR}/lib/crt0.o 47CFLAGS+= -I${.CURDIR}/../btx/lib 48 49# BTX is expecting ELF components 50CFLAGS+= -elf 51 |
52# Debug me! 53#CFLAGS+= -g 54#LDFLAGS+= -g 55 |
|
51vers.o: 52 sh ${.CURDIR}/newvers.sh ${.CURDIR}/version ${NEWVERSWHAT} 53 ${CC} -c vers.c 54 55${BASE}: ${BASE}.bin ${BTXLDR} ${BTXKERN} 56 btxld -v -f aout -e 0x100000 -o ${.TARGET} -l ${BTXLDR} -b ${BTXKERN} \ 57 ${BASE}.bin 58 --- 22 unchanged lines hidden --- | 56vers.o: 57 sh ${.CURDIR}/newvers.sh ${.CURDIR}/version ${NEWVERSWHAT} 58 ${CC} -c vers.c 59 60${BASE}: ${BASE}.bin ${BTXLDR} ${BTXKERN} 61 btxld -v -f aout -e 0x100000 -o ${.TARGET} -l ${BTXLDR} -b ${BTXKERN} \ 62 ${BASE}.bin 63 --- 22 unchanged lines hidden --- |