tests-clean:
@$(MAKE) subdir_testclean no_deps=t
+tests: $(objpfx)c++-types-check.out
+ifneq ($(CXX),no)
+ifneq (,$(wildcard scripts/data/c++-types-$(config-machine)-$(config-os).data))
+$(objpfx)c++-types-check.out: scripts/data/c++-types-$(config-machine)-$(config-os).data
+ scripts/check-c++-types.sh $^ $(CXX) $(filter-out -std=gnu99,$(CFLAGS)) $(CPPFLAGS) > $@
+else
+ifneq (,$(wildcard scripts/data/c++-types-$(base-machine)-$(config-os).data))
+$(objpfx)c++-types-check.out: scripts/data/c++-types-$(base-machine)-$(config-os).data
+ scripts/check-c++-types.sh $^ $(CXX) $(filter-out -std=gnu99,$(CFLAGS)) $(CPPFLAGS) > $@
+else
+$(objpfx)c++-types-check.out:
+ @echo 'WARNING C++ tests not run; create a c++-types-XXX file'
+ @echo "not run" > $@
+endif
+endif
+endif
+
# The realclean target is just like distclean for the parent, but we want
# the subdirs to know the difference in case they care.
realclean distclean: parent-clean
merge-abilist.awk extract-abilist.awk \
rpm2dynsym.sh \
) \
+ $(wildcard scripts/data/*.data) \
$(wildcard abilist/*.abilist)
distribute := $(strip $(distribute))
iconvdata/% localedata/% po/% manual/%:
$(MAKE) $(PARALLELMFLAGS) -C $(@D) $(@F)
-# This is a special goal for people making binary distributions. Normally
-# everybody uses the DES based crypt library but for the distribution we
-# need the only-MD5 based one as well.
-md5-crypt/libmd5crypt:
- $(MAKE) $(PARALLELMFLAGS) -C $(@D) $(@F)
-
# glibc 2.0 contains some header files which aren't used with glibc 2.1
# anymore.
# These rules should remove those headers