| 1 |
# |
| 2 |
# Jamfile to build CUnit - Examples root Directory |
| 3 |
# (see http://www.freetype.org/jam/index.html) |
| 4 |
# |
| 5 |
# Copyright (C) 2004-2006 Jerry St.Clair |
| 6 |
# |
| 7 |
# This library 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. |
| 11 |
# |
| 12 |
# This library 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. |
| 16 |
# |
| 17 |
# You should have received a copy of the GNU Library General Public |
| 18 |
# License along with this library; if not, write to the Free Software |
| 19 |
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 20 |
#--------------------------------------------------------------------------- |
| 21 |
|
| 22 |
SubDir TOP Examples ; |
| 23 |
|
| 24 |
if $(BUILD_AUTOMATED) |
| 25 |
{ |
| 26 |
DEPENDS examples : AutomatedTest$(SUFEXE) ; |
| 27 |
if $(USE_DEPRECATED_NAMES) |
| 28 |
{ DEPENDS examples : AutomatedTest_v1$(SUFEXE) ; } |
| 29 |
} |
| 30 |
if $(BUILD_BASIC) |
| 31 |
{ DEPENDS examples : BasicTest$(SUFEXE) ; } |
| 32 |
if $(BUILD_CONSOLE) |
| 33 |
{ |
| 34 |
DEPENDS examples : ConsoleTest$(SUFEXE) ; |
| 35 |
if $(USE_DEPRECATED_NAMES) |
| 36 |
{ DEPENDS examples : ConsoleTest_v1$(SUFEXE) ; } |
| 37 |
} |
| 38 |
if $(BUILD_CURSES) |
| 39 |
{ |
| 40 |
DEPENDS examples : CursesTest$(SUFEXE) ; |
| 41 |
if $(USE_DEPRECATED_NAMES) |
| 42 |
{ DEPENDS examples : CursesTest_v1$(SUFEXE) ; } |
| 43 |
} |
| 44 |
if $(BUILD_WINDOWS) |
| 45 |
{ |
| 46 |
DEPENDS examples : WinTest$(SUFEXE) ; |
| 47 |
if $(USE_DEPRECATED_NAMES) |
| 48 |
{ DEPENDS examples : WinTest_v1$(SUFEXE) ; } |
| 49 |
} |
| 50 |
|
| 51 |
DEPENDS all : examples ; |
| 52 |
NOTFILE examples ; |
| 53 |
|
| 54 |
if $(BUILD_AUTOMATED) |
| 55 |
{ SubInclude TOP Examples AutomatedTest ; } |
| 56 |
if $(BUILD_BASIC) |
| 57 |
{ SubInclude TOP Examples BasicTest ; } |
| 58 |
if $(BUILD_CONSOLE) |
| 59 |
{ SubInclude TOP Examples ConsoleTest ; } |
| 60 |
if $(BUILD_CURSES) |
| 61 |
{ SubInclude TOP Examples CursesTest ; } |
| 62 |
if $(BUILD_WINDOWS) |
| 63 |
{ SubInclude TOP Examples WinTest ; } |
| 64 |
|