📄 makefile
字号:
# @(#)Makefile 1.1 90/03/23 SMI## Sun-4m kernel debugger (kadb) makefile#ARCH= sun4mMACH= sparcCPP= /lib/cpp -undefCPPOPTS= -DKADB -Dsun -D$(ARCH) -D$(MACH) -DKERNEL -I.. -I../..COPTS= -OCFLAGS= $(CPPOPTS) $(COPTS)ASFLAGS= -P $(CPPOPTS) -DLOCOREKADBDIR= ../../kadbHFILES= ../../sun4m/debug/reg.hCFILES= ../../sun4m/debug/machdep.c ../../debug/main.c \ ../../debug/support.c ../../sun4m/clock.cSFILES= locore.s map.sSPECIAL= locore.oOBJ= $(SPECIAL) machdep.o map.o main.o support.o clock.odebug.o: $(OBJ) $(LD) -r -o $@ $(OBJ)assym.s: genassym.c $(CC) $(CFLAGS) -I. genassym.c ./a.out >assym.s; @ rm a.out# -if [ `/bin/arch -k` = $(ARCH) ] ; \# then \# ./a.out >assym.s; \# else \# sas -R a.out >assym.s 2>/dev/null; \# fimain.o: ../../debug/main.c $(CC) $(CFLAGS) -c ../../debug/main.csupport.o: ../../debug/support.c $(CC) $(CFLAGS) -c ../../debug/support.cclock.o: ../clock.c $(CC) $(CFLAGS) -c ../clock.creloc: @echo 'FFC00000'tags: $(KADBDIR)/tags @ cd $(KADBDIR); $(MAKE) -e $@ ln -s $(KADBDIR)/tags $@tags.list: FRC @echo $(HFILES) $(CFILES)stags.list: FRC @for i in ${SFILES} ; do \ echo ../../sun4m/debug/$$i ; doneclean: $(RM) a.out *.o assym.smakedep: assym.s FRC @cat /dev/null >makedep @-(for i in ${CFILES} ${SFILES} genassym.c ; do \ ${CPP} -M ${CPPOPTS} $$i >> makedep; done) \ 2>makedeperrs @sed \ -e 's,^.*genassym\.o:,assym.s assym.L:,' \ -e 's,^\(.*\)\.o:,\1.o \1.L:,' makedep > makedep1 @awk ' { if ($$1 != prev) { print rec; rec = $$0; prev = $$1; } \ else { if (length(rec $$3) > 78) { print rec; rec = $$0; } \ else rec = rec " " $$3 } } \ END { print rec } ' makedep1 > makedep @cat makedeperrs >&- 1>&2 @(if [ -s makedeperrs ]; then false; fi)depend: makedep @echo '/^# DO NOT DELETE THIS LINE/+1,$$d' >eddep @echo '$$r makedep' >>eddep @echo 'w' >>eddep @cp Makefile Makefile.bak @ed - Makefile < eddep @echo '# DEPENDENCIES MUST END AT END OF FILE' >> Makefile @echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> Makefile @echo '# see make depend above' >> Makefile @$(RM) eddep makedep makedep1 makedeperrsFRC:# DO NOT DELETE THIS LINE -- make depend uses itmachdep.o machdep.L: ../../sun4m/debug/machdep.c ../../sys/param.hmachdep.o machdep.L: ../machine/param.h ../../sys/signal.h ../../vm/faultcode.hmachdep.o machdep.L: ../../sys/types.h ../../sys/sysmacros.h ../../sys/errno.hmachdep.o machdep.L: ../../sys/vmmac.h ../machine/buserr.h ../machine/enable.hmachdep.o machdep.L: ../machine/mmu.h ../../debug/debug.h ../../mon/sunromvec.hmachdep.o machdep.L: ../../sys/types.h ../../sys/param.h ../../mon/openprom.hmachdep.o machdep.L: ../machine/romvec.h ../machine/cpu.h ../../mon/sunromvec.hmachdep.o machdep.L: ../machine/pte.h ../machine/scb.h ../machine/psl.hmachdep.o machdep.L: ../machine/trap.h ../machine/clock.h ../machine/intreg.hmachdep.o machdep.L: ../machine/eeprom.h ../../mon/eeprom.hmachdep.o machdep.L: ../../mon/keyboard.h ../../mon/password.hmachdep.o machdep.L: ../../mon/idprom.h ../machine/asm_linkage.hmachdep.o machdep.L: ../machine/reg.h ../machine/frame.hmachdep.o machdep.L: ../../sun4m/debug/allregs.h ../../debug/debug.hmachdep.o machdep.L: ../../debug/debugger.h /usr/include/setjmp.hmachdep.o machdep.L: /usr/include/machine/setjmp.h ../../debug/debug.hmain.o main.L: ../../debug/main.c ../../sys/param.h ../machine/param.hmain.o main.L: ../../sys/signal.h ../../vm/faultcode.h ../../sys/types.hmain.o main.L: ../../sys/sysmacros.h ../../sys/reboot.h ../machine/reg.hmain.o main.L: ../../debug/debugger.h /usr/include/setjmp.hmain.o main.L: /usr/include/machine/setjmp.h ../../debug/debug.hmain.o main.L: ../../mon/sunromvec.h ../../sys/types.h ../../sys/param.hmain.o main.L: ../../mon/openprom.h ../machine/romvec.h ../a.out.hmain.o main.L: ../../sys/exec.h /usr/include/ctype.hsupport.o support.L: ../../debug/support.c ../../sys/param.h ../machine/param.hsupport.o support.L: ../../sys/signal.h ../../vm/faultcode.h ../../sys/types.hsupport.o support.L: ../../sys/sysmacros.h /usr/include/time.hsupport.o support.L: /usr/include/tzfile.h /usr/include/string.hsupport.o support.L: ../../sys/errno.h ../../sys/time.h ../machine/mmu.hsupport.o support.L: ../../debug/debug.h ../../mon/sunromvec.hsupport.o support.L: ../../sys/types.h ../../sys/param.h ../../mon/openprom.hsupport.o support.L: ../machine/romvec.h ../machine/pte.h ../machine/reg.hsupport.o support.L: ../../debug/debugger.h /usr/include/setjmp.hsupport.o support.L: /usr/include/machine/setjmp.h ../../debug/debug.hsupport.o support.L: ../../sys/ptrace.h /usr/include/varargs.hsupport.o support.L: ../machine/debug/allregs.hclock.o clock.L: ../../sun4m/clock.c ../../sys/param.h ../machine/param.hclock.o clock.L: ../../sys/signal.h ../../vm/faultcode.h ../../sys/types.hclock.o clock.L: ../../sys/sysmacros.h ../../sys/time.h ../../sys/kernel.hclock.o clock.L: ../machine/clock.h ../machine/intreg.h ../machine/pte.hlocore.o locore.L: locore.s ./assym.s ../../sys/errno.h ../../sys/param.hlocore.o locore.L: ../machine/param.h ../../sys/signal.h ../../vm/faultcode.hlocore.o locore.L: ../../sys/types.h ../../sys/sysmacros.hlocore.o locore.L: ../machine/asm_linkage.h ../machine/reg.h ../machine/mmu.hlocore.o locore.L: ../../debug/debug.h ../../mon/sunromvec.h ../../sys/types.hlocore.o locore.L: ../../sys/param.h ../../mon/openprom.h ../machine/romvec.hlocore.o locore.L: ../machine/psl.h ../machine/pte.h ../machine/enable.hlocore.o locore.L: ../machine/cpu.h ../../mon/sunromvec.h ../machine/trap.hlocore.o locore.L: ../machine/eeprom.h ../../mon/eeprom.h ../../mon/keyboard.hlocore.o locore.L: ../../mon/password.h ../../mon/idprom.hlocore.o locore.L: ./../../debug/debug.hmap.o map.L: map.s ./assym.s ../../sys/param.h ../machine/param.hmap.o map.L: ../../sys/signal.h ../../vm/faultcode.h ../../sys/types.hmap.o map.L: ../../sys/sysmacros.h ../machine/mmu.h ../../debug/debug.hmap.o map.L: ../../mon/sunromvec.h ../../sys/types.h ../../sys/param.hmap.o map.L: ../../mon/openprom.h ../machine/romvec.h ../machine/pte.hmap.o map.L: ../machine/enable.h ../machine/cpu.h ../../mon/sunromvec.hmap.o map.L: ../machine/eeprom.h ../../mon/eeprom.h ../../mon/keyboard.hmap.o map.L: ../../mon/password.h ../../mon/idprom.h ../machine/asm_linkage.hmap.o map.L: ../machine/reg.h ../../debug/debug.hassym.s assym.L: genassym.c ../../sys/param.h ../machine/param.hassym.s assym.L: ../../sys/signal.h ../../vm/faultcode.h ../../sys/types.hassym.s assym.L: ../../sys/sysmacros.h ../machine/pte.h ../machine/psl.hassym.s assym.L: ../machine/mmu.h ../../debug/debug.h ../../mon/sunromvec.hassym.s assym.L: ../../sys/types.h ../../sys/param.h ../../mon/openprom.hassym.s assym.L: ../machine/romvec.h ../machine/cpu.h ../../mon/sunromvec.hassym.s assym.L: ../../mon/sunromvec.h ./allregs.h ../machine/reg.hassym.s assym.L: ../../debug/debug.h# DEPENDENCIES MUST END AT END OF FILE# IF YOU PUT STUFF HERE IT WILL GO AWAY# see make depend above
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -