2003-03-18 02:44:44 +08:00
|
|
|
# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
|
2001-03-31 01:41:33 +08:00
|
|
|
|
2002-06-19 23:19:53 +08:00
|
|
|
# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
|
2001-03-31 01:41:33 +08:00
|
|
|
# This Makefile.in is free software; the Free Software Foundation
|
|
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
|
|
# with or without modifications, as long as this notice is preserved.
|
|
|
|
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
|
|
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
|
|
|
# PARTICULAR PURPOSE.
|
|
|
|
|
|
|
|
|
|
|
|
SHELL = @SHELL@
|
|
|
|
|
|
|
|
srcdir = @srcdir@
|
|
|
|
top_srcdir = @top_srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
prefix = @prefix@
|
|
|
|
exec_prefix = @exec_prefix@
|
|
|
|
|
|
|
|
bindir = @bindir@
|
|
|
|
sbindir = @sbindir@
|
|
|
|
libexecdir = @libexecdir@
|
|
|
|
datadir = @datadir@
|
|
|
|
sysconfdir = @sysconfdir@
|
|
|
|
sharedstatedir = @sharedstatedir@
|
|
|
|
localstatedir = @localstatedir@
|
|
|
|
libdir = @libdir@
|
|
|
|
infodir = @infodir@
|
|
|
|
mandir = @mandir@
|
|
|
|
includedir = @includedir@
|
|
|
|
oldincludedir = /usr/include
|
|
|
|
|
|
|
|
DESTDIR =
|
|
|
|
|
|
|
|
pkgdatadir = $(datadir)/@PACKAGE@
|
|
|
|
pkglibdir = $(libdir)/@PACKAGE@
|
|
|
|
pkgincludedir = $(includedir)/@PACKAGE@
|
|
|
|
|
|
|
|
top_builddir = ..
|
|
|
|
|
|
|
|
ACLOCAL = @ACLOCAL@
|
|
|
|
AUTOCONF = @AUTOCONF@
|
|
|
|
AUTOMAKE = @AUTOMAKE@
|
|
|
|
AUTOHEADER = @AUTOHEADER@
|
|
|
|
|
|
|
|
INSTALL = @INSTALL@
|
|
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
|
|
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
|
|
|
transform = @program_transform_name@
|
|
|
|
|
|
|
|
NORMAL_INSTALL = :
|
|
|
|
PRE_INSTALL = :
|
|
|
|
POST_INSTALL = :
|
|
|
|
NORMAL_UNINSTALL = :
|
|
|
|
PRE_UNINSTALL = :
|
|
|
|
POST_UNINSTALL = :
|
|
|
|
build_alias = @build_alias@
|
|
|
|
build_triplet = @build@
|
|
|
|
host_alias = @host_alias@
|
|
|
|
host_triplet = @host@
|
|
|
|
target_alias = @target_alias@
|
|
|
|
target_triplet = @target@
|
|
|
|
AR = @AR@
|
|
|
|
AS = @AS@
|
2001-07-14 00:47:56 +08:00
|
|
|
ATOMICITY_INC_SRCDIR = @ATOMICITY_INC_SRCDIR@
|
2002-02-22 19:36:26 +08:00
|
|
|
AWK = @AWK@
|
2002-12-17 03:02:01 +08:00
|
|
|
BASIC_FILE_CC = @BASIC_FILE_CC@
|
2001-07-14 00:47:56 +08:00
|
|
|
BASIC_FILE_H = @BASIC_FILE_H@
|
2001-03-31 01:41:33 +08:00
|
|
|
CC = @CC@
|
2002-12-17 03:02:01 +08:00
|
|
|
CCODECVT_CC = @CCODECVT_CC@
|
2001-08-08 10:49:01 +08:00
|
|
|
CCODECVT_H = @CCODECVT_H@
|
2002-12-17 03:02:01 +08:00
|
|
|
CCOLLATE_CC = @CCOLLATE_CC@
|
|
|
|
CCTYPE_CC = @CCTYPE_CC@
|
|
|
|
CLOCALE_CC = @CLOCALE_CC@
|
2001-07-14 00:47:56 +08:00
|
|
|
CLOCALE_H = @CLOCALE_H@
|
2002-12-17 03:02:01 +08:00
|
|
|
CLOCALE_INTERNAL_H = @CLOCALE_INTERNAL_H@
|
|
|
|
CMESSAGES_CC = @CMESSAGES_CC@
|
2001-08-08 10:49:01 +08:00
|
|
|
CMESSAGES_H = @CMESSAGES_H@
|
2002-12-17 03:02:01 +08:00
|
|
|
CMONEY_CC = @CMONEY_CC@
|
|
|
|
CNUMERIC_CC = @CNUMERIC_CC@
|
2001-03-31 01:41:33 +08:00
|
|
|
CPP = @CPP@
|
2001-07-14 00:47:56 +08:00
|
|
|
CSTDIO_H = @CSTDIO_H@
|
2002-12-17 03:02:01 +08:00
|
|
|
CTIME_CC = @CTIME_CC@
|
2003-01-07 05:23:00 +08:00
|
|
|
CTIME_H = @CTIME_H@
|
2001-03-31 01:41:33 +08:00
|
|
|
CXXCPP = @CXXCPP@
|
|
|
|
C_INCLUDE_DIR = @C_INCLUDE_DIR@
|
|
|
|
DEBUG_FLAGS = @DEBUG_FLAGS@
|
|
|
|
DLLTOOL = @DLLTOOL@
|
|
|
|
EXEEXT = @EXEEXT@
|
|
|
|
EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
|
2003-07-05 12:05:45 +08:00
|
|
|
FPOS_H = @FPOS_H@
|
|
|
|
FPOS_INC_SRCDIR = @FPOS_INC_SRCDIR@
|
2001-03-31 01:41:33 +08:00
|
|
|
GCJ = @GCJ@
|
|
|
|
GCJFLAGS = @GCJFLAGS@
|
2003-07-05 12:05:45 +08:00
|
|
|
GLIBCXX_IS_CROSS_COMPILING = @GLIBCXX_IS_CROSS_COMPILING@
|
2001-03-31 01:41:33 +08:00
|
|
|
LIBMATHOBJS = @LIBMATHOBJS@
|
|
|
|
LIBMATH_INCLUDES = @LIBMATH_INCLUDES@
|
2001-05-04 04:35:18 +08:00
|
|
|
LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@
|
2001-03-31 01:41:33 +08:00
|
|
|
LIBTOOL = @LIBTOOL@
|
2002-03-20 03:50:30 +08:00
|
|
|
LIBUNWIND_FLAG = @LIBUNWIND_FLAG@
|
2001-03-31 01:41:33 +08:00
|
|
|
LN_S = @LN_S@
|
|
|
|
MAINT = @MAINT@
|
|
|
|
MAKEINFO = @MAKEINFO@
|
|
|
|
OBJDUMP = @OBJDUMP@
|
|
|
|
OBJEXT = @OBJEXT@
|
|
|
|
OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
|
|
|
|
OPT_LDFLAGS = @OPT_LDFLAGS@
|
2001-07-14 00:47:56 +08:00
|
|
|
OS_INC_SRCDIR = @OS_INC_SRCDIR@
|
2001-03-31 01:41:33 +08:00
|
|
|
PACKAGE = @PACKAGE@
|
|
|
|
RANLIB = @RANLIB@
|
|
|
|
SECTION_FLAGS = @SECTION_FLAGS@
|
|
|
|
SECTION_LDFLAGS = @SECTION_LDFLAGS@
|
|
|
|
STRIP = @STRIP@
|
2002-12-17 03:02:01 +08:00
|
|
|
SYMVER_MAP = @SYMVER_MAP@
|
2001-08-08 10:49:01 +08:00
|
|
|
USE_NLS = @USE_NLS@
|
2001-03-31 01:41:33 +08:00
|
|
|
VERSION = @VERSION@
|
|
|
|
WARN_FLAGS = @WARN_FLAGS@
|
|
|
|
WERROR = @WERROR@
|
2002-04-02 10:41:50 +08:00
|
|
|
check_msgfmt = @check_msgfmt@
|
2001-03-31 01:41:33 +08:00
|
|
|
enable_shared = @enable_shared@
|
|
|
|
enable_static = @enable_static@
|
2003-07-05 12:05:45 +08:00
|
|
|
glibcxx_CXX = @glibcxx_CXX@
|
|
|
|
glibcxx_MOFILES = @glibcxx_MOFILES@
|
|
|
|
glibcxx_PCHFLAGS = @glibcxx_PCHFLAGS@
|
|
|
|
glibcxx_POFILES = @glibcxx_POFILES@
|
|
|
|
glibcxx_basedir = @glibcxx_basedir@
|
|
|
|
glibcxx_localedir = @glibcxx_localedir@
|
|
|
|
glibcxx_prefixdir = @glibcxx_prefixdir@
|
|
|
|
glibcxx_thread_h = @glibcxx_thread_h@
|
|
|
|
glibcxx_toolexecdir = @glibcxx_toolexecdir@
|
|
|
|
glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@
|
2001-03-31 01:41:33 +08:00
|
|
|
gxx_include_dir = @gxx_include_dir@
|
|
|
|
ifGNUmake = @ifGNUmake@
|
2001-08-14 09:24:30 +08:00
|
|
|
libtool_VERSION = @libtool_VERSION@
|
2001-03-31 01:41:33 +08:00
|
|
|
toplevel_srcdir = @toplevel_srcdir@
|
|
|
|
|
2002-06-06 15:32:57 +08:00
|
|
|
AUTOMAKE_OPTIONS = cygnus dejagnu
|
2001-03-31 01:41:33 +08:00
|
|
|
|
2003-06-18 13:09:50 +08:00
|
|
|
mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
|
|
|
|
|
2001-05-14 09:15:36 +08:00
|
|
|
DEJATOOL = libstdc++-v3
|
2001-03-31 01:41:33 +08:00
|
|
|
|
2003-07-06 11:14:37 +08:00
|
|
|
EXPECT = `if [ -f @glibcxx_builddir@/../../expect/expect ] ; then echo @glibcxx_builddir@/../../expect/expect ; else echo expect ; fi`
|
2001-03-31 01:41:33 +08:00
|
|
|
|
2001-05-14 09:15:36 +08:00
|
|
|
|
2003-07-06 11:14:37 +08:00
|
|
|
RUNTEST = `if [ -f @glibcxx_srcdir@/../dejagnu/runtest ] ; then echo @glibcxx_srcdir@/../dejagnu/runtest ; else echo runtest; fi`
|
2001-05-14 09:15:36 +08:00
|
|
|
|
|
|
|
|
2003-07-02 09:40:59 +08:00
|
|
|
AM_MAKEFLAGS = -j1
|
2002-06-19 03:07:12 +08:00
|
|
|
AM_RUNTESTFLAGS =
|
2001-05-14 09:15:36 +08:00
|
|
|
RUNTESTFLAGS =
|
2003-07-06 11:14:37 +08:00
|
|
|
PWD_COMMAND = $${PWDCMD-pwd}
|
2002-05-29 07:15:18 +08:00
|
|
|
|
2003-07-05 12:05:45 +08:00
|
|
|
glibcxx_srcdir = @glibcxx_srcdir@
|
|
|
|
glibcxx_builddir = @glibcxx_builddir@
|
|
|
|
testsuite_flags_script = ${glibcxx_builddir}/scripts/testsuite_flags
|
2003-06-18 09:52:08 +08:00
|
|
|
CXX = `${testsuite_flags_script} --build-cxx`
|
|
|
|
|
2003-07-06 11:14:37 +08:00
|
|
|
CXXLINK = LD_RUN_PATH=$${LD_RUN_PATH:+$$LD_RUN_PATH:}${glibcxx_builddir}/src/.libs $(LIBTOOL) --tag=CXX --mode=link $(CXX) $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@
|
2002-08-23 04:06:01 +08:00
|
|
|
|
|
|
|
|
2003-07-05 12:05:45 +08:00
|
|
|
GLIBCXX_INCLUDES = @GLIBCXX_INCLUDES@
|
2003-06-18 09:52:08 +08:00
|
|
|
LIBSUPCXX_INCLUDES = @LIBSUPCXX_INCLUDES@
|
|
|
|
TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
|
2003-07-06 11:14:37 +08:00
|
|
|
INCLUDES = -nostdinc++ @GLIBCXX_INCLUDES@ @LIBSUPCXX_INCLUDES@ @TOPLEVEL_INCLUDES@
|
|
|
|
|
|
|
|
|
|
|
|
# Generated lists of files to run. All of these names are valid make
|
|
|
|
# targets, if you wish to generate a list manually.
|
|
|
|
lists_of_files = testsuite_files testsuite_files_interactive testsuite_files_performance
|
2002-08-03 00:04:16 +08:00
|
|
|
|
2002-05-29 07:15:18 +08:00
|
|
|
|
|
|
|
noinst_LIBRARIES = libv3test.a
|
2002-11-26 08:53:12 +08:00
|
|
|
libv3test_a_SOURCES = testsuite_hooks.cc testsuite_allocator.cc
|
2003-07-06 11:14:37 +08:00
|
|
|
@GLIBCXX_TEST_ABI_TRUE@noinst_PROGRAMS = abi_check
|
2003-07-05 12:05:45 +08:00
|
|
|
@GLIBCXX_TEST_ABI_FALSE@noinst_PROGRAMS =
|
2002-08-23 04:06:01 +08:00
|
|
|
abi_check_SOURCES = abi_check.cc
|
2003-01-16 08:50:20 +08:00
|
|
|
|
2003-06-18 13:09:50 +08:00
|
|
|
baseline_dir = @baseline_dir@
|
|
|
|
baseline_file = ${baseline_dir}/baseline_symbols.txt
|
2003-07-05 12:05:45 +08:00
|
|
|
extract_symvers = @glibcxx_srcdir@/scripts/extract_symvers
|
2003-06-18 09:52:08 +08:00
|
|
|
|
2003-06-19 12:00:59 +08:00
|
|
|
# These two special 'check-script' rules use the bash script
|
|
|
|
# 'check_survey' to do testing. This script is not as portable as the
|
|
|
|
# dejagnu test harness, and is thus off by default. It does produce
|
|
|
|
# interesting output however, including various performance analysis
|
|
|
|
# items like compile time, execution time, and binary size.
|
2003-07-05 12:05:45 +08:00
|
|
|
survey_script = ${glibcxx_builddir}/scripts/check_survey
|
2003-06-18 09:52:08 +08:00
|
|
|
|
|
|
|
# Runs the testsuite/performance tests.
|
|
|
|
# Some of these tests create large (~75MB) files, allocate huge
|
|
|
|
# ammounts of memory, or otherwise tie up machine resources. Thus,
|
|
|
|
# running this is off by default.
|
2003-07-05 12:05:45 +08:00
|
|
|
performance_script = ${glibcxx_srcdir}/scripts/check_performance
|
2003-06-17 13:46:01 +08:00
|
|
|
|
2003-01-16 08:50:20 +08:00
|
|
|
# By adding these files here, automake will remove them for 'make clean'
|
2003-07-06 11:14:37 +08:00
|
|
|
CLEANFILES = *.txt *.tst *.exe core* filebuf_* tmp* ostream_* *.log *.sum testsuite_* site.exp abi_check baseline_symbols
|
2003-01-16 08:50:20 +08:00
|
|
|
|
2001-08-10 14:50:34 +08:00
|
|
|
CONFIG_HEADER = ../config.h
|
2001-03-31 01:41:33 +08:00
|
|
|
CONFIG_CLEAN_FILES =
|
2002-05-29 07:15:18 +08:00
|
|
|
LIBRARIES = $(noinst_LIBRARIES)
|
|
|
|
|
|
|
|
|
|
|
|
DEFS = @DEFS@ -I. -I$(srcdir) -I..
|
|
|
|
CPPFLAGS = @CPPFLAGS@
|
|
|
|
LDFLAGS = @LDFLAGS@
|
|
|
|
LIBS = @LIBS@
|
|
|
|
libv3test_a_LIBADD =
|
2002-11-26 08:53:12 +08:00
|
|
|
libv3test_a_OBJECTS = testsuite_hooks.$(OBJEXT) \
|
|
|
|
testsuite_allocator.$(OBJEXT)
|
2003-07-05 12:05:45 +08:00
|
|
|
@GLIBCXX_TEST_ABI_TRUE@noinst_PROGRAMS = abi_check$(EXEEXT)
|
2002-08-23 04:06:01 +08:00
|
|
|
PROGRAMS = $(noinst_PROGRAMS)
|
|
|
|
|
|
|
|
abi_check_OBJECTS = abi_check.$(OBJEXT)
|
|
|
|
abi_check_LDADD = $(LDADD)
|
|
|
|
abi_check_DEPENDENCIES =
|
|
|
|
abi_check_LDFLAGS =
|
2002-05-29 07:15:18 +08:00
|
|
|
CXXFLAGS = @CXXFLAGS@
|
|
|
|
CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
|
|
|
|
LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
|
|
|
|
CXXLD = $(CXX)
|
2003-06-12 11:24:16 +08:00
|
|
|
DIST_COMMON = Makefile.am Makefile.in
|
2001-03-31 01:41:33 +08:00
|
|
|
|
|
|
|
|
|
|
|
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
|
|
|
|
2003-07-06 11:14:37 +08:00
|
|
|
TAR = tar
|
2001-03-31 01:41:33 +08:00
|
|
|
GZIP_ENV = --best
|
2002-08-23 04:06:01 +08:00
|
|
|
SOURCES = $(libv3test_a_SOURCES) $(abi_check_SOURCES)
|
|
|
|
OBJECTS = $(libv3test_a_OBJECTS) $(abi_check_OBJECTS)
|
2002-05-29 07:15:18 +08:00
|
|
|
|
2001-03-31 01:41:33 +08:00
|
|
|
all: all-redirect
|
|
|
|
.SUFFIXES:
|
2002-05-29 07:15:18 +08:00
|
|
|
.SUFFIXES: .S .c .cc .lo .o .obj .s
|
2001-03-31 01:41:33 +08:00
|
|
|
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
2002-06-06 15:32:57 +08:00
|
|
|
cd $(top_srcdir) && $(AUTOMAKE) --cygnus testsuite/Makefile
|
2001-03-31 01:41:33 +08:00
|
|
|
|
2002-06-06 15:32:57 +08:00
|
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
2001-03-31 01:41:33 +08:00
|
|
|
cd $(top_builddir) \
|
|
|
|
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
|
|
|
2002-05-29 07:15:18 +08:00
|
|
|
|
|
|
|
mostlyclean-noinstLIBRARIES:
|
|
|
|
|
|
|
|
clean-noinstLIBRARIES:
|
|
|
|
-test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
|
|
|
|
|
|
|
|
distclean-noinstLIBRARIES:
|
|
|
|
|
|
|
|
maintainer-clean-noinstLIBRARIES:
|
|
|
|
|
2002-06-06 15:32:57 +08:00
|
|
|
.c.o:
|
|
|
|
$(COMPILE) -c $<
|
|
|
|
|
2002-05-29 07:15:18 +08:00
|
|
|
# FIXME: We should only use cygpath when building on Windows,
|
|
|
|
# and only if it is available.
|
|
|
|
.c.obj:
|
|
|
|
$(COMPILE) -c `cygpath -w $<`
|
|
|
|
|
|
|
|
.s.o:
|
|
|
|
$(COMPILE) -c $<
|
|
|
|
|
|
|
|
.S.o:
|
|
|
|
$(COMPILE) -c $<
|
|
|
|
|
|
|
|
mostlyclean-compile:
|
|
|
|
-rm -f *.o core *.core
|
|
|
|
-rm -f *.$(OBJEXT)
|
|
|
|
|
|
|
|
clean-compile:
|
|
|
|
|
|
|
|
distclean-compile:
|
|
|
|
-rm -f *.tab.c
|
|
|
|
|
|
|
|
maintainer-clean-compile:
|
|
|
|
|
2002-06-06 15:32:57 +08:00
|
|
|
.c.lo:
|
|
|
|
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
|
|
|
|
|
2002-05-29 07:15:18 +08:00
|
|
|
.s.lo:
|
|
|
|
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
|
|
|
|
|
|
|
|
.S.lo:
|
|
|
|
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
|
|
|
|
|
|
|
|
mostlyclean-libtool:
|
|
|
|
-rm -f *.lo
|
|
|
|
|
|
|
|
clean-libtool:
|
|
|
|
-rm -rf .libs _libs
|
|
|
|
|
|
|
|
distclean-libtool:
|
|
|
|
|
|
|
|
maintainer-clean-libtool:
|
|
|
|
|
|
|
|
libv3test.a: $(libv3test_a_OBJECTS) $(libv3test_a_DEPENDENCIES)
|
|
|
|
-rm -f libv3test.a
|
|
|
|
$(AR) cru libv3test.a $(libv3test_a_OBJECTS) $(libv3test_a_LIBADD)
|
|
|
|
$(RANLIB) libv3test.a
|
2002-08-23 04:06:01 +08:00
|
|
|
|
|
|
|
mostlyclean-noinstPROGRAMS:
|
|
|
|
|
|
|
|
clean-noinstPROGRAMS:
|
|
|
|
-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
|
|
|
|
|
|
|
|
distclean-noinstPROGRAMS:
|
|
|
|
|
|
|
|
maintainer-clean-noinstPROGRAMS:
|
|
|
|
|
|
|
|
abi_check$(EXEEXT): $(abi_check_OBJECTS) $(abi_check_DEPENDENCIES)
|
|
|
|
@rm -f abi_check$(EXEEXT)
|
|
|
|
$(CXXLINK) $(abi_check_LDFLAGS) $(abi_check_OBJECTS) $(abi_check_LDADD) $(LIBS)
|
2002-05-29 07:15:18 +08:00
|
|
|
.cc.o:
|
|
|
|
$(CXXCOMPILE) -c $<
|
|
|
|
.cc.obj:
|
|
|
|
$(CXXCOMPILE) -c `cygpath -w $<`
|
|
|
|
.cc.lo:
|
|
|
|
$(LTCXXCOMPILE) -c $<
|
|
|
|
|
2001-03-31 01:41:33 +08:00
|
|
|
tags: TAGS
|
|
|
|
|
2002-05-29 07:15:18 +08:00
|
|
|
ID: $(HEADERS) $(SOURCES) $(LISP)
|
|
|
|
list='$(SOURCES) $(HEADERS)'; \
|
|
|
|
unique=`for i in $$list; do echo $$i; done | \
|
|
|
|
awk ' { files[$$0] = 1; } \
|
|
|
|
END { for (i in files) print i; }'`; \
|
|
|
|
here=`pwd` && cd $(srcdir) \
|
|
|
|
&& mkid -f$$here/ID $$unique $(LISP)
|
|
|
|
|
|
|
|
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
|
|
|
|
tags=; \
|
|
|
|
here=`pwd`; \
|
|
|
|
list='$(SOURCES) $(HEADERS)'; \
|
|
|
|
unique=`for i in $$list; do echo $$i; done | \
|
|
|
|
awk ' { files[$$0] = 1; } \
|
|
|
|
END { for (i in files) print i; }'`; \
|
|
|
|
test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
|
2003-07-06 11:14:37 +08:00
|
|
|
|| (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
|
2002-05-29 07:15:18 +08:00
|
|
|
|
|
|
|
mostlyclean-tags:
|
|
|
|
|
|
|
|
clean-tags:
|
|
|
|
|
|
|
|
distclean-tags:
|
|
|
|
-rm -f TAGS ID
|
|
|
|
|
|
|
|
maintainer-clean-tags:
|
2001-03-31 01:41:33 +08:00
|
|
|
|
|
|
|
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
|
|
|
|
|
|
|
subdir = testsuite
|
|
|
|
|
|
|
|
distdir: $(DISTFILES)
|
|
|
|
@for file in $(DISTFILES); do \
|
2002-06-06 15:32:57 +08:00
|
|
|
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
2001-03-31 01:41:33 +08:00
|
|
|
if test -d $$d/$$file; then \
|
|
|
|
cp -pr $$d/$$file $(distdir)/$$file; \
|
|
|
|
else \
|
|
|
|
test -f $(distdir)/$$file \
|
|
|
|
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
|
|
|
|| cp -p $$d/$$file $(distdir)/$$file || :; \
|
|
|
|
fi; \
|
|
|
|
done
|
|
|
|
|
|
|
|
RUNTESTDEFAULTFLAGS = --tool $(DEJATOOL) --srcdir $$srcdir
|
|
|
|
|
|
|
|
check-DEJAGNU: site.exp
|
|
|
|
srcdir=`cd $(srcdir) && pwd`; export srcdir; \
|
|
|
|
EXPECT=$(EXPECT); export EXPECT; \
|
2002-06-06 15:32:57 +08:00
|
|
|
if [ -f $(top_builddir)/../expect/expect ]; then \
|
|
|
|
TCL_LIBRARY=`cd $(top_srcdir)/../tcl/library && pwd`; \
|
|
|
|
export TCL_LIBRARY; \
|
|
|
|
fi; \
|
2001-03-31 01:41:33 +08:00
|
|
|
runtest=$(RUNTEST); \
|
|
|
|
if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
|
|
|
|
$$runtest $(RUNTESTDEFAULTFLAGS) $(RUNTESTFLAGS); \
|
|
|
|
else echo "WARNING: could not find \`runtest'" 1>&2; :;\
|
|
|
|
fi
|
|
|
|
site.exp: Makefile
|
|
|
|
@echo 'Making a new site.exp file...'
|
|
|
|
@test ! -f site.bak || rm -f site.bak
|
|
|
|
@echo '## these variables are automatically generated by make ##' > $@-t
|
|
|
|
@echo '# Do not edit here. If you wish to override these values' >> $@-t
|
|
|
|
@echo '# edit the last section' >> $@-t
|
|
|
|
@echo 'set tool $(DEJATOOL)' >> $@-t
|
|
|
|
@echo 'set srcdir $(srcdir)' >> $@-t
|
|
|
|
@echo 'set objdir' `pwd` >> $@-t
|
|
|
|
@echo 'set host_alias $(host_alias)' >> $@-t
|
|
|
|
@echo 'set host_triplet $(host_triplet)' >> $@-t
|
|
|
|
@echo 'set target_alias $(target_alias)' >> $@-t
|
|
|
|
@echo 'set target_triplet $(target_triplet)' >> $@-t
|
|
|
|
@echo 'set build_alias $(build_alias)' >> $@-t
|
|
|
|
@echo 'set build_triplet $(build_triplet)' >> $@-t
|
|
|
|
@echo '## All variables above are generated by configure. Do Not Edit ##' >> $@-t
|
2003-07-06 11:14:37 +08:00
|
|
|
@test ! -f $(srcdir)/site.exp || sed '1,/^## All variables above are.*##/ d' $(srcdir)/site.exp >> $@-t
|
2001-03-31 01:41:33 +08:00
|
|
|
@test ! -f site.exp || mv site.exp site.bak
|
|
|
|
@mv $@-t site.exp
|
|
|
|
info-am:
|
|
|
|
info: info-am
|
|
|
|
dvi-am:
|
|
|
|
dvi: dvi-am
|
2002-06-06 15:32:57 +08:00
|
|
|
check-am:
|
2003-06-17 13:46:01 +08:00
|
|
|
$(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU check-local
|
2001-03-31 01:41:33 +08:00
|
|
|
check: check-am
|
|
|
|
installcheck-am:
|
|
|
|
installcheck: installcheck-am
|
2002-06-06 15:32:57 +08:00
|
|
|
install-info-am:
|
|
|
|
install-info: install-info-am
|
2001-03-31 01:41:33 +08:00
|
|
|
install-exec-am:
|
|
|
|
install-exec: install-exec-am
|
|
|
|
|
|
|
|
install-data-am:
|
|
|
|
install-data: install-data-am
|
|
|
|
|
|
|
|
install-am: all-am
|
|
|
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
|
|
|
install: install-am
|
|
|
|
uninstall-am:
|
|
|
|
uninstall: uninstall-am
|
2003-01-16 08:50:20 +08:00
|
|
|
all-am: Makefile $(LIBRARIES) $(PROGRAMS) all-local
|
2001-03-31 01:41:33 +08:00
|
|
|
all-redirect: all-am
|
|
|
|
install-strip:
|
|
|
|
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
|
|
|
|
installdirs:
|
|
|
|
|
|
|
|
|
|
|
|
mostlyclean-generic:
|
|
|
|
|
|
|
|
clean-generic:
|
2003-01-16 08:50:20 +08:00
|
|
|
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
2001-03-31 01:41:33 +08:00
|
|
|
|
|
|
|
distclean-generic:
|
|
|
|
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
|
|
|
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
|
|
|
|
|
|
|
maintainer-clean-generic:
|
2002-05-29 07:15:18 +08:00
|
|
|
mostlyclean-am: mostlyclean-noinstLIBRARIES mostlyclean-compile \
|
2002-08-23 04:06:01 +08:00
|
|
|
mostlyclean-libtool mostlyclean-noinstPROGRAMS \
|
|
|
|
mostlyclean-tags mostlyclean-generic
|
2001-03-31 01:41:33 +08:00
|
|
|
|
|
|
|
mostlyclean: mostlyclean-am
|
|
|
|
|
2002-08-23 04:06:01 +08:00
|
|
|
clean-am: clean-noinstLIBRARIES clean-compile clean-libtool \
|
|
|
|
clean-noinstPROGRAMS clean-tags clean-generic \
|
|
|
|
mostlyclean-am
|
2001-03-31 01:41:33 +08:00
|
|
|
|
|
|
|
clean: clean-am
|
|
|
|
|
2002-05-29 07:15:18 +08:00
|
|
|
distclean-am: distclean-noinstLIBRARIES distclean-compile \
|
2002-08-23 04:06:01 +08:00
|
|
|
distclean-libtool distclean-noinstPROGRAMS \
|
|
|
|
distclean-tags distclean-generic clean-am
|
2001-03-31 01:41:33 +08:00
|
|
|
-rm -f libtool
|
|
|
|
|
|
|
|
distclean: distclean-am
|
|
|
|
|
2002-05-29 07:15:18 +08:00
|
|
|
maintainer-clean-am: maintainer-clean-noinstLIBRARIES \
|
|
|
|
maintainer-clean-compile maintainer-clean-libtool \
|
2002-08-23 04:06:01 +08:00
|
|
|
maintainer-clean-noinstPROGRAMS maintainer-clean-tags \
|
|
|
|
maintainer-clean-generic distclean-am
|
2001-03-31 01:41:33 +08:00
|
|
|
@echo "This command is intended for maintainers to use;"
|
|
|
|
@echo "it deletes files that may require special tools to rebuild."
|
|
|
|
|
|
|
|
maintainer-clean: maintainer-clean-am
|
|
|
|
|
2002-05-29 07:15:18 +08:00
|
|
|
.PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \
|
|
|
|
clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \
|
|
|
|
mostlyclean-compile distclean-compile clean-compile \
|
|
|
|
maintainer-clean-compile mostlyclean-libtool distclean-libtool \
|
2002-08-23 04:06:01 +08:00
|
|
|
clean-libtool maintainer-clean-libtool mostlyclean-noinstPROGRAMS \
|
|
|
|
distclean-noinstPROGRAMS clean-noinstPROGRAMS \
|
|
|
|
maintainer-clean-noinstPROGRAMS tags mostlyclean-tags distclean-tags \
|
|
|
|
clean-tags maintainer-clean-tags distdir check-DEJAGNU info-am info \
|
2003-06-17 13:46:01 +08:00
|
|
|
dvi-am dvi check-local check check-am installcheck-am installcheck \
|
|
|
|
install-info-am install-info install-exec-am install-exec \
|
|
|
|
install-data-am install-data install-am install uninstall-am uninstall \
|
|
|
|
all-local all-redirect all-am all installdirs mostlyclean-generic \
|
|
|
|
distclean-generic clean-generic maintainer-clean-generic clean \
|
|
|
|
mostlyclean distclean maintainer-clean
|
|
|
|
|
2001-03-31 01:41:33 +08:00
|
|
|
|
2003-07-06 11:14:37 +08:00
|
|
|
all-local: stamp_wchar testsuite_files
|
2001-03-31 01:41:33 +08:00
|
|
|
|
2003-01-16 08:50:20 +08:00
|
|
|
# Enable wchar_t tests if capable.
|
2003-07-05 12:05:45 +08:00
|
|
|
@GLIBCXX_TEST_WCHAR_T_TRUE@stamp_wchar:
|
|
|
|
@GLIBCXX_TEST_WCHAR_T_TRUE@ touch testsuite_wchar_t
|
|
|
|
@GLIBCXX_TEST_WCHAR_T_FALSE@stamp_wchar:
|
2003-06-17 13:46:01 +08:00
|
|
|
|
2003-07-01 04:40:10 +08:00
|
|
|
# This is automatically run after the generated check-DEJAGNU rule.
|
2003-06-17 13:46:01 +08:00
|
|
|
check-local: check-abi
|
|
|
|
|
|
|
|
current_symbols.txt: ${extract_symvers} ../src/.libs/libstdc++.so
|
|
|
|
-@(${extract_symvers} ../src/.libs/libstdc++.so current_symbols.txt)
|
|
|
|
|
|
|
|
baseline_symbols:
|
|
|
|
-@(output=${baseline_file}; \
|
|
|
|
if test ! -f $${output}; then \
|
|
|
|
echo "Baseline file doesn't exist."; \
|
|
|
|
echo "Try 'make new-abi-baseline' to create it."; \
|
|
|
|
exit 1; \
|
2003-07-01 04:40:10 +08:00
|
|
|
fi; true)
|
2003-06-17 13:46:01 +08:00
|
|
|
|
|
|
|
new-abi-baseline:
|
2003-06-18 13:09:50 +08:00
|
|
|
-@$(mkinstalldirs) ${baseline_dir}
|
2003-06-17 13:46:01 +08:00
|
|
|
-@(output=${baseline_file}; \
|
|
|
|
if test -f $${output}; then \
|
|
|
|
output=$${output}.new; \
|
|
|
|
t=`echo $${output} | sed 's=.*config/abi/=='`; \
|
|
|
|
echo "Baseline file already exists, writing to $${t} instead."; \
|
|
|
|
fi; \
|
|
|
|
${extract_symvers} ../src/.libs/libstdc++.so $${output})
|
|
|
|
|
|
|
|
# Use 'new-abi-baseline' to create an initial symbol file. Then run
|
|
|
|
# 'check-abi' to test for changes against that file.
|
2003-07-05 12:05:45 +08:00
|
|
|
@GLIBCXX_TEST_ABI_TRUE@check-abi: abi_check baseline_symbols current_symbols.txt
|
|
|
|
@GLIBCXX_TEST_ABI_TRUE@ -@(./abi_check --check ./current_symbols.txt ${baseline_file} \
|
|
|
|
@GLIBCXX_TEST_ABI_TRUE@ 2>&1 | tee libstdc++-v3-abi.sum)
|
2003-01-16 08:50:20 +08:00
|
|
|
|
2003-07-05 12:05:45 +08:00
|
|
|
@GLIBCXX_TEST_ABI_TRUE@check-abi-verbose: abi_check baseline_symbols current_symbols.txt
|
|
|
|
@GLIBCXX_TEST_ABI_TRUE@ -@(./abi_check --check-verbose ./current_symbols.txt ${baseline_file} \
|
|
|
|
@GLIBCXX_TEST_ABI_TRUE@ 2>&1 | tee libstdc++-v3-abi.sum)
|
2003-06-28 02:13:12 +08:00
|
|
|
|
2003-07-05 12:05:45 +08:00
|
|
|
@GLIBCXX_TEST_ABI_FALSE@check-abi:
|
|
|
|
@GLIBCXX_TEST_ABI_FALSE@check-abi-verbose:
|
2003-06-19 12:00:59 +08:00
|
|
|
check-script: ${survey_script}
|
|
|
|
-@(chmod + ${survey_script}; \
|
|
|
|
${survey_script} 0)
|
|
|
|
|
|
|
|
check-script-install: ${survey_script}
|
|
|
|
-@(chmod + ${survey_script}; \
|
|
|
|
${survey_script} 0)
|
2003-07-06 11:14:37 +08:00
|
|
|
check-performance: testsuite_files_performance ${performance_script}
|
2003-06-19 12:00:59 +08:00
|
|
|
-@(chmod + ${performance_script}; \
|
2003-07-05 12:05:45 +08:00
|
|
|
${performance_script} ${glibcxx_srcdir} ${glibcxx_builddir})
|
2003-01-16 08:50:20 +08:00
|
|
|
|
2003-07-06 11:14:37 +08:00
|
|
|
# This rule generates all of the testsuite_files* lists at once.
|
|
|
|
${lists_of_files}:
|
|
|
|
${glibcxx_srcdir}/scripts/create_testsuite_files \
|
|
|
|
${glibcxx_srcdir}/testsuite `${PWD_COMMAND}`
|
|
|
|
|
2003-07-01 04:40:10 +08:00
|
|
|
.PHONY: baseline_symbols new-abi-baseline check-abi check-abi-verbose \
|
|
|
|
check-script check-script-install check-performance
|
|
|
|
|
2001-03-31 01:41:33 +08:00
|
|
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
|
|
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
|
|
|
.NOEXPORT:
|