diff --git a/src/etc/etc.powerpc/Makefile.inc b/src/etc/etc.powerpc/Makefile.inc new file mode 100644 index 00000000..5a2dd957 --- /dev/null +++ b/src/etc/etc.powerpc/Makefile.inc @@ -0,0 +1,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