2000-08-15 Dave Brolley <brolley@redhat.com>
[deliverable/binutils-gdb.git] / sim / common / Makefile.in
index dd7c5e0e9ec9b97074802baf42270b8489c33f6e..d021566ea7c0fd9469382d031204ea120fd3b8ba 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 ; \
@@ -103,8 +100,8 @@ tags etags: TAGS
 # And the sim-n-foo.h files create functions that can't be found either.
 TAGS: force
        cd $(srcdir) && \
-       etags --regex '/^\([a-z_]+\) (/\1/' --regex '/^\/[*] TAGS: .*/' \
-               *.[ch]
+       etags --regex '/^\([a-z_]+\) (/\1/' --regex '/^.*\/[*] TAGS: .*/' \
+               *.c *.h
 
 clean:
        rm -f *.[oa] *~ core
@@ -113,13 +110,13 @@ clean:
 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)'`; \
This page took 0.02375 seconds and 4 git commands to generate.