Home | History | Annotate | Line # | Download | only in etc.i386
Makefile.inc revision 1.4
      1 #
      2 #	etc.i386/Makefile.inc -- i386-specific etc Makefile targets
      3 #
      4 #	$Id: Makefile.inc,v 1.4 1994/04/18 10:16:34 cgd Exp $
      5 
      6 .ifdef DESTDIR
      7 snap_md: netbsd-aha netbsd-bt kc_aha.fs kc_bt.fs
      8 
      9 netbsd-aha:
     10 	cd ${.CURDIR}/../sys/arch/i386/conf && config GENERICAHA
     11 	cd ${.CURDIR}/../sys/arch/i386/compile/GENERICAHA && \
     12 	    make clean && make depend && make
     13 	cp ${.CURDIR}/../sys/arch/i386/compile/GENERICAHA/netbsd \
     14 	    ${DESTDIR}/snapshot/netbsd-aha
     15 
     16 netbsd-bt:
     17 	cd ${.CURDIR}/../sys/arch/i386/conf && config GENERICBT
     18 	cd ${.CURDIR}/../sys/arch/i386/compile/GENERICBT && \
     19 	    make clean && make depend && make
     20 	cp ${.CURDIR}/../sys/arch/i386/compile/GENERICBT/netbsd \
     21 	    ${DESTDIR}/snapshot/netbsd-bt
     22 
     23 kc_aha.fs:
     24 	make -f ${.CURDIR}/etc.i386/Makefile.kc \
     25 	    IMAGE=${DESTDIR}/snapshot/kc_aha.fs \
     26 	    KERNEL=${DESTDIR}/snapshot/netbsd-aha || \
     27 	make -f ${.CURDIR}/etc.i386/Makefile.kc \
     28 	    IMAGE=${DESTDIR}/snapshot/kc_aha.fs unconfig
     29 
     30 kc_bt.fs:
     31 	make -f ${.CURDIR}/etc.i386/Makefile.kc \
     32 	    IMAGE=${DESTDIR}/snapshot/kc_bt.fs \
     33 	    KERNEL=${DESTDIR}/snapshot/netbsd-bt || \
     34 	make -f ${.CURDIR}/etc.i386/Makefile.kc \
     35 	    IMAGE=${DESTDIR}/snapshot/kc_bt.fs unconfig
     36 
     37 .endif	# DESTDIR check
     38