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

📄 makefile

📁 早期freebsd实现
💻
📖 第 1 页 / 共 5 页
字号:
# Update the "alldeps.mak" file in a source directory.update-alldeps: force_update	../configure none -norecursion	rm -f alldeps.mak	$(MAKE) $(MFLAGS) alldeps.mak# Update the "depend" and "alldeps.mak" files in a source directory.# We update alldeps.mak first, since it is used to generate the list# of files to be checked for dependencies.update-depend: update-alldeps force_update	../configure none -norecursion	rm -f depend	$(MAKE) $(MFLAGS) depend# Set up the GDB source directory for distribution, by building all files that# are products of other files.setup-to-dist: update-depend force_update	../configure none	(cd doc; $(MAKE) $(MFLAGS) gdbVN.m4)	$(MAKE) $(MFLAGS) gdb.info	$(MAKE) $(MFLAGS) refcard.ps# Build a tar file from a proto-gdb.dir.gdb-$(VERSION).tar.Z: force_update	rm -f gdb.tar gdb-$(VERSION).tar.Z	$(MAKE) $(MFLAGS) -f Makefile    make-proto-gdb-1	ln -s proto-gdb.dir $(DIST)	tar chf - $(DIST) | compress >gdb-$(VERSION).tar.Z	rm -rf $(DIST) proto-gdb.dir# Build a proto-gdb.dir after GDB has been set up for distribution.# This stuff must be run in `Makefile', not `Makefile.in`; we use the makefile# built in the setup-to-dist process, since it defines things like ALLCONFIG# and ALLDEPFILES, that we need.make-proto-gdb-1: ${TARFILES} ${TARDIRS} gdb.info	rm -rf proto-gdb.dir	mkdir proto-gdb.dir	cd proto-gdb.dir ; for i in ${TARFILES} ; do ln -s ../$$i . ; done	cd proto-gdb.dir ; ln -s ../${INFOFILES} .	cd proto-gdb.dir ; for i in ${TARDIRS}; do \	  mkdir $$i; cd $$i; \	  ln -s ../../$$i/* .; \	  rm -rf SCCS CVS.adm RCS config.status; \	  if test -f Makefile.in; then rm Makefile; else true; fi; done	mkdir proto-gdb.dir/config	cd proto-gdb.dir/config ; \	  for i in $(ALLCONFIG) ; do ln -s ../../$$i ../$$i ; done	mkdir proto-gdb.dir/vx-share proto-gdb.dir/nindy-share	cd proto-gdb.dir/config ; \	  for i in $(SFILES_SUBDIR) $(NONSRC_SUBDIR) $(ALLDEPFILES_SUBDIR); \	    do ln -s ../../$$i ../$$i ; done	chmod og=u `find . -print`clean:	rm -f *.o ${ADD_FILES} *~	rm -f init.c version.c	rm -f gdb core gdb.tar gdb.tar.Z make.log	rm -f gdb[0-9]	rm -f xgdb.o xgdb	@$(MAKE) subdir_do DO=clean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)distclean: clean c-exp.tab.c m2-exp.tab.c TAGS	rm -f tm.h xm.h config.status	rm -f y.output yacc.acts yacc.tmp	rm -f ${TESTS} Makefile depend	@$(MAKE) subdir_do DO=distclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)realclean: clean	rm -f c-exp.tab.c m2-exp.tab.c TAGS	rm -f tm.h xm.h config.status	rm -f Makefile depend	@$(MAKE) subdir_do DO=realclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)STAGESTUFF=${OBS} ${TSOBS} ${NTSOBS} ${ADD_FILES} init.c init.o version.c gdbsubdir_do: force	@for i in $(DODIRS); do \		if [ -d ./$$i ] ; then \			if (cd ./$$i; \				$(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \			else exit 1 ; fi ; \		else true ; fi ; \	doneMakefile: $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag)	$(SHELL) ./config.statusforce:# Documentation!# GDB QUICK REFERENCE (TeX dvi file, CM fonts)refcard.dvi: $(srcdir)/doc/refcard.tex	( cd ./doc; $(MAKE) refcard.dvi $(FLAGS_TO_PASS) )	mv ./doc/refcard.dvi .# GDB QUICK REFERENCE (PostScript output, common PS fonts)refcard.ps: $(srcdir)/doc/refcard.tex	( cd ./doc; $(MAKE) refcard.ps $(FLAGS_TO_PASS) )	mv ./doc/refcard.ps .# GDB MANUAL: TeX dvi filegdb.dvi: ./doc/gdb-all.texi	( cd ./doc; $(MAKE) M4=$(M4) gdb.dvi $(FLAGS_TO_PASS) )	mv ./doc/gdb.dvi .# GDB MANUAL: info filegdb.info: ./doc/gdb-all.texi	( cd ./doc; $(MAKE) M4=$(M4) gdb.info $(FLAGS_TO_PASS) )	mv ./doc/gdb.info* ../doc/gdb-all.texi:	(cd ./doc; $(MAKE) M4=$(M4) gdb-all.texi $(FLAGS_TO_PASS) )# Make copying.c from COPYINGcopying.c: ${srcdir}/COPYING ${srcdir}/copying.awk	awk -f ${srcdir}/copying.awk < ${srcdir}/COPYING > copying.cversion.c: Makefile	echo 'char *version = "$(VERSION)";' >version.c# c-exp.tab.c is generated in target dir from c-exp.y if it doesn't exist# in srcdir, then compiled in target dir to c-exp.tab.o.# Remove bogus decls for malloc/realloc/free which conflict with everything# else.c-exp.tab.o: c-exp.tab.cc-exp.tab.c: $(srcdir)/c-exp.y	@echo 'Expect 4 shift/reduce conflicts.'	${YACC} $(srcdir)/c-exp.y	-sed -e '/extern.*malloc/d' \	     -e '/extern.*realloc/d' \	     -e '/extern.*free/d' \	  < y.tab.c > c-exp.tab.c	-rm y.tab.c# m2-exp.tab.c is generated in target dir from m2-exp.y if it doesn't exist# in srcdir, then compiled in target dir to m2-exp.tab.o.m2-exp.tab.o: m2-exp.tab.cm2-exp.tab.c: $(srcdir)/m2-exp.y	${YACC} $(srcdir)/m2-exp.y	-sed -e '/extern.*malloc/d' \	     -e '/extern.*realloc/d' \	     -e '/extern.*free/d' \	  < y.tab.c > m2-exp.tab.c	-rm y.tab.cxgdb.o: defs.h symtab.h frame.hmain.o:	${srcdir}/main.c	${CC} -c ${INTERNAL_CFLAGS} -I${READLINE_DIR} $<# The symbol-file readers have dependencies on BFD header files.dbxread.o: ${srcdir}/dbxread.c	${CC} -c ${INTERNAL_CFLAGS} -I$(BFD_DIR) ${srcdir}/dbxread.ccoffread.o: ${srcdir}/coffread.c	${CC} -c ${INTERNAL_CFLAGS} -I$(BFD_DIR) ${srcdir}/coffread.cmipsread.o: ${srcdir}/mipsread.c	${CC} -c ${INTERNAL_CFLAGS} -I$(BFD_DIR) ${srcdir}/mipsread.celfread.o: ${srcdir}/elfread.c	${CC} -c ${INTERNAL_CFLAGS} -I$(BFD_DIR) ${srcdir}/elfread.cdwarfread.o: ${srcdir}/dwarfread.c	${CC} -c ${INTERNAL_CFLAGS} -I$(BFD_DIR) ${srcdir}/dwarfread.cstabsread.o: ${srcdir}/stabsread.c	${CC} -c ${INTERNAL_CFLAGS} -I$(BFD_DIR) ${srcdir}/stabsread.cxcoffread.o: ${srcdir}/xcoffread.c	${CC} -c ${INTERNAL_CFLAGS} -I$(BFD_DIR) ${srcdir}/xcoffread.cxcoffexec.o: ${srcdir}/xcoffexec.c	${CC} -c ${INTERNAL_CFLAGS} -I$(BFD_DIR) ${srcdir}/xcoffexec.c# Drag in the files that are in another directory.xdr_ld.o: ${srcdir}/vx-share/xdr_ld.c	${CC} -c ${INTERNAL_CFLAGS} ${srcdir}/vx-share/xdr_ld.cxdr_ptrace.o: ${srcdir}/vx-share/xdr_ptrace.c	${CC} -c ${INTERNAL_CFLAGS} ${srcdir}/vx-share/xdr_ptrace.cxdr_rdb.o: ${srcdir}/vx-share/xdr_rdb.c	${CC} -c ${INTERNAL_CFLAGS} ${srcdir}/vx-share/xdr_rdb.cxdr_regs.o: ${srcdir}/vx-share/xdr_regs.c	${CC} -c ${INTERNAL_CFLAGS} ${srcdir}/vx-share/xdr_regs.cnindy.o: ${srcdir}/nindy-share/nindy.c	${CC} -c ${INTERNAL_CFLAGS} -DSTRIP='"$(tooldir)/bin/strip"' \		${srcdir}/nindy-share/nindy.cOnindy.o: ${srcdir}/nindy-share/Onindy.c	${CC} -c ${INTERNAL_CFLAGS} ${srcdir}/nindy-share/Onindy.cttybreak.o: ${srcdir}/nindy-share/ttybreak.c	${CC} -c ${INTERNAL_CFLAGS} ${srcdir}/nindy-share/ttybreak.cttyflush.o: ${srcdir}/nindy-share/ttyflush.c	${CC} -c ${INTERNAL_CFLAGS} ${srcdir}/nindy-share/ttyflush.clint: $(LINTFILES)	$(LINT) $(INCLUDE_CFLAGS) $(LINTFLAGS) $(LINTFILES) \	   `echo ${DEPFILES} | sed 's/\.o /\.c /g'gdb.cxref: $(SFILES)	cxref -I. $(SFILES) >gdb.cxrefforce_update:# GNU Make has an annoying habit of putting *all* the Makefile variables# into the environment, unless you include this target as a circumvention.# Rumor is that this will be fixed (and this target can be removed)# in GNU Make 4.0..NOEXPORT:# This is the end of "Makefile.in".  When built into "Makefile"# by the configure script, two things are added below this point:# 	alldeps.mak -- defintions of all files that are used in#			host- or target-dependent configurations#	depend -- what .o files depend on what .c and .h files,#			for all configurations.# Start of "alldeps.mak" definitionsALLDEPFILES = $(ALLDEPFILES_MAINDIR) $(ALLDEPFILES_SUBDIR)ALLDEPFILES_MAINDIR=\a68v-xdep.c\altos-xdep.c\am29k-pinsn.c\am29k-tdep.c\arm-convert.s\arm-pinsn.c\arm-tdep.c\arm-xdep.c\convex-pinsn.c\convex-tdep.c\convex-xdep.c\coredep.c\corelow.c\exec.c\fork-child.c\go32-nat.c\go32-xdep.c\gould-pinsn.c\gould-xdep.c\h8300-tdep.c\hp300ux-xdep.c\hppa-pinsn.c\hppab-core.c\hppab-nat.c\hppab-tdep.c\hppah-tdep.c\i386-pinsn.c\i386-tdep.c\i386b-nat.c\i386mach-nat.c\i386v-nat.c\i386v4-nat.c\i387-tdep.c\i960-pinsn.c\i960-tdep.c\infptrace.c\inftarg.c\irix4-nat.c\m68k-pinsn.c\m68k-tdep.c\m88k-nat.c\m88k-pinsn.c\m88k-tdep.c\mips-nat.c\mips-pinsn.c\mips-tdep.c\news-xdep.c\nindy-tdep.c\ns32k-pinsn.c\procfs.c\pyr-pinsn.c\pyr-tdep.c\pyr-xdep.c\remote-adapt.c\remote-eb.c\remote-es1800.c\remote-hms.c\remote-mm.c\remote-nindy.c\remote-st2000.c\remote-vx.c\rs6000-nat.c\

⌨️ 快捷键说明

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