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. 5 6# very basic makefile for regression tests 7# 8# Visual C++ 6 + full stlport 4.x 9# 10# we don't test single threaded builds as stlport doesn't support these... 11# 12# 13# Add additional compiler options here: 14# 15CXXFLAGS= 16# 17# Add additional debugging options here: 18# 19CXXDEBUG=/D_STLP_DEBUG=1 20# 21# Add additional include directories here: 22# 23INCLUDES= 24# 25# add additional linker flags here: 26# 27XLFLAGS= 28# 29# sources to compile for each test: 30# 31SOURCES=*.cpp 32 33!IF "$(MSVCDIR)" == "" 34!ERROR Variable MSVCDIR not set. 35!ENDIF 36 37!IF "$(STLPORT_PATH)" == "" 38!ERROR Variable STLPORT_PATH not set. 39!ENDIF 40 41 42CFLAGS= $(INCLUDES) /I$(STLPORT_PATH)\stlport /Zm400 /GF /Gy -GX -GR -I..\..\..\..\ $(CXXFLAGS) /DBOOST_LIB_DIAGNOSTIC=1 43 44LFLAGS= -link /LIBPATH:..\..\..\..\stage\lib /LIBPATH:..\..\build\vc6-stlport /LIBPATH:$(STLPORT_PATH)\lib user32.lib $(XLFLAGS) 45 46all :: r3-vc6-stlport.exe r4-vc6-stlport.exe r5-vc6-stlport.exe r6-vc6-stlport.exe r7-vc6-stlport.exe r8-vc6-stlport.exe 47 r1-vc6-stlport 48 r2-vc6-stlport 49 r3-vc6-stlport 50 r4-vc6-stlport 51 r5-vc6-stlport 52 r6-vc6-stlport 53 -copy ..\..\build\vc6\boost_regex*.dll 54 -copy ..\..\..\..\stage\lib\boost_regex*.dll 55 r7-vc6-stlport 56 r8-vc6-stlport 57 58r3-vc6-stlport.exe : 59 cl /MT $(CFLAGS) /O2 -o r3-vc6-stlport.exe $(SOURCES) $(LFLAGS) 60 61r4-vc6-stlport.exe : 62 cl /MTd $(CFLAGS) -o r4-vc6-stlport.exe $(SOURCES) $(LFLAGS) 63 64r5-vc6-stlport.exe : 65 cl /MD $(CFLAGS) /O2 -o r5-vc6-stlport.exe $(SOURCES) $(LFLAGS) 66 67r6-vc6-stlport.exe : 68 cl /MDd $(CFLAGS) -o r6-vc6-stlport.exe $(SOURCES) $(LFLAGS) 69 70r7-vc6-stlport.exe : 71 cl /MD $(CFLAGS) /O2 /DBOOST_ALL_DYN_LINK -o r7-vc6-stlport.exe $(SOURCES) $(LFLAGS) 72 73r8-vc6-stlport.exe : 74 cl /MDd $(CFLAGS) /DBOOST_ALL_DYN_LINK -o r8-vc6-stlport.exe $(SOURCES) $(LFLAGS) 75 76 77 78