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

.ifdef DESTDIR
snap_md: binutils bsd bootblocks

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

bootblocks:
	cp ${DESTDIR}/usr/mdec/*boot* ${DESTDIR}/snapshot

.endif	# DESTDIR check