Home | History | Annotate | Line # | Download | only in installboot
Makefile revision 1.12
      1  1.12  lukem #	$NetBSD: Makefile,v 1.12 2002/04/22 17:17:35 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.12  lukem 	alpha.c pmax.c sparc64.c sun68k.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.12  lukem CPPFLAGS+=	-I${.CURDIR} -I.
     14  1.11  lukem .PATH:		${.CURDIR}/arch ${UFSSRC}/ffs
     15  1.12  lukem 
     16  1.12  lukem 
     17  1.12  lukem sun68k.c:	sun68k_bbinfo.h
     18  1.12  lukem 
     19  1.12  lukem sun68k_bbinfo.h: ${_SRC_TOP_}/sys/arch/sun68k/stand/libsa/bbinfo.h
     20  1.12  lukem 	@echo "Copying ${.ALLSRC} to ${.TARGET}"
     21  1.12  lukem 	@cp ${.ALLSRC} ${.TARGET}
     22  1.12  lukem 
     23  1.12  lukem CLEANFILES+=	sun68k_bbinfo.h
     24  1.12  lukem 
     25   1.1  lukem 
     26   1.8  bjh21 .ifndef HOSTPROG
     27   1.7  lukem # list of MACHINEs to enable the compat symlink /usr/mdec/installboot
     28  1.10  lukem # XXX: eventually this should be done for all machines.
     29  1.10  lukem # XXX: or /usr/mdec/installboot is replaced with a shell script that
     30  1.10  lukem # XXX: tells the user to use /usr/sbin/installboot instead
     31   1.7  lukem #
     32   1.7  lukem COMPATLINKS?=	pmax
     33   1.7  lukem afterinstall:
     34   1.7  lukem .for l in ${COMPATLINKS}
     35   1.7  lukem .if (${MACHINE} == ${l})
     36   1.7  lukem 	${INSTALL_SYMLINK} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
     37   1.9  bjh21 	    ${BINDIR}/${PROG} ${DESTDIR}/usr/mdec/${PROG}
     38   1.7  lukem .endif
     39   1.7  lukem .endfor
     40   1.1  lukem 
     41   1.1  lukem .include <bsd.prog.mk>
     42   1.1  lukem .endif
     43