From 8a51eeafee7b2251ec6b070d1c995486b2c2fe54 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 23 May 1997 19:30:41 +0000 Subject: [PATCH] * doc/as.texinfo: Updated for -MD option. * Makefile.in (CFILES): Added depend.c. (OBJS): Added depend.o. * as.h (start_dependencies, register_dependency, print_dependencies): New declarations. * depend.c: New file. * as.c (parse_args): Added -MD option. (main): Call print_dependencies. (show_usage): Added help for -MD. * read.c (s_app_file): Call register_dependency. (s_include): Call register_dependency when file is found. (read_a_source_file): Call register_dependency. --- gas/ChangeLog | 15 +++++++++++++++ gas/Makefile.in | 2 ++ gas/doc/as.texinfo | 19 ++++++++++++++++++- 3 files changed, 35 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 30a9ad46899..adad7c01932 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,18 @@ +Fri May 23 00:09:35 1997 Tom Tromey + + * doc/as.texinfo: Updated for -MD option. + * Makefile.in (CFILES): Added depend.c. + (OBJS): Added depend.o. + * as.h (start_dependencies, register_dependency, + print_dependencies): New declarations. + * depend.c: New file. + * as.c (parse_args): Added -MD option. + (main): Call print_dependencies. + (show_usage): Added help for -MD. + * read.c (s_app_file): Call register_dependency. + (s_include): Call register_dependency when file is found. + (read_a_source_file): Call register_dependency. + Wed May 21 17:39:28 1997 Ian Lance Taylor * config/obj-coff.c (symbol_to_chars): If TE_PE, don't add the diff --git a/gas/Makefile.in b/gas/Makefile.in index 3f48a6ba45b..729c2f07ba1 100644 --- a/gas/Makefile.in +++ b/gas/Makefile.in @@ -220,6 +220,7 @@ CFILES = \ atof-generic.c \ bignum-copy.c \ cond.c \ + depend.c \ ecoff.c \ expr.c \ flonum-copy.c \ @@ -400,6 +401,7 @@ OBJS = \ atof-generic.o \ bignum-copy.o \ cond.o \ + depend.o \ expr.o \ flonum-konst.o \ flonum-copy.o \ diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo index 739ffc81cf6..2866451c201 100644 --- a/gas/doc/as.texinfo +++ b/gas/doc/as.texinfo @@ -875,6 +875,7 @@ assembler.) * L:: -L to retain local labels * M:: -M or --mri to assemble in MRI compatibility mode +* MD:: --MD for dependency tracking * o:: -o to name the object file * R:: -R to join data and text sections * statistics:: --statistics to see statistics about assembly @@ -1146,6 +1147,21 @@ The i960 @code{.setreal} pseudo-op is not supported. @end itemize +@node MD +@section Dependency tracking: @code{--MD} + +@kindex --MD +@cindex dependency tracking +@cindex make rules + +@code{@value{AS}} can generate a dependency file for the file it creates. This +file consists of a single rule suitable for @code{make} describing the +dependencies of the main source file. + +The rule is written to the file named in its argument. + +This feature is used in the automatic updating of makefiles. + @node o @section Name the Object File: @code{-o} @@ -5052,7 +5068,8 @@ Jeff Law at the University of Utah (HPPA mainly), Michael Meissner of the Open Software Foundation (i386 mainly), and Ken Raeburn of Cygnus Support (sparc, and some initial 64-bit support). -Richard Henderson rewrote the Alpha assembler. +Richard Henderson rewrote the Alpha assembler. Klaus Kaempf wrote GAS and BFD +support for openVMS/Alpha. Several engineers at Cygnus Support have also provided many small bug fixes and configuration enhancements. -- 2.30.2