📄 makefile.os
字号:
## @(#)Makefile.os 1.1 92/07/30## This file is included by ../$(ARCH)/Makefile# It defines the targets and rules needed to build the common# sources for the boot os library.## The target library is built in ../$(ARCH)# Standalone boot os object filesCMNDIR= ../osCMNOBJ= auth_kern.o authunix_prot.o bdev_vnodeops.o clnt_kudp.o \ common.o devio.o dprint.o heap_kmem.o if.o if_subr.o \ in_pcb.o in_proto.o in.o iob.o inet.o ip_input.o kern_prot.o \ kern_subr.o kudp_fastsend.o nfs_subr.o nfs_vfsops.o \ nfs_vnodeops.o nfs_xdr.o pmap_kgetport.o readfile.o route.o \ standalloc.o subr_kudp.o subr_xxx.o udp_boot.o udp_usrreq.o \ ufs_bmap.o ufs_dir.o ufs_inode.o ufs_machdep.o ufs_subr.o \ ufs_vfsops.o ufs_vnodeops.o uipc_domain.o uipc_mbuf.o \ uipc_socket.o uipc_socket2.o vfs.o vfs_bio.o vfs_conf.o \ vfs_generic.o vfs_lookup.o vfs_pathname.o vfs_sys.o \ vfs_syscalls.o vfs_vnode.o xdr_mbuf.o xdr.o xdr_array.oCMNHDRS= ../boot/cmap.h ../boot/conf.h ../boot/domain.h ../boot/if.h \ ../boot/if_ether.h ../boot/imp.h ../boot/inet.h ../boot/inode.h \ ../boot/iob.h ../boot/nfs.h ../boot/param.h ../boot/protosw.h \ ../boot/seg.h ../boot/systm.h ../boot/vnode.h \ ../lib/stand/ardef.h ../lib/stand/param.h ../lib/stand/sainet.h \ ../lib/stand/saio.h ../sun3/SYS.h.INIT: $(CMNHDRS)# Kernel objects built directly from the system hierarchySYSOBJ= af.o bootparam_xdr.o mountxdr.o pmap_rmt.o rpc_prot.o \ clnt_perror.o pmap_prot.o xdr_mem.o xdr_reference.o # Rules for standalone boot os .c files$$(LIB)(%.o): $(CMNDIR)/%.c $(CC) $(CFLAGS) -DLOAD=0x4000 -c $< @ $(AR) $(ARFLAGS) $(LIB) $% ; $(RM) $%# Rules for kernel .c files$$(LIB)(%.o): $(SYSDIR)/net/%.c $(CC) $(CFLAGS) -c $< @ $(AR) $(ARFLAGS) $(LIB) $% ; $(RM) $%$$(LIB)(%.o): $(SYSDIR)/rpcsvc/%.c $(CC) $(CFLAGS) -c $< @ $(AR) $(ARFLAGS) $(LIB) $% ; $(RM) $%$$(LIB)(%.o): $(SYSDIR)/rpc/%.c $(CC) $(CFLAGS) -c $< @ $(AR) $(ARFLAGS) $(LIB) $% ; $(RM) $%.DEFAULT: sccs get -G$@ $@# DO NOT DELETE THIS LINE -- make depend uses it
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -