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