~pac72/ubuntu/lucid/ddd/devel

« back to all changes in this revision

Viewing changes to libiberty/testsuite/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Schepler
  • Date: 2004-07-22 03:49:37 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20040722034937-cysl08t1jvba4jrx
Tags: 1:3.3.9-3
USERINFO has been renamed to USERINFO.txt; adjust debian/rules code
to match, to get correct information on the About DDD dialog.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#
2
2
# Makefile
3
 
#   Copyright (C) 1999
 
3
#   Copyright (C) 1999, 2002
4
4
#   Free Software Foundation
5
5
#
6
6
# This file is part of the libiberty library.
45
45
check: @CHECK@
46
46
 
47
47
# Run some tests of the demangler.
48
 
check-cplus-dem: test-filter $(srcdir)/demangle-expected
49
 
        $(SHELL) $(srcdir)/regress-demangle $(srcdir)/demangle-expected
 
48
check-cplus-dem: test-demangle $(srcdir)/demangle-expected
 
49
        ./test-demangle < $(srcdir)/demangle-expected
50
50
 
51
 
# Note that we just hard-code prepends_underscore to 0.  This doesn't
52
 
# matter since any particular test can override the default if need
53
 
# be.
54
51
TEST_COMPILE = $(CC) @DEFS@ $(LIBCFLAGS) -I.. -I$(INCDIR) $(HDEFINES)
55
 
test-filter: $(srcdir)/../cplus-dem.c
56
 
        echo 'int prepends_underscore = 0;' > test-us.c
57
 
        $(TEST_COMPILE) -o test-filter -DMAIN -DVERSION='"none"' @DEFS@ \
58
 
                $(srcdir)/../cplus-dem.c test-us.c -L.. -liberty
59
 
 
 
52
test-demangle: $(srcdir)/test-demangle.c ../libiberty.a
 
53
        $(TEST_COMPILE) -o test-demangle \
 
54
                $(srcdir)/test-demangle.c ../libiberty.a
60
55
 
61
56
# Standard (either GNU or Cygnus) rules we don't use.
62
57
info install-info clean-info dvi install etags tags installcheck:
63
58
 
64
59
# The standard clean rules.
65
60
mostlyclean:
66
 
        rm -f test-us.c test-filter
 
61
        rm -f test-demangle
67
62
clean: mostlyclean
68
63
distclean: clean
69
64
        rm -f Makefile
70
65
maintainer-clean realclean: distclean
71
66
 
72
 
 
73
67
Makefile: $(srcdir)/Makefile.in ../config.status
74
68
        CONFIG_FILES=testsuite/Makefile CONFIG_HEADERS= \
75
69
          cd .. && $(SHELL) ./config.status