summaryrefslogtreecommitdiff
path: root/etc/etc.mac68k/Makefile.inc
blob: d99384f6005ec7e12bbcaaca6fd26da41cd3255a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#	$OpenBSD: Makefile.inc,v 1.6 1998/02/19 20:58:00 ryker Exp $
#	etc.mac68k/Makefile.inc -- mac68k-specific etc Makefile targets

.ifdef DESTDIR
snap_md: bsd-generic bsd-genericsbc
	(cd ${.CURDIR}/../sys/arch/mac68k/compile/GENERIC; \
	 tar cf - bsd \
	 | ${GZIP} ${GZIPFLAGS} >${DESTDIR}/snapshot/bsd-generic.tar${GZIPEXT})
	(cd ${.CURDIR}/../sys/arch/mac68k/compile/GENERICSBC; \
	 tar cf - bsd \
	 | ${GZIP} ${GZIPFLAGS} >${DESTDIR}/snapshot/bsd-genericsbc.tar${GZIPEXT})
bsd-generic:
	(cd ${.CURDIR}/../sys/arch/mac68k/conf && config GENERIC)
	(cd ${.CURDIR}/../sys/arch/mac68k/compile/GENERIC && \
	    make clean && make depend && make)
bsd-genericsbc:
	(cd ${.CURDIR}/../sys/arch/mac68k/conf && config GENERICSBC)
	(cd ${.CURDIR}/../sys/arch/mac68k/compile/GENERICSBC && \
	    make clean && make depend && make)

.endif	# DESTDIR check