This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: a few more changes


Andreas Jaeger <aj@arthur.rhein-neckar.de> writes:

|> $ cat sysd-dirs 
|> define sysdep-subdirs
|> inet
|> resolv
|> hesiod
|> sunrpc
|> nis
|> nscd
|> streams
|> login
|> endef

Thanks for the tip.  This is untested, but should work anyway.

Andreas.


Fri Jul 10 12:23:35 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* Makerules ($(common-objpfx)sysd-versions): Force regeneration if
	$(+sysdep_dirs) changed.

--- libc/Makerules.~1~	Fri Jul 10 12:16:04 1998
+++ libc/Makerules	Fri Jul 10 12:24:57 1998
@@ -283,12 +283,14 @@
 generated += $(version-maps)
 
 ifndef avoid-generated
+# We must force regeneration if $(+sysdep_dirs) has changed.
 $(common-objpfx)sysd-versions: $(..)Versions.def $(..)scripts/versions.awk \
 			       $(wildcard $(all-subdirs:%=$(..)%/Versions)) \
-			       $(wildcard $(+sysdep_dirs:%=%/Versions))
+			       $(wildcard $(+sysdep_dirs:%=%/Versions)) \
+			       $(sysd-rules-force)
 	$(AWK) -v buildroot=$(common-objpfx) -v defsfile=$< \
 	       -v move_if_change='$(move-if-change)' \
-	       -f $(filter-out $<,$^) > $@T
+	       -f $(filter-out $< $(sysd-rules-force),$^) > $@T
 	mv -f $@T $@
 endif
 endif

-- 
Andreas Schwab                                      "And now for something
schwab@issan.informatik.uni-dortmund.de              completely different"
schwab@gnu.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]