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