Don't build boot.mop. Remove a redundant ${INSTALL_FILE}

This commit is contained in:
matt 2002-03-31 07:30:22 +00:00
parent 6d37025002
commit a5b7362c83
1 changed files with 4 additions and 13 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.25 2002/02/24 01:04:24 matt Exp $ # $NetBSD: Makefile,v 1.26 2002/03/31 07:30:22 matt Exp $
S= ${.CURDIR}/../../../.. S= ${.CURDIR}/../../../..
NOMAN= # defined NOMAN= # defined
@ -11,12 +11,12 @@ DEVS= hp.c ctu.c ra.c mfm.c if_qe.c if_le.c if_ze.c if_de.c if_ni.c
SRCS= srt0.S boot.c devopen.c conf.c autoconf.c netio.c rom.c romread.S \ SRCS= srt0.S boot.c devopen.c conf.c autoconf.c netio.c rom.c romread.S \
consio.c consio2.S str.S ${DEVS} findcpu.c vers.c consio.c consio2.S str.S ${DEVS} findcpu.c vers.c
CLEANFILES+=${PROG} ${PROG}.mop vers.c CLEANFILES+=${PROG} ${PROG}.* vers.c
CPPFLAGS+=-DSUPPORT_BOOTPARAMS -DSUPPORT_BOOTP -DSUPPORT_DHCP -D_STANDALONE \ CPPFLAGS+=-DSUPPORT_BOOTPARAMS -DSUPPORT_BOOTP -DSUPPORT_DHCP -D_STANDALONE \
-DNO_MID_CHECK -DNO_MID_CHECK
#CPPFLAGS+=-DBOOTP_DEBUG -DNETIF_DEBUG -DETHER_DEBUG -DNFS_DEBUG -DDEV_DEBUG \ #CPPFLAGS+=-DBOOTP_DEBUG -DNETIF_DEBUG -DETHER_DEBUG -DNFS_DEBUG -DDEV_DEBUG \
# -DRPC_DEBUG -DRARP_DEBUG -DPARANOID # -DRPC_DEBUG -DRARP_DEBUG -DPARANOID
BINDIR= / BINDIR=
MDEC_DIR=/usr/mdec MDEC_DIR=/usr/mdec
SA_AS= library SA_AS= library
@ -56,20 +56,11 @@ vers.c: ${.CURDIR}/version
${PROG}: machine-links ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN} ${PROG}: machine-links ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
${LD} -N -Ttext ${RELOC} -e ${START} -o ${PROG}.sym ${OBJS} \ ${LD} -N -Ttext ${RELOC} -e ${START} -o ${PROG}.sym ${OBJS} \
${LIBSA} ${LIBZ} ${LIBSA} ${LIBKERN} ${LIBSA} ${LIBZ} ${LIBSA} ${LIBKERN}
.if ${OBJECT_FMT} != "ELF"
/usr/sbin/mopa.out ${PROG}.sym ${PROG}.mop
.endif
${STRIP} -o ${PROG} ${PROG}.sym ${STRIP} -o ${PROG} ${PROG}.sym
${SIZE} ${PROG} ${SIZE} ${PROG}
install: install:
${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 555 \ ${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 555 \
${PROG} ${DESTDIR}${BINDIR} ${PROG} ${DESTDIR}${MDEC_DIR}/${PROG}
${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 555 \
${PROG} ${DESTDIR}${MDEC_DIR}
.if ${OBJECT_FMT} != "ELF"
${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 555 \
${PROG}.mop ${DESTDIR}${MDEC_DIR}
.endif
.include <bsd.prog.mk> .include <bsd.prog.mk>