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