Remove ldgld.c, ldgld68k.c, ldm88k.c, since these are
[deliverable/binutils-gdb.git] / Makefile.in
index ae5e1c145969fe4050db93808b433323548239d1..e6535acf21ce4b0cd292665aea4e1b0480605f7f 100644 (file)
@@ -16,7 +16,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #
-# Last Mod Tue Nov 5 23:28:51 PST 1991, by rich@cygnus.com
+# Last Mod Wed Nov 13 23:26:23 PST 1991, by rich@cygnus.com
 #
 # $Id$
 
@@ -32,14 +32,23 @@ AR = ar
 AR_FLAGS = cq
 
 BISON = `if [ -d $(unsubdir)/../bison ] ; \
-       then echo \`pwd\`/$(unsubdir)/../bison$(subdir)/bison -L \`pwd\`/$(unsubdir)/../bison$(subdir)/ ; \
+       then echo \`pwd\`/$(unsubdir)/../bison$(subdir)/bison -y -L \`pwd\`/$(unsubdir)/../bison$(subdir)/ ; \
        else echo yacc ; fi`
 
+MAKEINFO = `if [ -d $(unsubdir)/../texinfo/C ] ; \
+       then echo \`pwd\`/$(unsubdir)/../texinfo/C$(subdir)/makeinfo ; \
+       else echo echo ; fi`
+
 #\`(cd $(srcdir)/bison ; \\`pwd\\`)\`
 SUBDIRS = libiberty readline bfd gdb binutils ld gas gcc gnulib clib
 OTHERS = 
 
 ALL = all.normal
+INSTALL_HEADERS = install-headers
+INSTALL_FIXED_INCLUDES = install-fixed-includes
+
+### for debugging
+#GCCVERBOSE=-v
 
 #### host and target specific makefile fragments come in here.
 ###
@@ -61,7 +70,9 @@ subdir_do: force
                        if (cd $(unsubdir)/$$i$(subdir); \
                                $(MAKE) \
                                        "against=$(against)" \
-                                       "BISON=$(BISON)" $(DO)) ; then true ; \
+                                       "BISON=$(BISON)" \
+                                       "MAKEINFO=$(MAKEINFO)" \
+                                       $(DO)) ; then true ; \
                                else exit 1 ; fi ; \
                else if [ -d $(unsubdir)/$$i ] ; then \
                        if (cd $(unsubdir)/$$i$(subdir); \
@@ -73,7 +84,9 @@ subdir_do: force
                                        "RANLIB=$(RANLIB)" \
                                        "LOADLIBES=$(LOADLIBES)" \
                                        "LDFLAGS=$(LDFLAGS)" \
-                                       "BISON=$(BISON)" $(DO)) ; then true ; \
+                                       "BISON=$(BISON)" \
+                                       "MAKEINFO=$(MAKEINFO)" \
+                                       $(DO)) ; then true ; \
                        else exit 1 ; fi ; \
                else true ; fi ; \
        fi ; \
@@ -103,11 +116,12 @@ pass:
        cp $(srcdir)/gcc/gstdarg.h $(unsubdir)/gas$(subdir)/stdarg.h
        $(MAKE) subdir_do DO=all "DODIRS=$(SUBDIRS)" \
                "CC=`pwd`/$(unsubdir)/gcc$(subdir)/$(stagepass)/gcc \
-               -O \
+               -O $(GCCVERBOSE) \
                -B`pwd`/$(unsubdir)/gcc$(subdir)/$(stagepass)/ \
                -B`pwd`/$(unsubdir)/gas$(subdir)/$(stagepass)/ \
                -B`pwd`/$(unsubdir)/ld$(subdir)/$(stagepass)/" \
-               "AR=`pwd`/$(unsubdir)/binutil$(subdir)/$(stagepass)/ar" \
+               "AR=`pwd`/$(unsubdir)/binutils$(subdir)/$(stagepass)/ar" \
+               "LD=`pwd`/$(unsubdir)/gcc$(subdir)/$(stagepass)/gcc $(GCCVERBOSE)" \
                "RANLIB=`pwd`/$(unsubdir)/binutils$(subdir)/$(stagepass)/ranlib" \
                "LOADLIBES=`pwd`/$(unsubdir)/gnulib$(subdir)/$(stagepass)/gnulib.a /lib/libc.a" \
                "LDFLAGS=-nostdlib /lib/crt0.o \
@@ -140,34 +154,36 @@ clean:
        rm -rf *.a TEMP errs core *.o *~ \#* TAGS *.E
        $(MAKE) subdir_do DO=clean "DODIRS=$(SUBDIRS) $(OTHERS)"
 
-install: install-dirs install-fixed-includes
+install: install-no-fixincludes $(INSTALL_FIXED_INCLUDES)
+
+install-no-fixincludes: install-dirs $(INSTALL_HEADERS)
        $(MAKE) subdir_do DO=install "DODIRS=$(SUBDIRS) $(OTHERS)"
 
 # 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= \
+       $(ddestdir) \
+       $(ddestdir)/bin \
+       $(ddestdir)/include \
+       $(ddestdir)/lib \
+       $(ddestdir)/lib/emacs \
+       $(idestdir) \
+       $(idestdir)/lib \
+       $(idestdir)/info \
+       $(idestdir)/doc \
+       $(idestdir)/man \
+       $(idestdir)/man/man1 \
+       $(idestdir)/man/man5
+
 install-dirs: force
-       - mkdir $(ddestdir)
-       - mkdir $(ddestdir)/include
-       - mkdir $(ddestdir)/lib
-       - mkdir $(ddestdir)/lib/emacs
-       - mkdir $(ddestdir)/bin
-       - mkdir $(ddestdir)/lib
-       - mkdir $(ddestdir)
-       - mkdir $(ddestdir)/bin
-       - mkdir $(ddestdir)/lib
-       - mkdir $(idestdir)
-       - mkdir $(idestdir)include
-       - mkdir $(idestdir)/doc
-       - mkdir $(idestdir)/man
-       - mkdir $(idestdir)/man/man1
-       - mkdir $(idestdir)/man/man2
-       - mkdir $(idestdir)/man/man3
-       - mkdir $(idestdir)/man/man4
-       - mkdir $(idestdir)/man/man5
-       - mkdir $(idestdir)/man/man6
-       - mkdir $(idestdir)/man/man7
-       - mkdir $(idestdir)/man/man8
+       for i in $(MAKEDIRS) ; do \
+               echo Making $$i... ; \
+               if [ -d $$i ] ; then true ; else mkdir $$i ; fi ; \
+       done
+
+install-headers:
        if [ -d $(unsubdir)/gcc$(subdir) ] ; then \
                (cd  $(unsubdir)/gcc$(subdir) ; \
                                $(MAKE) install-dir) ; \
@@ -181,6 +197,18 @@ install-fixed-includes: force
        else true; \
        fi
 
+dir.info: force
+       gen-info-dir . > dir.info.new
+       mv -f dir.info.new dir.info
+
+generate-dir: force
+       - rm -f menus
+       for i in `find . -name \*.info -print` ; do \
+               echo Frobbing $$i... ; \
+               sed -e '1,/START-INFO-DIR-ENTRY/d' \
+                       -e '/END-INFO-DIR-ENTRY/,$$d' $$i >> menus ; \
+       done
+
 etags tags: TAGS
 
 TAGS: FORCE
@@ -247,4 +275,6 @@ make-gdb.tar.Z: $(DEVO_SUPPORT) $(GDB_SUPPORT_DIRS) gdb texinfo/fsf/texinfo.tex
 
 force_update:
 
+nothing:
+
 # end of Makefile.in
This page took 0.024061 seconds and 4 git commands to generate.