-# 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
+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 \
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
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
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