X-Git-Url: https://sourceware.org/git/?a=blobdiff_plain;f=Makefile;h=a261be265b6d0c6efc84840fb34b3f2f2fda88d4;hb=b9fe739323dbf98b75fe7e6cc90e8d84de7db21d;hp=0358a6c7c55cddac3b8c7299e2ca26d97e8cb63f;hpb=6e3d59bc0581399e0d8218f7b7fb10961735a82b;p=glibc.git diff --git a/Makefile b/Makefile index 0358a6c7c5..a261be265b 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# Copyright (C) 1991-1999, 2000, 2001, 2002 Free Software Foundation, Inc. +# Copyright (C) 1991-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 @@ -61,7 +61,7 @@ endif # $(AUTOCONF) = no +subdir_targets := subdir_lib objects objs others subdir_mostlyclean \ subdir_clean subdir_distclean subdir_realclean \ tests xtests subdir_lint.out \ - subdir_distinfo \ + subdir_update-abi subdir_check-abi subdir_distinfo \ subdir_echo-headers subdir_echo-distinfo \ subdir_install \ subdir_testclean \ @@ -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 @@ -272,14 +289,22 @@ distribute := README README.libm INSTALL FAQ FAQ.in NOTES NEWS BUGS \ rpm/template rpm/rpmrc glibcbug.in abi-tags stub-tag.h \ test-skeleton.c include/des.h include/libc-internal.h \ include/shlib-compat.h include/pthread.h Versions.def \ - cppflags-iterator.mk INTERFACE CONFORMANCE NAMESPACE \ - LICENSES \ + cppflags-iterator.mk tls.make.c \ + include/stubs-prologue.h include/gnu/stubs.h \ + include/atomic.h bits/atomic.h \ + INTERFACE CONFORMANCE NAMESPACE LICENSES \ $(addprefix scripts/, \ rellns-sh config.sub config.guess \ mkinstalldirs move-if-change install-sh \ test-installation.pl gen-FAQ.pl versions.awk\ gen-sorted.awk abi-versions.awk abilist.awk \ - firstversions.awk documented.sh cpp) + firstversions.awk documented.sh cpp \ + output-format.sed gen-as-const.awk \ + merge-abilist.awk extract-abilist.awk \ + rpm2dynsym.sh \ + ) \ + $(wildcard scripts/data/*.data) \ + $(wildcard abilist/*.abilist) distribute := $(strip $(distribute)) generated := $(generated) stubs.h @@ -315,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