makefile.arch

来自「操作系统SunOS 4.1.3版本的源码」· ARCH 代码 · 共 43 行

ARCH
43
字号
## @(#)Makefile.arch 1.1 92/07/30 SMI## This file is included by ../boot/Makefile.com# It defines the targets and rules needed to build the machine-dependent# sources for the boot os library.# # The target library is built in ../$(ARCH) ## The relocation symbols $LOAD, $BRELOC, and $BBRELOC must be# defined in ../$(ARCH)/Makefile# Machine-dependent boot os object filesMACHDIR= ../sparcMACHOBJ= stubs1.o stret.o# Standalone start-off.srt0.o	:=	SRTOPT= -DLOAD=0x$(LOAD)srt0xx.o:=	SRTOPT= -DLOAD=0x$(LOAD) -DBOOTBLOCK#assym.ssrt0.o srt0xx.o:  $(MACHDIR)/srt0.s	${RM} tmp.c tmp.i $@	cp $(MACHDIR)/srt0.s tmp.c	${CC} -E -DBOOTBLOCK -DLOCORE ${CFLAGS} ${BOOTOPT} -DLOAD=0x${LOAD} tmp.c > tmp.i	${AS} tmp.i -o $@	${RM} tmp.c tmp.i# srt0.s needs to have some symbols defined from kernel header files#assym.s: $(MACHDIR)/genassym.c#	@$(CC) $(CPPOPTS) -o genassym $(MACHDIR)/genassym.c#	./genassym >$@#	@$(RM) genassym# Rules for machine-dependent .s files$$(BOOT_LIB)(%.o): $(MACHDIR)/%.s	${RM} tmp.c tmp.i $%	cp $(MACHDIR)/$< tmp.c	/lib/cpp -P -DBOOTBLOCK -DLOCORE ${CFLAGS} ${BOOTOPT} -DLOAD=0x${LOAD} tmp.c > tmp.s	${AS} -P -Q  tmp.s -o $%	${RM} tmp.c tmp.i	${AR} rv $(BOOT_LIB) $%

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?