📄 makefile
字号:
## @(#)Makefile 4.2 (ULTRIX) 10/11/90## Normal sequence of events is: clean clobber sccsget all install#DESTROOT=DESTDIR=${DESTROOT}/usr/sys/machine/${MACHINE}CLOBBERDIR=MCLEANDIRS=ALLDIRS=TARDIRS=### Files that go on the kit.##FILES=cpuconf.h cpuconf.c conf.call:clean: -for i in ${MCLEANDIRS} ;do \ if [ -d $$i/. ]; then \ cd $$i;$(MAKE) clean;cd ..;\ fi; \ doneclobber: clean for i in ${CLOBBERDIR}; do \ cd $$i;sccs clean;cd ..;done rm -f [abdf-hj-ln-z]* [ceim]*.*sccsinfo: @sccs info @for i in ${ALLDIRS} ; do cd $$i;echo -n "$$i:";sccs info;cd .. ; donesccsget: @-sccs get -s SCCS @-for i in ${ALLDIRS};do cd $$i;echo "$$i";sccs get -s SCCS;cd ..;doneinstall: @echo Making /sys/machine/common directory mkdir ${DESTROOT}/sys/machine/common @echo Installing ${FILES} tar cFf - ${FILES}| (cd ${DESTROOT}/sys/machine/common; tar xpf -; \ chmod ugo+r ${FILES}; ) @echo Making link to cpuconf.h ln -s /sys/machine/common/cpuconf.h ${DESTROOT}/sys/h/cpuconf.h ln -s /sys/machine/common/cpuconf.h ${DESTDIR}/cpuconf.hinstdirs: -if [ ! -d ${DESTDIR} ] ;\ then \ mkdir ${DESTDIR}; \ /etc/chown root ${DESTDIR}; \ chgrp system ${DESTDIR}; \ chmod 0755 ${DESTDIR}; \ else true; \ fi @rm -f ${DESTROOT}/sys @cd ${DESTROOT}; ln -s usr/sys ${DESTROOT}/sys @-for i in ${TARDIRS} ; do \ if [ ! -d ${DESTDIR}/$$i ] ;\ then \ mkdir ${DESTDIR}/$$i; \ /etc/chown root ${DESTDIR}/$$i; \ chgrp system ${DESTDIR}/$$i; \ chmod 0755 ${DESTDIR}/$$i; \ else true; \ fi; doneinst-vax:inst-inline:
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -