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