contrib/gcc-test-suite/default.cfg
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Jun 04 17:43:49 2011 +0200 (2011-06-04)
changeset 2505 f87f02b00cc7
parent 1965 e3d532dd8b5d
permissions -rw-r--r--
Makefile: make it work for auto-completion

The latest autocompletion calls 'make -qp' to get all the possible
targets. This currently fails, as our makefile is calling itself
again and again ad-libitum.

Fix it by detecting that the recursion level is not 0, and bail out
if so. It works so well that it has the side effect of showing only
the 'public' target, and hide our internal ones! :-)

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
mgl@1965
     1
# Default test suite configuration
mgl@1965
     2
mgl@1965
     3
# Default DejaGnu configuration
mgl@1965
     4
DG_TOOLNAME = gcc
mgl@1965
     5
DG_TARGET_HOSTNAME = 127.0.0.1
mgl@1965
     6
DG_TARGET_USERNAME = root
mgl@1965
     7
mgl@1965
     8
# Default tests
mgl@1965
     9
DG_C_TESTS = 
mgl@1965
    10
DG_CPP_TESTS =