# Make the TAGS files.
-# Copyright (C) 1992,1994,1995,1996,1998,2002 Free Software Foundation, Inc.
+# Copyright (C) 1992,1994,1995,1996,1998,2002,2003
+# Free Software Foundation, Inc.
# This file is part of the GNU C Library.
# The GNU C Library is free software; you can redistribute it and/or
include $(..)Makeconfig
+# Pass these to $(MAKE) calls to avoid source generation and such.
+sub-make-vars = generating=t no_deps=t
+
ifndef tags_sources
ifeq ($(subdir),ctype)
# In most cases, we want the C source files to come before
.PHONY: subdir_TAGS $(subdirs:%=%/TAGS)
subdir_TAGS: $(subdirs:%=%/TAGS)
$(subdirs:%=%/TAGS):
- $(MAKE) -C $(@D) no_deps=t $(@F)
+ $(MAKE) -C $(@D) $(sub-make-vars) $(@F)
endif # subdir
\f
endif
$(subdirs:%=$P/%.pot): $P/%.pot: FORCE
- $(MAKE) -C $* no_deps=t ../$@
+ $(MAKE) -C $* $(sub-make-vars) ../$@
FORCE:
endif