diff options
Diffstat (limited to 'sys/boot/i386/liloldr/Makefile')
-rw-r--r-- | sys/boot/i386/liloldr/Makefile | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/sys/boot/i386/liloldr/Makefile b/sys/boot/i386/liloldr/Makefile deleted file mode 100644 index 5ccffee..0000000 --- a/sys/boot/i386/liloldr/Makefile +++ /dev/null @@ -1,42 +0,0 @@ -# $FreeBSD$ - -ORG= 0x0 - -LDR= liloldr -BSECT= lilobsect -BOOT= liloboot -PROG= ${BOOT} -NOMAN= 1 -STRIP= -BINDIR?= /boot - -.if exists(${.OBJDIR}/../loader) -LOADER= ${.OBJDIR}/../loader/loader -.else -LOADER= ${.CURDIR}/../loader/loader -.endif - -.if exists(${LOADER}) -LOADER_SIZE != wc -c ${LOADER} | awk '{print int(($$1 + 15) / 16)}' -AFLAGS= --defsym LOADER_SIZE=${LOADER_SIZE} -.endif - -${BOOT}: ${BSECT} ${LDR} ${LOADER} - cat ${BSECT} ${LDR} ${LOADER} > ${.TARGET}.tmp - dd if=${.TARGET}.tmp of=${.TARGET} obs=2k conv=osync - rm ${.TARGET}.tmp - -${LDR}: ${LDR}.o - ${LD} -N -e start -Ttext ${ORG} -o ${LDR}.out ${LDR}.o - objcopy -S -O binary ${LDR}.out ${.TARGET} - -${BSECT}: ${BSECT}.o - ${LD} -N -e start -Ttext ${ORG} -o ${BSECT}.out ${BSECT}.o - objcopy -S -O binary ${BSECT}.out ${.TARGET} - -${BSECT}.o: ${BSECT}.s ${LOADER} - -CLEANFILES+= ${LDR} ${LDR}.out ${LDR}.o \ - ${BSECT} ${BSECT}.out ${BSECT}.o ${BOOT}.tmp - -.include <bsd.prog.mk> |