Cross Reference: Makefile
xref: /src/usr.sbin/installboot/Makefile
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/usr.sbin/installboot/
Makefile revision 1.11
11.11Slukem#	$NetBSD: Makefile,v 1.11 2002/04/19 07:08:51 lukem Exp $
21.1Slukem#
31.1Slukem
41.1SlukemPROG=	installboot
51.11SlukemSRCS=	installboot.c sum.c machines.c fstypes.c \
61.11Slukem	ffs.c ffs_bswap.c \
71.10Slukem	alpha.c pmax.c sparc64.c vax.c
81.1SlukemMAN=	installboot.8
91.1Slukem
101.1SlukemWARNS?=	3
111.4Slukem
121.11SlukemUFSSRC=		${_SRC_TOP_}/sys/ufs
131.4SlukemCPPFLAGS+=	-I${.CURDIR}
141.11Slukem.PATH:		${.CURDIR}/arch ${UFSSRC}/ffs
151.1Slukem
161.8Sbjh21.ifndef HOSTPROG
171.7Slukem# list of MACHINEs to enable the compat symlink /usr/mdec/installboot
181.10Slukem# XXX: eventually this should be done for all machines.
191.10Slukem# XXX: or /usr/mdec/installboot is replaced with a shell script that
201.10Slukem# XXX: tells the user to use /usr/sbin/installboot instead
211.7Slukem#
221.7SlukemCOMPATLINKS?=	pmax
231.7Slukemafterinstall:
241.7Slukem.for l in ${COMPATLINKS}
251.7Slukem.if (${MACHINE} == ${l})
261.7Slukem	${INSTALL_SYMLINK} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
271.9Sbjh21	    ${BINDIR}/${PROG} ${DESTDIR}/usr/mdec/${PROG}
281.7Slukem.endif
291.7Slukem.endfor
301.1Slukem
311.1Slukem.include <bsd.prog.mk>
321.1Slukem.endif
33

Indexes created Sun Dec 28 09:09:33 GMT 2025