|
# $OpenBSD: Makefile.inc,v 1.14 1997/10/20 13:26:49 downsj Exp $
|
|
# etc.hp300/Makefile.inc -- hp300-specific etc Makefile targets
|
|
|
|
.ifdef DESTDIR
|
|
snap_md: bsd bsd-dl bootblocks distrib
|
|
|
|
bsd:
|
|
cd ${.CURDIR}/../sys/arch/hp300/conf && config GENERIC
|
|
cd ${.CURDIR}/../sys/arch/hp300/compile/GENERIC && \
|
|
make clean && make depend && make
|
|
cp ${.CURDIR}/../sys/arch/hp300/compile/GENERIC/bsd \
|
|
${DESTDIR}/snapshot/bsd
|
|
|
|
bsd-dl:
|
|
cd ${.CURDIR}/../sys/arch/hp300/conf && config DISKLESS
|
|
cd ${.CURDIR}/../sys/arch/hp300/compile/DISKLESS && \
|
|
make clean && make depend && make
|
|
cp ${.CURDIR}/../sys/arch/hp300/compile/DISKLESS/bsd \
|
|
${DESTDIR}/snapshot/bsd-dl
|
|
|
|
bootblocks:
|
|
cp ${DESTDIR}/usr/mdec/uboot.raw ${DESTDIR}/snapshot
|
|
cp ${DESTDIR}/usr/mdec/uboot.lif ${DESTDIR}/snapshot/SYS_UBOOT
|
|
|
|
distrib:
|
|
cd ${.CURDIR}/../distrib && make cleandir && \
|
|
make && make install
|
|
|
|
.endif # DESTDIR check
|