makefile.am
来自「基于4个mips核的noc设计」· AM 代码 · 共 1,538 行 · 第 1/5 页
AM
1,538 行
config/obj-hp300.c \ config/obj-ieee.c \ config/obj-som.c \ config/obj-vms.cOBJ_FORMAT_HFILES = \ config/obj-aout.h \ config/obj-bout.h \ config/obj-coff.h \ config/obj-ecoff.h \ config/obj-elf.h \ config/obj-evax.h \ config/obj-hp300.h \ config/obj-ieee.h \ config/obj-som.h \ config/obj-vms.h# Emulation header files in configTARG_ENV_HFILES = \ config/te-386bsd.h \ config/te-aux.h \ config/te-delta.h \ config/te-delt88.h \ config/te-dpx2.h \ config/te-dynix.h \ config/te-epoc-pe.h \ config/te-generic.h \ config/te-go32.h \ config/te-hp300.h \ config/te-hppa.h \ config/te-hppa64.h \ config/te-hppalinux64.h \ config/te-i386aix.h \ config/te-ic960.h \ config/te-linux.h \ config/te-lnews.h \ config/te-lynx.h \ config/te-mach.h \ config/te-macos.h \ config/te-nbsd.h \ config/te-nbsd532.h \ config/te-pc532mach.h \ config/te-pe.h \ config/te-ppcnw.h \ config/te-psos.h \ config/te-riscix.h \ config/te-sparcaout.h \ config/te-sun3.h \ config/te-svr4.h \ config/te-sysv32.h \ config/te-tmips.h# Multi files in configMULTI_CFILES = \ config/e-crisaout.c \ config/e-criself.c \ config/e-i386aout.c \ config/e-i386coff.c \ config/e-i386elf.c \ config/e-mipsecoff.c \ config/e-mipself.cCONFIG_OBJS = \ $(TARG_CPU_O) \ $(OBJ_FORMAT_O) \ $(ATOF_TARG_O) \ $(extra_objects)GENERIC_OBJS = \ app.o \ as.o \ atof-generic.o \ bignum-copy.o \ cond.o \ depend.o \ dwarf2dbg.o \ ehopt.o \ expr.o \ flonum-konst.o \ flonum-copy.o \ flonum-mult.o \ frags.o \ hash.o \ input-file.o \ input-scrub.o \ literal.o \ messages.o \ output-file.o \ read.o \ subsegs.o \ symbols.o \ write.o \ listing.o \ ecoff.o \ stabs.o \ sb.o \ macro.oOBJS = $(CONFIG_OBJS) $(GENERIC_OBJS)POTFILES = $(MULTI_CFILES) $(TARGET_ENV_HFILES) $(OBJ_FORMAT_HFILES) \ $(OBJ_FORMAT_CFILES) $(TARGET_CPU_HFILES) $(TARGET_CPU_CFILES) \ $(HFILES) $(CFILES) $(GAS_CFILES)po/POTFILES.in: @MAINT@ Makefile for file in $(POTFILES); do echo $$file; done | sort > tmp \ && mv tmp $(srcdir)/po/POTFILES.innoinst_PROGRAMS = as-new gasp-newnoinst_SCRIPTS = $(GDBINIT)EXTRA_SCRIPTS = .gdbinit$(srcdir)/make-gas.com: stamp-mk.comstamp-mk.com: vmsconf.sh Makefile sh $(srcdir)/vmsconf.sh $(GENERIC_OBJS) > new-make.com $(SHELL) $(srcdir)/../move-if-change new-make.com $(srcdir)/make-gas.com touch stamp-mk.comEXTRA_DIST = make-gas.comDISTSTUFF = make-gas.com m68k-parse.c itbl-parse.c itbl-parse.h itbl-lex.cdiststuff: $(DISTSTUFF) infoDISTCLEANFILES = targ-cpu.h obj-format.h targ-env.h itbl-cpu.h cgen-desc.h# Now figure out from those variables how to compile and link.BASEDIR = $(srcdir)/..BFDDIR = $(BASEDIR)/bfdINCDIR = $(BASEDIR)/include# This is the variable actually used when we compile.# Specify the directories to be searched for header files.# Both . and srcdir are used, in that order,# so that tm.h and config.h will be found in the compilation# subdirectory rather than in the source directory.INCLUDES = -D_GNU_SOURCE -I. -I$(srcdir) -I../bfd -I$(srcdir)/config -I$(INCDIR) -I$(srcdir)/.. -I$(BFDDIR) -I$(srcdir)/../intl -I../intl -DLOCALEDIR="\"$(prefix)/share/locale\""# This should be parallel to INCLUDES, but should replace $(srcdir)# with $${srcdir}, and should work in a subdirectory. This is used# when building dependencies, because the dependency building is done# in a subdirectory.DEP_INCLUDES = -D_GNU_SOURCE -I.. -I$${srcdir} -I../../bfd -I$${srcdir}/config -I$${srcdir}/../include -I$${srcdir}/.. -I$${srcdir}/../bfd -I$${srcdir}/../intl -I../../intl -DLOCALEDIR="\"$(prefix)/share/locale\""# How to link with both our special library facilities# and the system's installed libraries.GASLIBS = @OPCODES_LIB@ @BFDLIB@ ../libiberty/libiberty.a# Files to be copied away after each stage in building.STAGESTUFF = *.o $(noinst_PROGRAMS)$(OBJS): @ALL_OBJ_DEPS@as_new_SOURCES = $(GAS_CFILES)as_new_LDADD = $(TARG_CPU_O) $(OBJ_FORMAT_O) $(ATOF_TARG_O) \ $(extra_objects) $(GASLIBS) $(INTLLIBS) $(LIBM)as_new_DEPENDENCIES = $(TARG_CPU_O) $(OBJ_FORMAT_O) $(ATOF_TARG_O) \ $(extra_objects) $(GASLIBS) $(INTLDEPS)# Stuff that every object file depends upon. If anything is removed# from this list, remove it from dep-in.sed as well.$(OBJS): $(INCDIR)/bin-bugs.h $(INCDIR)/libiberty.h $(INCDIR)/progress.h \ $(OBJ_FORMAT_H) $(TARG_CPU_H) $(TARG_ENV_H) \ as.h asintl.h bignum.h bit_fix.h config.h emul.h expr.h flonum.h \ frags.h hash.h listing.h obj.h read.h symbols.h tc.h write.hgasp_new_SOURCES = gasp.c macro.c sb.c hash.cgasp_new_LDADD = ../libiberty/libiberty.a $(INTLLIBS)gasp_new_DEPENDENCIES = ../libiberty/libiberty.a $(INTLDEPS)EXPECT = `if [ -f $${rootme}/../expect/expect ] ; then \ echo $${rootme}/../expect/expect ; \ else echo expect ; fi`RUNTEST = `if [ -f $${srcdir}/../dejagnu/runtest ] ; then \ echo $${srcdir}/../dejagnu/runtest ; else echo runtest; \ fi`RUNTESTFLAGS=check-DEJAGNU: site.exp if [ -d testsuite ]; then \ true; \ else \ mkdir testsuite; \ fi rm -f testsuite/site.exp cp site.exp testsuite/site.exp rootme=`pwd`; export rootme; \ srcdir=`cd ${srcdir}; pwd` ; export srcdir ; \ EXPECT=${EXPECT} ; export EXPECT ; \ if [ -f $(top_builddir)/../expect/expect ]; then \ TCL_LIBRARY=`cd $(top_srcdir)/../tcl/library && pwd`; \ export TCL_LIBRARY; \ fi; \ runtest=$(RUNTEST); \ cd testsuite; \ if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \ $$runtest --tool $(DEJATOOL) --srcdir $${srcdir}/testsuite \ $(RUNTESTFLAGS); \ else echo "WARNING: could not find \`runtest'" 1>&2; :;\ fi# The implicit .c.o rule doesn't work for these, perhaps because of# the variables, or perhaps because the sources are not on vpath.$(TARG_CPU_O): $(TARG_CPU_C) $(COMPILE) -c $(TARG_CPU_C)$(ATOF_TARG_O): $(ATOF_TARG_C) $(COMPILE) -c $(ATOF_TARG_C)# ecoff.c only has full dependencies when ECOFF_DEBUGGING is defined,# so the automatic dependency stuff doesn't work.ecoff.o : ecoff.c ecoff.h $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h \ $(INCDIR)/coff/ecoff.h $(INCDIR)/coff/symconst.h \ $(INCDIR)/aout/stab_gnu.h# We need all these explicit rules for the multi stuff. Because of# these rules, we don't need one for OBJ_FORMAT_O.obj-aout.o : $(srcdir)/config/obj-aout.c $(COMPILE) -c $(srcdir)/config/obj-aout.cobj-bout.o : $(srcdir)/config/obj-bout.c $(COMPILE) -c $(srcdir)/config/obj-bout.cobj-coff.o: $(srcdir)/config/obj-coff.c $(COMPILE) -c $(srcdir)/config/obj-coff.cobj-ecoff.o : $(srcdir)/config/obj-ecoff.c $(COMPILE) -c $(srcdir)/config/obj-ecoff.cobj-elf.o : $(srcdir)/config/obj-elf.c $(COMPILE) -c $(srcdir)/config/obj-elf.cobj-evax.o : $(srcdir)/config/obj-evax.c $(COMPILE) -c $(srcdir)/config/obj-evax.cobj-hp300.o : $(srcdir)/config/obj-hp300.c $(COMPILE) -c $(srcdir)/config/obj-hp300.cobj-ieee.o : $(srcdir)/config/obj-ieee.c $(COMPILE) -c $(srcdir)/config/obj-ieee.cobj-multi.o : $(srcdir)/config/obj-multi.c $(COMPILE) -c $(srcdir)/config/obj-multi.cobj-som.o : $(srcdir)/config/obj-som.c $(COMPILE) -c $(srcdir)/config/obj-som.cobj-vms.o : $(srcdir)/config/obj-vms.c $(COMPILE) -c $(srcdir)/config/obj-vms.ce-mipself.o : $(srcdir)/config/e-mipself.c $(COMPILE) -c $(srcdir)/config/e-mipself.ce-mipsecoff.o : $(srcdir)/config/e-mipsecoff.c $(COMPILE) -c $(srcdir)/config/e-mipsecoff.ce-i386aout.o: $(srcdir)/config/e-i386aout.c $(COMPILE) -c $(srcdir)/config/e-i386aout.ce-i386coff.o: $(srcdir)/config/e-i386coff.c $(COMPILE) -c $(srcdir)/config/e-i386coff.ce-i386elf.o: $(srcdir)/config/e-i386elf.c $(COMPILE) -c $(srcdir)/config/e-i386elf.ce-crisaout.o: $(srcdir)/config/e-crisaout.c $(COMPILE) -c $(srcdir)/config/e-crisaout.ce-criself.o: $(srcdir)/config/e-criself.c $(COMPILE) -c $(srcdir)/config/e-criself.c# The m68k operand parser.EXTRA_as_new_SOURCES = config/m68k-parse.y# If m68k-parse.y is in a different directory, then ylwrap will use an# absolute path when it invokes yacc, which will cause yacc to put the# absolute path into the generated file. That's a pain when it comes# to generating snapshots, because it introduces spurious diffs.# Since when we make the snapshots $(srcdir) = ".", we check for that# case and handle it differently. This means that anybody who# configures with $(srcdir) = "." will have to set their path in the# debugger if they want to debug m68k-parse.y. This is bad, but on# the other hand it's good that people who use the prebuilt# m68k-parse.c don't get a spurious absolute path.m68k-parse.c: $(srcdir)/config/m68k-parse.y f=$(srcdir)/config/m68k-parse.y; \ if [ $$f = "./config/m68k-parse.y" ]; then \ ln -s config/m68k-parse.y . > /dev/null 2>/dev/null || \ ln config/m68k-parse.y . > /dev/null 2>/dev/null || \ cp config/m68k-parse.y . >/dev/null 2>/dev/null; \ f=m68k-parse.y; \ else true; fi; \ $(SHELL) $(YLWRAP) "$(YACC)" $$f y.tab.c m68k-parse.c --; \ if [ $$f = "m68k-parse.y" ]; then \ rm -f m68k-parse.y; \ else true; fim68k-parse.o: m68k-parse.c $(srcdir)/config/m68k-parse.h# Don't let the .y.h rule clobber m68k-parse.h.m68k-parse.h: ; @true$(srcdir)/config/m68k-parse.h: ; @true# The instruction table specification lexical analyzer and parser.itbl-lex.c: $(srcdir)/itbl-lex.litbl-lex.o: itbl-lex.c itbl-parse.hitbl-parse.o: itbl-parse.c itbl-parse.h $(srcdir)/itbl-ops.hitbl-ops.o: $(srcdir)/itbl-ops.c $(srcdir)/itbl-ops.h itbl-parse.hitbl-parse.c itbl-parse.h: $(srcdir)/itbl-parse.y $(SHELL) $(YLWRAP) "$(YACC)" $(srcdir)/itbl-parse.y y.tab.c itbl-parse.c y.tab.h itbl-parse.h -- -d# stand-alone itbl assembler & disassemblerEXTRA_PROGRAMS = itbl-testitbl_test_SOURCES = itbl-parse.y itbl-lex.litbl_test_LDADD = itbl-tops.o itbl-test.o $(GASLIBS) @LEXLIB@
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?