Home | History | Annotate | Line # | Download | only in installcd
Makefile revision 1.8.2.2
      1  1.8.2.2       snj #	$NetBSD: Makefile,v 1.8.2.2 2015/05/14 07:11:53 snj Exp $
      2      1.1    bouyer CDBASE=		vaxcd			# gives ${CDBASE}.iso
      3      1.1    bouyer CDRELEASE=	true			# include $RELEASEDIR/$MACHINE
      4      1.4    martin CDKERNELS=	${RELEASEDIR}/${MACHINE}/binary/kernel/netbsd-GENERIC.gz	netbsd.gz
      5      1.3    martin CDRELEASE_NOISOS=true
      6      1.6    martin CDMAKEFSEXTRAOPTS+=-F ./fs.spec
      7      1.6    martin 
      8      1.6    martin CLEANFILES+= fs.spec
      9      1.1    bouyer 
     10      1.3    martin # for PRINTOBJDIR
     11      1.3    martin .include <bsd.own.mk>
     12      1.8  dholland SYSINSTDIR!= cd ${.CURDIR}/../../../../usr.sbin/sysinst/arch/${MACHINE} && ${PRINTOBJDIR}
     13      1.3    martin 
     14      1.3    martin # prepare mutliuser install environment
     15      1.3    martin image_md_pre:
     16      1.1    bouyer 	${RM} -f cdrom/boot
     17      1.1    bouyer 	${CP} ${DESTDIR}/usr/mdec/boot cdrom/boot
     18      1.1    bouyer 	${RM} -f bootxx.${MACHINE}
     19      1.1    bouyer 	${CP} ${DESTDIR}/usr/mdec/xxboot bootxx.${MACHINE}
     20      1.3    martin 	${MKDIR} cdrom/etc
     21      1.3    martin 	${HOST_LN} -fs /tmp/gettytab cdrom/etc/gettytab
     22      1.3    martin 	${INSTALL} ${COPY} ${.CURDIR}/etc.ttys cdrom/etc/ttys
     23      1.3    martin 	${INSTALL} ${COPY} ${.CURDIR}/etc.rc cdrom/etc/rc
     24      1.3    martin 	${INSTALL} ${COPY} -m 0555 ${.CURDIR}/install.sh cdrom/install.sh
     25      1.3    martin 	${MKDIR} cdrom/mnt2 cdrom/targetroot
     26      1.3    martin 	${INSTALL} ${COPY} -m 0555 ${SYSINSTDIR}/sysinst cdrom
     27      1.3    martin 	for f in ${SYSINSTDIR}/sysinstmsgs.??; do \
     28      1.3    martin 		${INSTALL} ${COPY} $$f cdrom; \
     29      1.3    martin 	done
     30      1.7    martin 	${TOOL_GZIP} -d -f cdrom/netbsd.gz
     31      1.6    martin 	echo '. type=dir optional' > ./fs.spec
     32      1.6    martin 	echo './dev type=dir optional' >> ./fs.spec
     33      1.6    martin 	${HOST_SH} cdrom/dev/MAKEDEV -s all | ${TOOL_SED} -e '1d' -e 's:^\./:./dev/:' >> ./fs.spec
     34      1.3    martin 	${MKDIR} cdrom/var
     35      1.3    martin 	${MKDIR} cdrom/kern
     36      1.1    bouyer 
     37      1.3    martin # make the CD bootable
     38      1.1    bouyer image_md_post:
     39      1.2  jmcneill 	${TOOL_INSTALLBOOT} -m${MACHINE} ${CDIMAGE} bootxx.${MACHINE}
     40      1.1    bouyer 
     41      1.3    martin CDRUNTIME+=	./bin
     42      1.3    martin CDRUNTIME+=	./dev/MAKEDEV
     43      1.3    martin CDRUNTIME+=	./etc
     44      1.3    martin CDRUNTIME+=	./lib
     45      1.3    martin CDRUNTIME+=	./libdata
     46      1.3    martin CDRUNTIME+=	./libexec
     47      1.3    martin CDRUNTIME+=	./mnt
     48      1.3    martin CDRUNTIME+=	./sbin
     49      1.3    martin # CDRUNTIME+=	./stand
     50      1.3    martin CDRUNTIME+=	./tmp
     51      1.3    martin CDRUNTIME+=	./usr/bin/ftp
     52      1.3    martin CDRUNTIME+=	./usr/bin/getopt
     53      1.3    martin CDRUNTIME+=	./usr/bin/gunzip
     54      1.3    martin CDRUNTIME+=	./usr/bin/gzcat
     55      1.3    martin CDRUNTIME+=	./usr/bin/gzip
     56      1.3    martin CDRUNTIME+=	./usr/bin/grep
     57      1.3    martin CDRUNTIME+=	./usr/bin/less
     58      1.3    martin CDRUNTIME+=	./usr/bin/more
     59      1.3    martin CDRUNTIME+=	./usr/bin/netstat
     60      1.3    martin CDRUNTIME+=	./usr/bin/progress
     61      1.3    martin CDRUNTIME+=	./usr/bin/sed
     62      1.3    martin CDRUNTIME+=	./usr/bin/sort
     63      1.3    martin CDRUNTIME+=	./usr/bin/tip
     64      1.3    martin CDRUNTIME+=	./usr/bin/tput
     65      1.3    martin CDRUNTIME+=	./usr/bin/vi
     66      1.3    martin CDRUNTIME+=	./usr/bin/vmstat
     67  1.8.2.1    martin .if ${MKBSDTAR} != "no"
     68  1.8.2.1    martin CDRUNTIME+=	./usr/lib/libarchive.so*
     69  1.8.2.1    martin .endif
     70      1.3    martin CDRUNTIME+=	./usr/lib/libbz2.so*
     71      1.3    martin CDRUNTIME+=	./usr/lib/libc.so*
     72      1.3    martin CDRUNTIME+=	./usr/lib/libcurses.so*
     73      1.3    martin CDRUNTIME+=	./usr/lib/libedit.so*
     74      1.3    martin CDRUNTIME+=	./usr/lib/libgcc_s.so*
     75      1.3    martin CDRUNTIME+=	./usr/lib/libintl.so*
     76      1.3    martin CDRUNTIME+=	./usr/lib/libkvm.so*
     77      1.3    martin CDRUNTIME+=	./usr/lib/liblzma.so*
     78      1.3    martin CDRUNTIME+=	./usr/lib/libterminfo.so*
     79      1.3    martin CDRUNTIME+=	./usr/lib/libutil.so*
     80      1.3    martin CDRUNTIME+=	./usr/lib/libz.so*
     81      1.3    martin .if (${MKCRYPTO} != "no")
     82      1.3    martin CDRUNTIME+=	./usr/lib/libcrypto.so*
     83      1.3    martin CDRUNTIME+=	./usr/lib/libssl.so*
     84      1.3    martin .endif
     85      1.3    martin CDRUNTIME+=	./usr/libexec/ld.elf_so
     86      1.3    martin CDRUNTIME+=	./usr/libexec/getty
     87      1.3    martin CDRUNTIME+=	./usr/mdec
     88      1.3    martin CDRUNTIME+=	./usr/sbin/chat
     89      1.3    martin CDRUNTIME+=	./usr/sbin/chroot
     90      1.3    martin CDRUNTIME+=	./usr/sbin/installboot
     91      1.3    martin CDRUNTIME+=	./usr/sbin/pppd
     92      1.3    martin CDRUNTIME+=	./usr/sbin/wiconfig
     93      1.3    martin CDRUNTIME+=	./usr/share/misc/terminfo.cdb
     94      1.3    martin CDRUNTIME+=	./usr/share/locale
     95      1.3    martin 
     96      1.1    bouyer .include "${.CURDIR}/../../../common/Makefile.bootcd"
     97