Home | History | Annotate | Line # | Download | only in installboot
Makefile revision 1.11
      1 #	$NetBSD: Makefile,v 1.11 2002/04/19 07:08:51 lukem Exp $
      2 #
      3 
      4 PROG=	installboot
      5 SRCS=	installboot.c sum.c machines.c fstypes.c \
      6 	ffs.c ffs_bswap.c \
      7 	alpha.c pmax.c sparc64.c vax.c
      8 MAN=	installboot.8
      9 
     10 WARNS?=	3
     11 
     12 UFSSRC=		${_SRC_TOP_}/sys/ufs
     13 CPPFLAGS+=	-I${.CURDIR}
     14 .PATH:		${.CURDIR}/arch ${UFSSRC}/ffs
     15 
     16 .ifndef HOSTPROG
     17 # list of MACHINEs to enable the compat symlink /usr/mdec/installboot
     18 # XXX: eventually this should be done for all machines.
     19 # XXX: or /usr/mdec/installboot is replaced with a shell script that
     20 # XXX: tells the user to use /usr/sbin/installboot instead
     21 #
     22 COMPATLINKS?=	pmax
     23 afterinstall:
     24 .for l in ${COMPATLINKS}
     25 .if (${MACHINE} == ${l})
     26 	${INSTALL_SYMLINK} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
     27 	    ${BINDIR}/${PROG} ${DESTDIR}/usr/mdec/${PROG}
     28 .endif
     29 .endfor
     30 
     31 .include <bsd.prog.mk>
     32 .endif
     33