Fix my breakage of `make installworld'. However, i don't think it's right to

install all those images at all (nor to install them under /usr/mdec), given
the high degree of customization this Makefile needs in order to get images
that are actually useful for some NIC.

Submitted by:	John Hay <jhay@mikom.csir.co.za>,
		Paul Allenby <pallenby@mikom.csir.co.za>
This commit is contained in:
Joerg Wunsch 1998-11-28 08:03:24 +00:00
parent 49b41a660f
commit 85e5fe218b

View file

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.19 1998/07/07 02:43:26 bde Exp $
# $Id: Makefile,v 1.20 1998/11/26 11:11:29 joerg Exp $
#
# Makefile for NETBOOT
#
@ -44,7 +44,8 @@ CLEANFILES+= makerom start2.ro 3c509.o ns8390.o
ROMLDFLAGS= ${LDFLAGS} -N -T ${RELOCADDR} -e _start -nostdlib
NOSHARED= YES
MAN8= netboot.8
STRIP= strip -aout
STRIP=
STRIPCMD= strip -aout
SIZE= size -aout
CFLAGS += -aout
LDFLAGS += -aout
@ -68,26 +69,26 @@ makerom: makerom.c
nb8390.rom: makerom start2.ro ${SRCS:N*.h:R:S/$/.o/g} ns8390.o
${LD} ${ROMLDFLAGS} -o ${.TARGET} ${OBJS:S/start2.o/start2.ro/} ns8390.o
${STRIP} ${.TARGET}
${STRIPCMD} ${.TARGET}
${SIZE} ${.TARGET}
${.OBJDIR}/makerom ${.TARGET}
nb3c509.rom: makerom start2.ro ${SRCS:N*.h:R:S/$/.o/g} 3c509.o
${LD} ${ROMLDFLAGS} -o ${.TARGET} ${OBJS:S/start2.o/start2.ro/} 3c509.o
${STRIP} ${.TARGET}
${STRIPCMD} ${.TARGET}
${SIZE} ${.TARGET}
${.OBJDIR}/makerom ${.TARGET}
nb8390.com: makerom start2.ro ${SRCS:N*.h:R:S/$/.o/g} ns8390.o
${LD} ${ROMLDFLAGS} -o ${.TARGET}.tmp ${OBJS} ns8390.o
${STRIP} ${.TARGET}.tmp
${STRIPCMD} ${.TARGET}.tmp
${SIZE} ${.TARGET}.tmp
dd ibs=32 skip=1 if=${.TARGET}.tmp of=${.TARGET}
rm -f ${.TARGET}.tmp
nb3c509.com: start2.o ${SRCS:N*.h:R:S/$/.o/g} 3c509.o
${LD} ${ROMLDFLAGS} -o ${.TARGET}.tmp ${OBJS} 3c509.o
${STRIP} ${.TARGET}.tmp
${STRIPCMD} ${.TARGET}.tmp
${SIZE} ${.TARGET}.tmp
dd ibs=32 skip=1 if=${.TARGET}.tmp of=${.TARGET}
rm -f ${.TARGET}.tmp