⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile

📁 操作系统SunOS 4.1.3版本的源码
💻
字号:
## @(#)Makefile 1.1 92/07/30 SMI## Makefile for /boot, boot blocks, and related stand-alone programs ARCH=		sun4cMACH=		sparcARCHDIR=	../$(ARCH)MACHDIR=	../$(MACH)ARCHOBJ=	conf.o trap.o stubs.oARCHOPTS=	-DSUN4C_60 $(ARCHDEFS)ARCHDEFS=	$(LIBPROMCPPOPTS)ARCHLIBS=	$(LIBPROM)## LOAD is the text segment start for booted user programs.# It is also used by srt0.s for the initial stack.#LOAD= 4000## BRELOC is the text segment start for final stage (2nd or 3rd stage) boots.# Note that this must be higher than the kernel's edata and should be# higher than the kernel's bss so the bss can be cleared.#BRELOC= 300000## BBRELOC is the text segment start for boot blocks.# Note that this must be higher than boot's edata and should be# higher than boot's bss so the bss can be cleared.#BBRELOC= 340000BOOTBLOCKS= bootopenALL=	boot.$(ARCH) $(BOOTBLOCKS) installbootall: $(ALL)include ../boot/Makefile.com# Special rules for sun4c, which uses a.out executables as its boot programs.boot.$(ARCH): boot	cp $? $@; strip $@# Rules for arch-dependent .c files$$(LIB)(%.o): $(ARCHDIR)/%.c	$(CC) $(CFLAGS) -DLOAD=0x4000 -c $<	@ $(AR) $(ARFLAGS) $(LIB) $% ; $(RM) $%# Rules for arch-dependent .s files$$(LIB)(%.o): $(ARCHDIR)/%.s	@ $(RM) tmp.c tmp.i $%	cp $< tmp.c	/lib/cpp -P -DBOOTBLOCK -DLOCORE $(CPPOPTS) $(BOOTOPT) -DLOAD=0x$(LOAD) tmp.c > tmp.s	$(AS) -P -Q  tmp.s -o $%	@ $(AR) $(ARFLAGS) $(LIB) $%	@ $(RM) tmp.c tmp.i tmp.s $%# Standalone start-off.SRTOPT=			  -DLOCORE -DLOAD=0x$(LOAD)srt0xx.o:=	SRTOPT += -DBOOTBLOCKsrt0.o srt0xx.o: $(ARCHDIR)/srt0.S	cc -c $(CFLAGS) $(SRTOPT) $(BOOTOPT) -o $@ $(ARCHDIR)/srt0.Sinstall_mdec:	install bootopen $(BOOTBLKDIR)/rawboot	$(RM) $(BOOTBLKDIR)/bootsd $(BOOTBLKDIR)/bootfd	ln $(BOOTBLKDIR)/rawboot $(BOOTBLKDIR)/bootsd	ln $(BOOTBLKDIR)/rawboot $(BOOTBLKDIR)/bootfd	# HACK - see bugid 1041421	echo "DUMMY sun4c tpboot file to get around suninstall bug in 4.1" > $(STANDDIR)/tpboot.sun4c	echo "tpboot is now OBSOLETE for sun4c, but 4.1 suninstall expects it" >> $(STANDDIR)/tpboot.sun4c	chmod 644 $(STANDDIR)/tpboot.sun4c

⌨️ 快捷键说明

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