1 # copyright John Maddock 2003
2 # Distributed under the Boost Software License, Version 1.0.
3 # (See accompanying file LICENSE_1_0.txt or copy at
4 # http://www.boost.org/LICENSE_1_0.txt.
6 # very basic makefile for regression tests
8 # Visual C++ 6 + full stlport 4.x
10 # we don't test single threaded builds as stlport doesn't support these...
13 # Add additional compiler options here:
17 # Add additional debugging options here:
19 CXXDEBUG
=/D_STLP_DEBUG
=1
21 # Add additional include directories here:
25 # add additional linker flags here:
29 # sources to compile for each test:
33 !IF
"$(MSVCDIR)" == ""
34 !ERROR Variable MSVCDIR not set.
37 !IF
"$(STLPORT_PATH)" == ""
38 !ERROR Variable STLPORT_PATH not set.
42 CFLAGS
= $(INCLUDES
) /I
$(STLPORT_PATH
)\stlport
/Zm400
/GF
/Gy
-GX
-GR
-I..\..\..\..\
$(CXXFLAGS
) /DBOOST_LIB_DIAGNOSTIC
=1
44 LFLAGS
= -link
/LIBPATH
:..\..\..\..\stage\lib
/LIBPATH
:..\..
\build
\vc
6-stlport
/LIBPATH
:$(STLPORT_PATH
)\lib user32.lib
$(XLFLAGS
)
46 all :: r3-vc6-stlport.exe r4-vc6-stlport.exe r5-vc6-stlport.exe r6-vc6-stlport.exe r7-vc6-stlport.exe r8-vc6-stlport.exe
53 -copy ..\..
\build
\vc
6\boost_regex
*.dll
54 -copy ..\..\..\..\stage\lib
\boost_regex
*.dll
59 cl
/MT
$(CFLAGS
) /O2
-o r3-vc6-stlport.exe
$(SOURCES
) $(LFLAGS
)
62 cl
/MTd
$(CFLAGS
) -o r4-vc6-stlport.exe
$(SOURCES
) $(LFLAGS
)
65 cl
/MD
$(CFLAGS
) /O2
-o r5-vc6-stlport.exe
$(SOURCES
) $(LFLAGS
)
68 cl
/MDd
$(CFLAGS
) -o r6-vc6-stlport.exe
$(SOURCES
) $(LFLAGS
)
71 cl
/MD
$(CFLAGS
) /O2
/DBOOST_ALL_DYN_LINK
-o r7-vc6-stlport.exe
$(SOURCES
) $(LFLAGS
)
74 cl
/MDd
$(CFLAGS
) /DBOOST_ALL_DYN_LINK
-o r8-vc6-stlport.exe
$(SOURCES
) $(LFLAGS
)