Wed May 29 12:53:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
authorroland <roland>
Wed, 29 May 1996 17:48:37 +0000 (17:48 +0000)
committerroland <roland>
Wed, 29 May 1996 17:48:37 +0000 (17:48 +0000)
* Makerules (distinfo-vars): Write extra-libs and *-routines for each
of its elts.
* MakeTAGS (sources): Add those sources.
* MakeTAGS (all-sources): Add $(others:=.c) and $(tests:=.c).

MakeTAGS

index 3915fd3..7e95c26 100644 (file)
--- a/MakeTAGS
+++ b/MakeTAGS
@@ -77,10 +77,12 @@ sources += $(filter %.c %.s %.S,$(all-dist))
 headers += $(filter %.h,$(all-dist))
 all-dist := $(filter-out %.h %.c %.s %.S,$(all-dist))
 
+sources += $(foreach lib,$(extra-libs),$($(lib)-routines:=.c))
+
 # All different versions of $(sources), preserving the configured sysdep
 # directory order.
-all-sources = $(wildcard $(sort $(sources) $(sources:.c=.S) \
-                               $(sources:.c=.s))) \
+all-sources = $(wildcard $(sort $(sources) $(sources:.c=.S) $(sources:.c=.s) \
+                               $(others:=.c) $(tests:=.c))) \
              $(foreach dir,$(all-dirs),\
                        $(wildcard \
                           $(addprefix $(dir)/,\