📄 makefile.news3400
字号:
# @(#)Makefile.news3400 8.1 (Berkeley) 6/10/93# Makefile for 4.4 BSD## This makefile is constructed from a machine description:# config machineid# Most changes should be made in the machine description# /sys/vax/conf/``machineid''# after which you should do# config machineid# Machine generic makefile changes should be made in# /sys/conf/Makefile.``machinetype''# after which config should be rerun for all machines of that type.## N.B.: NO DEPENDENCIES ON FOLLOWING FLAGS ARE VISIBLE TO MAKEFILE# IF YOU CHANGE THE DEFINITION OF ANY OF THESE RECOMPILE EVERYTHING## -DTRACE compile in kernel tracing hooks# -DQUOTA compile in file system quotas# -DUUDMA compile in unibus tu58 pseudo-dma code#CC= gcc -traditional-cpp -fno-builtin -nostdincAS= cc2.11 -ILD= /usr/local/gnu/lib/gcc-lib/mips-sony-bsd/2.3.3/ldS= ../..NEWS3400= $S/news3400INCLUDES= -I. -I$SCOPTS= ${INCLUDES} ${IDENT} -Unews3800 -Unews3700 -Dmips -DKERNELCFLAGS= ${COPTS}AHEADS=INLINECMD= ${NEWS3400}/inline/obj/inlineINLINE= ${INLINECMD} ${INLINEOPTS}# compile rules: rules are named ${TYPE}_${SUFFIX}${CONFIG_DEP}# where TYPE is NORMAL, DRIVER, or PROFILE}; SUFFIX is the file suffix,# capitalized (e.g. C for a .c file), and CONFIG_DEP is _C if the file# is marked as config-dependent.NORMAL_C= ${CC} -c ${CFLAGS} ${PROF} $<NORMAL_C_C= ${CC} -c ${CFLAGS} ${PROF} ${PARAM} $<DRIVER_C= ${CC} -c ${COPTS} ${PROF} $<DRIVER_C_C= ${CC} -c ${COPTS} ${PROF} ${PARAM} $<NORMAL_S= ${AS} -c ${COPTS} $<NORMAL_S_C= ${AS} -c ${COPTS} ${PARAM} $<%OBJS%CFILES# load lines for config "xxx" will be emitted as:# xxx: ${SYSTEM_DEP} swapxxx.o# ${SYSTEM_LD_HEAD}# ${SYSTEM_LD} swapxxx.o# ${SYSTEM_LD_TAIL}SYSTEM_OBJ= locore.o ${OBJS} param.o ioconf.o vnode_if.oSYSTEM_DEP= Makefile ${SYSTEM_OBJ}SYSTEM_LD_HEAD= rm -f $@SYSTEM_LD= @echo loading vmunix; \ ${LD} -N -o $@ -e start -T 80001000 ${SYSTEM_OBJ} vers.o ../../libkern/obj/libkern.aSYSTEM_LD_TAIL= @echo done%LOADnewvers vers.c: sh $S/conf/newvers.sh ${CC} $(CFLAGS) -c vers.cclean: rm -f eddep *vmunix tags *.o locore.i [a-tv-z]*.s assym.h \ vnode_if.c vnode_if.h \ Errs errs linterrs makelinkslint: /tmp param.c @lint -hbxn -DGENERIC ${COPTS} ${PARAM} \ ${NEWS3400}/news3400/Locore.c ${CFILES} ioconf.c param.c | \ grep -v 'struct/union .* never defined' | \ grep -v 'possible pointer alignment problem'${INLINECMD}: cd ${NEWS3400}/inline; makelocore.o: assym.h ${AHEADS} ${NEWS3400}/news3400/locore.slocore.o: ../../sys/errno.hlocore.o: ../../sys/syscall.hlocore.o: ../../sys/cdefs.hlocore.o: ../../sys/cdefs.hlocore.o: ${NEWS3400}/include/param.hlocore.o: ${NEWS3400}/include/vmparam.hlocore.o: ${NEWS3400}/include/psl.hlocore.o: ${NEWS3400}/include/machConst.hlocore.o: ${NEWS3400}/include/reg.hlocore.o: ${NEWS3400}/include/machAsmDefs.hlocore.o: ${NEWS3400}/include/regdef.hlocore.o: ${NEWS3400}/include/pte.hlocore.o: ${NEWS3400}/include/endian.hlocore.o: ${NEWS3400}/include/adrsmap.h ${AS} -c -DLOCORE ${COPTS} ${PARAM} ${NEWS3400}/news3400/locore.s# the following is necessary because autoconf.o depends on #if GENERICautoconf.o tu.o: Makefile# the following are necessary because the files depend on the types of# vax cpu's included in the system configurationclock.o machdep.o autoconf.o conf.o cons.o cpudata.o : Makefile# depend on network configurationaf.o uipc_proto.o uipc_domain.o locore.o: Makefile# depends on kdb being configuredtrap.o: Makefileassym.h: genassym ./genassym >assym.hgenassym: ${CC} ${INCLUDES} ${IDENT} ${PARAM} -o genassym \ ${NEWS3400}/news3400/genassym.cdepend: assym.h param.c vnode_if.h mkdep ${COPTS} ${CFILES} ioconf.c mkdep -a -p ${INCLUDES} ${IDENT} ${PARAM} \ ${NEWS3400}/news3400/genassym.clinks: egrep '#if' ${CFILES} | sed -f $S/conf/defines | \ sed -e 's/:.*//' -e 's/\.c/.o/' | sort -u > dontlink echo ${CFILES} | tr -s ' ' '\12' | sed 's/\.c/.o/' | \ sort -u | comm -23 - dontlink | \ sed 's,../.*/\(.*.o\),rm -f \1;ln -s ../GENERIC/\1 \1,' > makelinks echo 'rm -f udiv.o;ln -s ../GENERIC/udiv.o udiv.o' >> makelinks echo 'rm -f urem.o;ln -s ../GENERIC/urem.o urem.o' >> makelinks sh makelinks && rm -f dontlinktags: @echo "see $S/kern/Makefile for tags"ioconf.o: ${CC} -c ${COPTS} ioconf.cparam.c: $S/conf/param.c rm -f param.c cp $S/conf/param.c .param.o: param.c Makefile ${CC} -c ${CFLAGS} ${PARAM} param.cvnode_if.c: $S/kern/vnode_if.sh $S/kern/vnode_if.src sh $S/kern/vnode_if.sh $S/kern/vnode_if.srcvnode_if.h: $S/kern/vnode_if.sh $S/kern/vnode_if.src sh $S/kern/vnode_if.sh $S/kern/vnode_if.src%RULES
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -