Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / libiberty / testsuite / Makefile.in
blob2be6bb3d7a844b7d8c77231ced309b47c9032820
2 # Makefile
3 # Copyright (C) 1999, 2002
4 # Free Software Foundation
6 # This file is part of the libiberty library.
7 # Libiberty is free software; you can redistribute it and/or
8 # modify it under the terms of the GNU Library General Public
9 # License as published by the Free Software Foundation; either
10 # version 2 of the License, or (at your option) any later version.
12 # Libiberty is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 # Library General Public License for more details.
17 # You should have received a copy of the GNU Library General Public
18 # License along with libiberty; see the file COPYING.LIB. If not,
19 # write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 # Boston, MA 02110-1301, USA.
23 # This file was written by Tom Tromey <tromey@cygnus.com>.
26 # Makefile for libiberty/testsuite directory
29 srcdir = @srcdir@
30 VPATH = @srcdir@
32 SHELL = @SHELL@
34 CC = @CC@
35 CFLAGS = @CFLAGS@
36 LIBCFLAGS = $(CFLAGS)
38 # Multilib support variables.
39 MULTISRCTOP =
41 INCDIR=$(srcdir)/../$(MULTISRCTOP)../include
43 all:
45 # CHECK is set to "really_check" or the empty string by configure.
46 check: @CHECK@
48 really-check: check-cplus-dem check-pexecute
50 # Run some tests of the demangler.
51 check-cplus-dem: test-demangle $(srcdir)/demangle-expected
52 ./test-demangle < $(srcdir)/demangle-expected
54 # Check the pexecute code.
55 check-pexecute: test-pexecute
56 ./test-pexecute
58 TEST_COMPILE = $(CC) @DEFS@ $(LIBCFLAGS) -I.. -I$(INCDIR) $(HDEFINES)
59 test-demangle: $(srcdir)/test-demangle.c ../libiberty.a
60 $(TEST_COMPILE) -o test-demangle \
61 $(srcdir)/test-demangle.c ../libiberty.a
63 test-pexecute: $(srcdir)/test-pexecute.c ../libiberty.a
64 $(TEST_COMPILE) -DHAVE_CONFIG_H -I.. -o test-pexecute \
65 $(srcdir)/test-pexecute.c ../libiberty.a
67 # Standard (either GNU or Cygnus) rules we don't use.
68 info install-info clean-info dvi install etags tags installcheck:
70 # The standard clean rules.
71 mostlyclean:
72 rm -f test-demangle
73 clean: mostlyclean
74 distclean: clean
75 rm -f Makefile
76 maintainer-clean realclean: distclean
78 Makefile: $(srcdir)/Makefile.in ../config.status
79 CONFIG_FILES=testsuite/Makefile CONFIG_HEADERS= \
80 cd .. && $(SHELL) ./config.status