2006-07-16 17:24:25 +00:00
# copyright John Maddock 2003
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt.
2002-04-24 10:50:23 +00:00
# very basic makefile for regress
#
# Borland C++ tools
#
# BCROOT defines the root directory of your bcb install
#
! i f n d e f B C R O O T
BCROOT = $( MAKEDIR) \. .
! e n d i f
2002-09-13 11:52:11 +00:00
#
# sources to compile for each test:
#
2005-06-18 16:55:01 +00:00
SOURCES = *.cpp
2002-04-24 10:50:23 +00:00
BCC32 = $( BCROOT) \b in\B cc32.exe
TLINK32 = $( BCROOT) \b in\I Link32.exe
IDE_LinkFLAGS32 = -L$( BCROOT) \L IB
LINKOPTS = -ap -Tpe -x
2003-11-02 12:13:16 +00:00
CFLAGS = -tWC -DSTRICT; -Vx -Ve -w-inl -w-aus -w-csu -w-eff -w-rch -I$( BCROOT) \i nclude; ..\. .\. .\. .\; -L..\. .\. .\. .\s tage\l ib -L$( BCROOT) \l ib\o bj -L$( BCROOT) \l ib\r elease -L..\. .\b uild\b cb $( CXXFLAGS)
2002-04-24 10:50:23 +00:00
BPI = vcl.bpi rtl.bpi vclx.bpi vcle.lib
BPL = vcl.lib rtl.lib vcle.lib
all :: r 1.exe r 2.exe r 3.exe r 4.exe r 5.exe r 6.exe r 1m .exe r 2m .exe r 3m .exe r 4m .exe r 5m .exe r 6m .exe r 1v .exe r 2v .exe r 3v .exe r 4v .exe r 5v .exe r 6v .exe r 1l .exe r 2l .exe r 3l .exe r 4l .exe r 5l .exe r 6l .exe r 1lm .exe r 2lm .exe r 3lm .exe r 4lm .exe r 5lm .exe r 6lm .exe r 1lv .exe r 2lv .exe r 3lv .exe r 4lv .exe r 5lv .exe r 6lv .exe
2003-11-02 12:13:16 +00:00
-copy ..\. .\b uild\b cb6\* .dll
-copy ..\. .\. .\. .\s tage\l ib\* bcb*.dll
2002-04-24 10:50:23 +00:00
echo testing static single threaded version....
r1 tests.txt test1252.txt
r2 tests.txt
r3 tests.txt
r4 tests.txt test1252.txt
r5 tests.txt
r6 tests.txt
echo testing static multi-threaded version....
r1m tests.txt test1252.txt
r2m tests.txt
r3m tests.txt
r4m tests.txt test1252.txt
r5m tests.txt
r6m tests.txt
echo testing static VCL version....
r1v tests.txt test1252.txt
r2v tests.txt
r3v tests.txt
r4v tests.txt test1252.txt
r5v tests.txt
r6v tests.txt
echo testing dll single threaded version....
r1l tests.txt test1252.txt
r2l tests.txt
r3l tests.txt
r4l tests.txt test1252.txt
r5l tests.txt
r6l tests.txt
echo testing dll multi-threaded version....
r1lm tests.txt test1252.txt
r2lm tests.txt
r3lm tests.txt
r4lm tests.txt test1252.txt
r5lm tests.txt
r6lm tests.txt
echo testing dll VCL version....
r1lv tests.txt test1252.txt
r2lv tests.txt
r3lv tests.txt
r4lv tests.txt test1252.txt
r5lv tests.txt
r6lv tests.txt
2002-09-13 11:52:11 +00:00
r1.exe : $( SOURCES )
$( BCC32) -tWM- -D_NO_VCL $( CFLAGS) -er1.exe -DBOOST_RE_TEST_LOCALE_W32 $( SOURCES)
2002-04-24 10:50:23 +00:00
2002-09-13 11:52:11 +00:00
r2.exe : $( SOURCES )
$( BCC32) -tWM- -D_NO_VCL $( CFLAGS) -er2.exe -DBOOST_RE_TEST_LOCALE_C $( SOURCES)
2002-04-24 10:50:23 +00:00
2002-09-13 11:52:11 +00:00
r3.exe : $( SOURCES )
$( BCC32) -tWM- -D_NO_VCL $( CFLAGS) -er3.exe -DBOOST_RE_TEST_LOCALE_CPP $( SOURCES)
2002-04-24 10:50:23 +00:00
2002-09-13 11:52:11 +00:00
r4.exe : $( SOURCES )
$( BCC32) -tWM- -D_NO_VCL $( CFLAGS) -er4.exe -DBOOST_RE_TEST_LOCALE_W32 -DTEST_UNICODE $( SOURCES)
2002-04-24 10:50:23 +00:00
2002-09-13 11:52:11 +00:00
r5.exe : $( SOURCES )
$( BCC32) -tWM- -D_NO_VCL $( CFLAGS) -er5.exe -DBOOST_RE_TEST_LOCALE_C -DTEST_UNICODE $( SOURCES)
2002-04-24 10:50:23 +00:00
2002-09-13 11:52:11 +00:00
r6.exe : $( SOURCES )
$( BCC32) -tWM- -D_NO_VCL $( CFLAGS) -er6.exe -DBOOST_RE_TEST_LOCALE_CPP -DTEST_UNICODE $( SOURCES)
2002-04-24 10:50:23 +00:00
2002-09-13 11:52:11 +00:00
r1m.exe : $( SOURCES )
$( BCC32) -tWM -D_NO_VCL $( CFLAGS) -er1m.exe -DBOOST_RE_TEST_LOCALE_W32 $( SOURCES)
r2m.exe : $( SOURCES )
$( BCC32) -tWM -D_NO_VCL $( CFLAGS) -er2m.exe -DBOOST_RE_TEST_LOCALE_C $( SOURCES)
2002-04-24 10:50:23 +00:00
2002-09-13 11:52:11 +00:00
r3m.exe : $( SOURCES )
$( BCC32) -tWM -D_NO_VCL $( CFLAGS) -er3m.exe -DBOOST_RE_TEST_LOCALE_CPP $( SOURCES)
2002-04-24 10:50:23 +00:00
2002-09-13 11:52:11 +00:00
r4m.exe : $( SOURCES )
$( BCC32) -tWM -D_NO_VCL $( CFLAGS) -er4m.exe -DBOOST_RE_TEST_LOCALE_W32 -DTEST_UNICODE $( SOURCES)
2002-04-24 10:50:23 +00:00
2002-09-13 11:52:11 +00:00
r5m.exe : $( SOURCES )
$( BCC32) -tWM -D_NO_VCL $( CFLAGS) -er5m.exe -DBOOST_RE_TEST_LOCALE_C -DTEST_UNICODE $( SOURCES)
2002-04-24 10:50:23 +00:00
2002-09-13 11:52:11 +00:00
r6m.exe : $( SOURCES )
$( BCC32) -tWM -D_NO_VCL $( CFLAGS) -er6m.exe -DBOOST_RE_TEST_LOCALE_CPP -DTEST_UNICODE $( SOURCES)
2002-04-24 10:50:23 +00:00
2002-09-13 11:52:11 +00:00
r1v.exe : $( SOURCES )
$( BCC32) -tWM -tWV $( CFLAGS) -er1v.exe -DBOOST_RE_TEST_LOCALE_W32 $( SOURCES) $( BPL)
2002-04-24 10:50:23 +00:00
2002-09-13 11:52:11 +00:00
r2v.exe : $( SOURCES )
$( BCC32) -tWM -tWV $( CFLAGS) -er2v.exe -DBOOST_RE_TEST_LOCALE_C $( SOURCES) $( BPL)
2002-04-24 10:50:23 +00:00
2002-09-13 11:52:11 +00:00
r3v.exe : $( SOURCES )
$( BCC32) -tWM -tWV $( CFLAGS) -er3v.exe -DBOOST_RE_TEST_LOCALE_CPP $( SOURCES) $( BPL)
2002-04-24 10:50:23 +00:00
2002-09-13 11:52:11 +00:00
r4v.exe : $( SOURCES )
$( BCC32) -tWM -tWV $( CFLAGS) -er4v.exe -DBOOST_RE_TEST_LOCALE_W32 -DTEST_UNICODE $( SOURCES) $( BPL)
2002-04-24 10:50:23 +00:00
2002-09-13 11:52:11 +00:00
r5v.exe : $( SOURCES )
$( BCC32) -tWM -tWV $( CFLAGS) -er5v.exe -DBOOST_RE_TEST_LOCALE_C -DTEST_UNICODE $( SOURCES) $( BPL)
2002-04-24 10:50:23 +00:00
2002-09-13 11:52:11 +00:00
r6v.exe : $( SOURCES )
$( BCC32) -tWM -tWV $( CFLAGS) -er6v.exe -DBOOST_RE_TEST_LOCALE_CPP -DTEST_UNICODE $( SOURCES) $( BPL)
2002-04-24 10:50:23 +00:00
2002-09-13 11:52:11 +00:00
r1l.exe : $( SOURCES )
2003-05-19 11:56:17 +00:00
$( BCC32) -tWM- -tWR -D_NO_VCL $( CFLAGS) -er1l.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_W32 $( SOURCES)
2002-04-24 10:50:23 +00:00
2002-09-13 11:52:11 +00:00
r2l.exe : $( SOURCES )
2003-05-19 11:56:17 +00:00
$( BCC32) -tWM- -tWR -D_NO_VCL $( CFLAGS) -er2l.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_C $( SOURCES)
2002-04-24 10:50:23 +00:00
2002-09-13 11:52:11 +00:00
r3l.exe : $( SOURCES )
2003-05-19 11:56:17 +00:00
$( BCC32) -tWM- -tWR -D_NO_VCL $( CFLAGS) -er3l.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_CPP $( SOURCES)
2002-04-24 10:50:23 +00:00
2002-09-13 11:52:11 +00:00
r4l.exe : $( SOURCES )
2003-05-19 11:56:17 +00:00
$( BCC32) -tWM- -tWR -D_NO_VCL $( CFLAGS) -er4l.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_W32 -DTEST_UNICODE $( SOURCES)
2002-04-24 10:50:23 +00:00
2002-09-13 11:52:11 +00:00
r5l.exe : $( SOURCES )
2003-05-19 11:56:17 +00:00
$( BCC32) -tWM- -tWR -D_NO_VCL $( CFLAGS) -er5l.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_C -DTEST_UNICODE $( SOURCES)
2002-04-24 10:50:23 +00:00
2002-09-13 11:52:11 +00:00
r6l.exe : $( SOURCES )
2003-05-19 11:56:17 +00:00
$( BCC32) -tWM- -tWR -D_NO_VCL $( CFLAGS) -er6l.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_CPP -DTEST_UNICODE $( SOURCES)
2002-04-24 10:50:23 +00:00
2002-09-13 11:52:11 +00:00
r1lm.exe : $( SOURCES )
2003-05-19 11:56:17 +00:00
$( BCC32) -tWM -tWR -D_NO_VCL $( CFLAGS) -er1lm.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_W32 $( SOURCES)
2002-04-24 10:50:23 +00:00
2002-09-13 11:52:11 +00:00
r2lm.exe : $( SOURCES )
2003-05-19 11:56:17 +00:00
$( BCC32) -tWM -tWR -D_NO_VCL $( CFLAGS) -er2lm.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_C $( SOURCES)
2002-04-24 10:50:23 +00:00
2002-09-13 11:52:11 +00:00
r3lm.exe : $( SOURCES )
2003-05-19 11:56:17 +00:00
$( BCC32) -tWM -tWR -D_NO_VCL $( CFLAGS) -er3lm.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_CPP $( SOURCES)
2002-04-24 10:50:23 +00:00
2002-09-13 11:52:11 +00:00
r4lm.exe : $( SOURCES )
2003-05-19 11:56:17 +00:00
$( BCC32) -tWM -tWR -D_NO_VCL $( CFLAGS) -er4lm.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_W32 -DTEST_UNICODE $( SOURCES)
2002-04-24 10:50:23 +00:00
2002-09-13 11:52:11 +00:00
r5lm.exe : $( SOURCES )
2003-05-19 11:56:17 +00:00
$( BCC32) -tWM -tWR -D_NO_VCL $( CFLAGS) -er5lm.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_C -DTEST_UNICODE $( SOURCES)
2002-04-24 10:50:23 +00:00
2002-09-13 11:52:11 +00:00
r6lm.exe : $( SOURCES )
2003-05-19 11:56:17 +00:00
$( BCC32) -tWM -tWR -D_NO_VCL $( CFLAGS) -er6lm.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_CPP -DTEST_UNICODE $( SOURCES)
2002-04-24 10:50:23 +00:00
2002-09-13 11:52:11 +00:00
r1lv.exe : $( SOURCES )
2003-05-19 11:56:17 +00:00
$( BCC32) -tWM -tWR -tWV -tWC $( CFLAGS) -er1lv.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_W32 $( SOURCES) $( BPI)
2002-04-24 10:50:23 +00:00
2002-09-13 11:52:11 +00:00
r2lv.exe : $( SOURCES )
2003-05-19 11:56:17 +00:00
$( BCC32) -tWM -tWR -tWV -tWC $( CFLAGS) -er2lv.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_C $( SOURCES) $( BPI)
2002-04-24 10:50:23 +00:00
2002-09-13 11:52:11 +00:00
r3lv.exe : $( SOURCES )
2003-05-19 11:56:17 +00:00
$( BCC32) -tWM -tWR -tWV -tWC $( CFLAGS) -er3lv.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_CPP $( SOURCES) $( BPI)
2002-04-24 10:50:23 +00:00
2002-09-13 11:52:11 +00:00
r4lv.exe : $( SOURCES )
2003-05-19 11:56:17 +00:00
$( BCC32) -tWM -tWR -tWV -tWC $( CFLAGS) -er4lv.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_W32 -DTEST_UNICODE $( SOURCES) $( BPI)
2002-04-24 10:50:23 +00:00
2002-09-13 11:52:11 +00:00
r5lv.exe : $( SOURCES )
2003-05-19 11:56:17 +00:00
$( BCC32) -tWM -tWR -tWV -tWC $( CFLAGS) -er5lv.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_C -DTEST_UNICODE $( SOURCES) $( BPI)
2002-04-24 10:50:23 +00:00
2002-09-13 11:52:11 +00:00
r6lv.exe : $( SOURCES )
2003-05-19 11:56:17 +00:00
$( BCC32) -tWM -tWR -tWV -tWC $( CFLAGS) -er6lv.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_CPP -DTEST_UNICODE $( SOURCES) $( BPI)
2002-04-24 10:50:23 +00:00
2003-11-02 12:13:16 +00:00
2005-01-13 17:06:21 +00:00
2003-11-02 12:13:16 +00:00
2005-06-18 16:55:01 +00:00
2006-07-16 17:24:25 +00:00
2003-11-02 12:13:16 +00:00
2002-07-07 10:28:32 +00:00