about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-09-09 00:07:08 +0000
committerUlrich Drepper <drepper@redhat.com>2003-09-09 00:07:08 +0000
commit806e4a4a010f0c7e008a13e72c50136ee12b187f (patch)
tree9c3ca9da663afd040ada8484cbefe3b3c0ac8f1f /Makefile
parent603368864cb040295387822b6f47bbff73f15e44 (diff)
downloadglibc-806e4a4a010f0c7e008a13e72c50136ee12b187f.tar.gz
glibc-806e4a4a010f0c7e008a13e72c50136ee12b187f.tar.xz
glibc-806e4a4a010f0c7e008a13e72c50136ee12b187f.zip
Update.
2003-09-08  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/generic/bits/types.h (__quad_t): Make long int if 64-bit.
	(__u_quad_t): Make unsigned long int if 64-bit.
	(__SQUAD_TYPE): Make long int if 64-bit.
	(__UQUAD_TYPE): Make unsigned long int if 64-bit.
	* sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Remove.

2003-09-08  Ulrich Drepper  <drepper@redhat.com>

	* Makefile (tests): Run check-c++-types.sh if possible.
	* scripts/check-c++-types.h: New file.
	* scripts/data/c++-ctypes-i386-linux-gnu.data: New file.

	contiguous case.  Bug report from Prem Gopalan <prem@mazunetworks.com>.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2f4930d02b..23e8b2fcb9 100644
--- a/Makefile
+++ b/Makefile
@@ -228,6 +228,16 @@ mostlyclean: parent-mostlyclean
 tests-clean:
 	@$(MAKE) subdir_testclean no_deps=t
 
+tests: $(objpfx)c++-types-check.out
+ifneq (no,$(CXX)$(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
+
 # 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 +296,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))