📄 makefile
字号:
fiinstall-flex: force @if [ -f ./flex/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./flex; \ $(MAKE) $(FLAGS_TO_PASS) install) ; \ else \ true ; \ fi### gccall-gcc: all-libiberty all-byacc @if [ -f ./gcc/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./gcc; \ $(MAKE) $(FLAGS_TO_PASS) all) ; \ else \ true ; \ ficlean-gcc: force @if [ -f ./gcc/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./gcc; \ $(MAKE) $(FLAGS_TO_PASS) clean) ; \ else \ true ; \ fiinstall-gcc: force @if [ -f ./gcc/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./gcc; \ $(MAKE) $(FLAGS_TO_PASS) install) ; \ else \ true ; \ fi### readlineall-readline: force @if [ -f ./readline/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./readline; \ $(MAKE) $(FLAGS_TO_PASS) all) ; \ else \ true ; \ ficlean-readline: force @if [ -f ./readline/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./readline; \ $(MAKE) $(FLAGS_TO_PASS) clean) ; \ else \ true ; \ fiinstall-readline: force @if [ -f ./readline/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./readline; \ $(MAKE) $(FLAGS_TO_PASS) install) ; \ else \ true ; \ fi### globall-glob: force @if [ -f ./glob/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./glob; \ $(MAKE) $(FLAGS_TO_PASS) all) ; \ else \ true ; \ ficlean-glob: force @if [ -f ./glob/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./glob; \ $(MAKE) $(FLAGS_TO_PASS) clean) ; \ else \ true ; \ fiinstall-glob: force @if [ -f ./glob/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./glob; \ $(MAKE) $(FLAGS_TO_PASS) install) ; \ else \ true ; \ fi### gasall-gas: all-libiberty all-opcodes all-bfd @if [ -f ./gas/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./gas; \ $(MAKE) $(FLAGS_TO_PASS) all) ; \ else \ true ; \ ficlean-gas: force @if [ -f ./gas/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./gas; \ $(MAKE) $(FLAGS_TO_PASS) clean) ; \ else \ true ; \ fiinstall-gas: force @if [ -f ./gas/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./gas; \ $(MAKE) $(FLAGS_TO_PASS) install) ; \ else \ true ; \ fi### gasall-tgas: all-libiberty all-bfd @if [ -f ./tgas/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./tgas; \ $(MAKE) $(FLAGS_TO_PASS) all) ; \ else \ true ; \ fi### ldall-ld: all-libiberty all-bfd all-byacc all-flex @if [ -f ./ld/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./ld; \ $(MAKE) $(FLAGS_TO_PASS) all) ; \ else \ true ; \ ficlean-ld: force @if [ -f ./ld/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./ld; \ $(MAKE) $(FLAGS_TO_PASS) clean) ; \ else \ true ; \ fiinstall-ld: force @if [ -f ./ld/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./ld; \ $(MAKE) $(FLAGS_TO_PASS) install) ; \ else \ true ; \ fi### gdball-gdb: all-bfd all-opcodes all-libiberty all-mmalloc all-readline all-glob all-byacc @if [ -f ./gdb/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./gdb; \ $(MAKE) $(FLAGS_TO_PASS) all) ; \ else \ true ; \ ficlean-gdb: force @if [ -f ./gdb/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./gdb; \ $(MAKE) $(FLAGS_TO_PASS) clean) ; \ else \ true ; \ fiinstall-gdb: force @if [ -f ./gdb/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./gdb; \ $(MAKE) $(FLAGS_TO_PASS) install) ; \ else \ true ; \ fi### makeall-make: all-libiberty @if [ -f ./make/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./make; \ $(MAKE) $(FLAGS_TO_PASS) all) ; \ else \ true ; \ ficlean-make: force @if [ -f ./make/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./make; \ $(MAKE) $(FLAGS_TO_PASS) clean) ; \ else \ true ; \ fiinstall-make: force @if [ -f ./make/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./make; \ $(MAKE) $(FLAGS_TO_PASS) install) ; \ else \ true ; \ fi### diffall-diff: force @if [ -f ./diff/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./diff; \ $(MAKE) $(FLAGS_TO_PASS) all) ; \ else \ true ; \ ficlean-diff: force @if [ -f ./diff/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./diff; \ $(MAKE) $(FLAGS_TO_PASS) clean) ; \ else \ true ; \ fiinstall-diff: force @if [ -f ./diff/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./diff/; \ $(MAKE) $(FLAGS_TO_PASS) install) ; \ else \ true ; \ fi### grepall-grep: force @if [ -f ./grep/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./grep; \ $(MAKE) $(FLAGS_TO_PASS) all) ; \ else \ true ; \ ficlean-grep: force @if [ -f ./grep/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./grep; \ $(MAKE) $(FLAGS_TO_PASS) clean) ; \ else \ true ; \ fiinstall-grep: force @if [ -f ./grep/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./grep; \ $(MAKE) $(FLAGS_TO_PASS) install) ; \ else \ true ; \ fi### rcsall-rcs: force @if [ -f ./rcs/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./rcs; \ $(MAKE) $(FLAGS_TO_PASS) all) ; \ else \ true ; \ ficlean-rcs: force @if [ -f ./rcs/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./rcs; \ $(MAKE) $(FLAGS_TO_PASS) clean) ; \ else \ true ; \ fiinstall-rcs: force @if [ -f ./rcs/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./rcs; \ $(MAKE) $(FLAGS_TO_PASS) install) ; \ else \ true ; \ fi### cvsall-cvs: force @if [ -f ./cvs/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./cvs; \ $(MAKE) $(FLAGS_TO_PASS) all) ; \ else \ true ; \ ficlean-cvs: force @if [ -f ./cvs/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./cvs; \ $(MAKE) $(FLAGS_TO_PASS) clean) ; \ else \ true ; \ fiinstall-cvs: force @if [ -f ./cvs/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./cvs; \ $(MAKE) $(FLAGS_TO_PASS) install) ; \ else \ true ; \ fi### patchall-patch: force @if [ -f ./patch/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./patch; \ $(MAKE) $(FLAGS_TO_PASS) all) ; \ else \ true ; \ ficlean-patch: force @if [ -f ./patch/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./patch; \ $(MAKE) $(FLAGS_TO_PASS) clean) ; \ else \ true ; \ fiinstall-patch: force @if [ -f ./patch/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./patch; \ $(MAKE) $(FLAGS_TO_PASS) \ bindir=$(bindir) \ man1dir=$(man1dir) install) ; \ else \ true ; \ fi### emacsall-emacs: force @if [ -f ./emacs/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./emacs; \ $(MAKE) $(FLAGS_TO_PASS) all) ; \ else \ true ; \ ficlean-emacs: force @if [ -f ./emacs/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./emacs; \ $(MAKE) $(FLAGS_TO_PASS) clean) ; \ else \ true ; \ fiinstall-emacs: force @if [ -f ./emacs/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./emacs; \ $(MAKE) $(FLAGS_TO_PASS) install) ; \ else \ true ; \ fi### ispellall-ispell: all-emacs @if [ -f ./ispell/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./ispell; \ $(MAKE) $(FLAGS_TO_PASS) all) ; \ else \ true ; \ ficlean-ispell: force @if [ -f ./ispell/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./ispell; \ $(MAKE) $(FLAGS_TO_PASS) clean) ; \ else \ true ; \ fiinstall-ispell: force @if [ -f ./ispell/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./ispell; \ $(MAKE) $(FLAGS_TO_PASS) install) ; \ else \ true ; \ fi### send_prall-send_pr: force @if [ -f ./send_pr/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./send_pr; \ $(MAKE) $(FLAGS_TO_PASS) all) ; \ else \ true ; \ ficlean-send_pr: force @if [ -f ./send_pr/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./send_pr; \ $(MAKE) $(FLAGS_TO_PASS) clean) ; \ else \ true ; \ fiinstall-send_pr: force @if [ -f ./send_pr/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./send_pr; \ $(MAKE) $(FLAGS_TO_PASS) install) ; \ else \ true ; \ fi### libmall-libm: force @if [ -f ./libm/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./libm; \ $(MAKE) $(FLAGS_TO_PASS) all) ; \ else \ true ; \ ficlean-libm: force @if [ -f ./libm/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./libm; \ $(MAKE) $(FLAGS_TO_PASS) clean) ; \ else \ true ; \ fiinstall-libm: force @if [ -f ./libm/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./libm; \ $(MAKE) $(FLAGS_TO_PASS) install) ; \ else \ true ; \ fi### libg++all-libg++: all-gas all-ld all-gcc @if [ -f ./libg++/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ srcroot=`cd $(srcdir); pwd` ; export srcroot ; \ (cd ./libg++; \ $(MAKE) $(TARGET_FLAGS_TO_PASS) all) ; \ else \ true ; \ ficlean-libg++: force @if [ -f ./libg++/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ srcroot=`cd $(srcdir); pwd` ; export srcroot ; \ (cd ./libg++; \ $(MAKE) $(TARGET_FLAGS_TO_PASS) clean) ; \ else \ true ; \ fiinstall-libg++: force @if [ -f ./libg++/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ srcroot=`cd $(srcdir); pwd` ; export srcroot ; \ (cd ./libg++; \ $(MAKE) $(TARGET_FLAGS_TO_PASS) install) ; \ else \ true ; \ fi### other supporting targets# this is a bad hack.all.xclib: all.normal if [ -f clib/Makefile ] ; then \ (cd clib ; $(MAKE) $(FLAGS_TO_PASS)) ; \ fisubdir_do: @for i in $(DODIRS); do \ if [ -f ./$$i/localenv ] || [ -f ./$$i/Makefile ] ; then \ case $$i in \ libg++ | xiberty | newlib) \ if (rootme=`pwd` ; export rootme ; \ srcroot=`cd $(srcdir); pwd` ; export srcroot ; \ cd ./$$i ; \ $(MAKE) $(TARGET_FLAGS_TO_PASS) $(DO)) ; then true ; \ else exit 1 ; fi \ ;; \ *) \ if (rootme=`pwd` ; export rootme ; \ cd ./$$i ; \ $(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \ else exit 1 ; fi \ ;; \ esac ; \ else true ; fi ; \ done# The "else true" stuff is for Ultrix; the shell returns the exit code# of the "if" command, if no commands are run in the "then" or "else" part,# causing Make to quit.MAKEDIRS= \ $(prefix) \ $(exec_prefix) \ $(tooldir)# $(bindir) \# $(libdir) \# $(includedir) \# $(datadir) \# $(docdir) \# $(mandir) \# $(man1dir) \# $(man5dir)# $(man2dir) \# $(man3dir) \# $(man4dir) \# $(man6dir) \# $(man7dir) \# $(man8dir)install-dirs: for i in $(MAKEDIRS) ; do \ echo Making $$i... ; \ parent=`echo $$i|sed -e 's@/[^/]*$$@@'`; \ if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi ; \ if [ ! -d $$i ] ; then \ if mkdir $$i ; then \ true ; \ else \ exit 1 ; \ fi ; \ else \ true ; \ fi ; \ doneMAKEINFODIRS= \ $(prefix)# $(infodir)install-info-dirs: if [ -d $(prefix) ] ; then true ; else mkdir $(prefix) ; fi# if [ -d $(datadir) ] ; then true ; else mkdir $(datadir) ; fi# if [ -d $(infodir) ] ; then true ; else mkdir $(infodir) ; fidir.info: $(srcdir)/texinfo/gen-info-dir $(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new mv -f dir.info.new dir.infoetags tags: TAGSTAGS: etags `$(MAKE) ls`ls: @echo Makefile @for i in $(SUBDIRS); \ do \ (cd $$i; \ pwd=`pwd`; \ wd=`basename $$pwd`; \ for j in `$(MAKE) ls`; \ do \ echo $$wd/$$j; \ done) \ doneforce:# with the gnu make, this is done automatically.Makefile: $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag) $(SHELL) ./config.status## Build GDB distributions that contain BFD, Include, Libiberty, Readline, etcDEVO_SUPPORT= README cfg-paper.texi Makefile.in configure configure.in \ config.sub config configure.man configure.texi move-if-change \ COPYING.LIBGDB_SUPPORT_DIRS= bfd include libiberty mmalloc opcodes readline globGDB_SUPPORT_FILES= $(GDB_SUPPORT_DIRS) texinfo/fsf/texinfo.texsetup-dirs: force_update ./configure sun4 make clean ./configure -rm sun4 chmod og=u `find $(DEVO_SUPPORT) $(GDB_SUPPORT_FILES) -print`gdb.tar.Z: setup-dirs (cd gdb; $(MAKE) -f Makefile.in make-proto-gdb.dir) $(MAKE) $(MFLAGS) -f Makefile.in make-gdb.tar.Zmake-gdb.tar.Z: $(DEVO_SUPPORT) $(GDB_SUPPORT_DIRS) gdb texinfo/fsf/texinfo.tex rm -rf proto-toplev; mkdir proto-toplev ln -s ../gdb/proto-gdb.dir proto-toplev/gdb (cd proto-toplev; for i in $(DEVO_SUPPORT) $(GDB_SUPPORT_DIRS); do \ ln -s ../$$i . ; \ done) # Put only one copy (four hard links) of COPYING in the tar file. rm proto-toplev/bfd/COPYING ln proto-toplev/gdb/COPYING proto-toplev/bfd/COPYING rm proto-toplev/include/COPYING ln proto-toplev/gdb/COPYING proto-toplev/include/COPYING rm proto-toplev/readline/COPYING ln proto-toplev/gdb/COPYING proto-toplev/readline/COPYING # Take out texinfo from configurable dirs rm proto-toplev/configure.in sed '/^configdirs=/s/texinfo //' <configure.in >proto-toplev/configure.in # Take out glob from buildable dirs rm proto-toplev/Makefile.in sed -e '/^SUBDIRS =/s/glob //' \ -e '/^all\.normal: /s/\all-texinfo //' \ -e '/^clean: /s/clean-texinfo //' \ -e '/^install\.all: /s/install-texinfo //' \ <Makefile.in >proto-toplev/Makefile.in mkdir proto-toplev/texinfo mkdir proto-toplev/texinfo/fsf ln -s ../../../texinfo/fsf/texinfo.tex proto-toplev/texinfo/fsf/ chmod og=u `find proto-toplev -print` (VER=`sed <gdb/Makefile.in -n 's/VERSION = //p'`; \ echo "==> Making gdb-$$VER.tar.Z"; \ ln -s proto-toplev gdb-$$VER; \ tar cfh - gdb-$$VER \ | compress -v >gdb-$$VER.tar.Z)force_update:nothing:# end of Makefile.in
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -