]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/common/Makefile.in
This commit was manufactured by cvs2svn to create branch 'csl-
[thirdparty/binutils-gdb.git] / sim / common / Makefile.in
index 6428082d6950e91760b941b9b34697f7f10ccc02..37c185077b69ace5881d98e2b382f84cc621711a 100644 (file)
@@ -71,17 +71,14 @@ MAKEOVERRIDES=
 
 all:
 
-# Generate TARG_VALS_H for newlib/libgloss using devo and build tree.
+# Generate nltvals.def for newlib/libgloss using devo and build tree.
 # This file is shipped with distributions so we build in the source dir.
-# This is built in srcdir so putting dependencies here is risky.
 # Use `make headers' to rebuild.
-headers: nltvals.def
+# Note: If gdb releases begin to contain target header files (not a good idea,
+# but if they did ...), targ-vals.def coud be generated at build time.
+# An alternative is to slurp in the tables at runtime.
 .PHONY: headers
-
-# Note: If gdb releases begin to contain target header files, generate
-# targ-vals.def at build time.
-
-nltvals.def: Makefile gennltvals.sh gentvals.sh
+headers:
        rootme=`pwd` ; \
        cd $(srcdir) ; \
        rm -f nltvals.new ; \
@@ -108,25 +105,24 @@ TAGS: force
 
 clean:
        rm -f *.[oa] *~ core
-       rm -f $(ALL)
 
 distclean mostlyclean maintainer-clean realclean: clean
        rm -f TAGS
        rm -f Makefile config.cache config.log config.status
-       rm -f config.h stamp-h
+       rm -f cconfig.h config.h stamp-h
 
 # Dummy target to force execution of dependent targets.
 force:
 
 # Copy the files into directories where they will be run.
-install:
+install: install-man
 
 install-man: installdirs
        n=`echo run | sed '$(program_transform_name)'`; \
-       $(INSTALL_DATA) $(srcdir)/run.1 $(man1dir)/$$n.1
+       $(INSTALL_DATA) $(srcdir)/run.1 $(DESTDIR)$(man1dir)/$$n.1
 
 installdirs:
-       $(SHELL) $(srcdir)/../../mkinstalldirs $(man1dir)
+       $(SHELL) $(srcdir)/../../mkinstalldirs $(DESTDIR)$(man1dir)
 
 Makefile: Makefile.in config.status
        $(SHELL) ./config.status