2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
+ * Makerules (+depfiles): Also collect depfiles from .oS in
+ $(extra-objs).
+ * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
+ .oS, $(libnldbl-routines)).
+
* Makerules (native-compile-mkdep-flags): Define.
* sunrpc/Makefile (extra-objs): Add $(addprefix
cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
\f
+depfiles := $(sources:.c=.d) \
$(patsubst %.o,%.d,$(filter %.o,$(extra-objs:.os=.o))) \
+ $(patsubst %.oS,%.d,$(filter %.oS,$(extra-objs))) \
$(patsubst %.o,%.d,$(filter %.o,$(extra-test-objs:.os=.o))) \
$(addsuffix .d,$(tests) $(xtests) $(test-srcs))
ifeq ($(build-programs),yes)
libnldbl-routines = $(libnldbl-calls:%=nldbl-%)
libnldbl-inhibit-o = $(object-suffixes)
libnldbl-static-only-routines = $(libnldbl-routines)
+extra-objs += $(addsuffix .oS, $(libnldbl-routines))
endif