X-Git-Url: https://sourceware.org/git/?a=blobdiff_plain;f=Makefile;h=a261be265b6d0c6efc84840fb34b3f2f2fda88d4;hb=b9fe739323dbf98b75fe7e6cc90e8d84de7db21d;hp=1200c37859416553a1bba7807bb21f12e73a46bf;hpb=572d7b385f0229d2f7a9f5768fad6a545686eb9c;p=glibc.git diff --git a/Makefile b/Makefile index 1200c37859..a261be265b 100644 --- a/Makefile +++ b/Makefile @@ -228,6 +228,23 @@ mostlyclean: parent-mostlyclean 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 @@ -286,6 +303,7 @@ distribute := README README.libm INSTALL FAQ FAQ.in NOTES NEWS BUGS \ merge-abilist.awk extract-abilist.awk \ rpm2dynsym.sh \ ) \ + $(wildcard scripts/data/*.data) \ $(wildcard abilist/*.abilist) distribute := $(strip $(distribute)) @@ -322,12 +340,6 @@ rpm/%: subdir_distinfo 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