summaryrefslogtreecommitdiff
path: root/etc/etc.alpha/Makefile.inc
blob: b655eca5df1d8a7c5e4db2d7e9b747d65e971121 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#
#	etc.alpha/Makefile.inc -- alpha-specific etc Makefile targets
#
#	$Id: Makefile.inc,v 1.7 1997/05/24 21:39:06 graichen Exp $

.ifdef DESTDIR

snap_md: binutils bsd floppy

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

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

floppy:
	cd ${.CURDIR}/../distrib/alpha/ramdisk && \
	    make cleandir && make && make install

.endif	# DESTDIR check