summaryrefslogtreecommitdiff
path: root/etc/etc.powerpc/Makefile.inc
blob: 5a2dd957bebe70f2b6e32bac4750ef7d1a9b1b4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#
#	etc.powerpc/Makefile.inc -- powerpc-specific etc Makefile targets
#
#	$Id: Makefile.inc,v 1.1 1997/01/21 23:18:06 rahnds Exp $

.ifdef DESTDIR
snap_md: binutils

binutils:
	cd ${DESTDIR} && tar cf - usr/*openbsd* \
	    | ${GZIP} ${GZIPFLAGS} > snapshot/usr.binutils.tar${GZIPEXT}

bsd:
	cd ${.CURDIR}/../sys/arch/powerpc/conf && config GENERIC
	cd ${.CURDIR}/../sys/arch/powerpc/compile/GENERIC && \
	    make clean && make depend && make
	cp ${.CURDIR}/../sys/arch/powerpc/compile/GENERIC/bsd \
	    ${DESTDIR}/snapshot/bsd

.endif	# DESTDIR check