1# copyright John Maddock 2005 2# Use, modification and distribution are subject to the 3# Boost Software License, Version 1.0. (See accompanying file 4# LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5# 6# auto generated makefile for VC6 compiler 7# 8# usage: 9# make 10# brings libraries up to date 11# make install 12# brings libraries up to date and copies binaries to your VC6 /lib and /bin directories (recomended) 13# 14 15# 16# Add additional compiler options here: 17# 18CXXFLAGS= 19# 20# Add additional include directories here: 21# 22INCLUDES= 23# 24# add additional linker flags here: 25# 26XLFLAGS= 27# 28# add additional static-library creation flags here: 29# 30XSFLAGS= 31 32!IF "$(OS)" == "Windows_NT" 33NULL= 34!ELSE 35NULL=nul 36!ENDIF 37 38!IF "$(MSVCDIR)" == "" 39!ERROR Variable MSVCDIR not set. 40!ENDIF 41 42 43ALL_HEADER= 44 45all : main_dir liblink_test-vc7-s-1_35_dir ./vc7/liblink_test-vc7-s-1_35.lib ./vc7/liblink_test-vc7-s-1_35.exe liblink_test-vc7-mt-s-1_35_dir ./vc7/liblink_test-vc7-mt-s-1_35.lib ./vc7/liblink_test-vc7-mt-s-1_35.exe liblink_test-vc7-sgd-1_35_dir ./vc7/liblink_test-vc7-sgd-1_35.lib ./vc7/liblink_test-vc7-sgd-1_35.exe liblink_test-vc7-mt-sgd-1_35_dir ./vc7/liblink_test-vc7-mt-sgd-1_35.lib ./vc7/liblink_test-vc7-mt-sgd-1_35.exe link_test-vc7-mt-gd-1_35_dir ./vc7/link_test-vc7-mt-gd-1_35.lib ./vc7/link_test-vc7-mt-gd-1_35.exe link_test-vc7-mt-1_35_dir ./vc7/link_test-vc7-mt-1_35.lib ./vc7/link_test-vc7-mt-1_35.exe liblink_test-vc7-mt-1_35_dir ./vc7/liblink_test-vc7-mt-1_35.lib ./vc7/liblink_test-vc7-mt-1_35.exe liblink_test-vc7-mt-gd-1_35_dir ./vc7/liblink_test-vc7-mt-gd-1_35.lib ./vc7/liblink_test-vc7-mt-gd-1_35.exe 46 47clean : liblink_test-vc7-s-1_35_clean liblink_test-vc7-mt-s-1_35_clean liblink_test-vc7-sgd-1_35_clean liblink_test-vc7-mt-sgd-1_35_clean link_test-vc7-mt-gd-1_35_clean link_test-vc7-mt-1_35_clean liblink_test-vc7-mt-1_35_clean liblink_test-vc7-mt-gd-1_35_clean 48 49install : all 50 copy vc7\liblink_test-vc7-s-1_35.lib "$(MSVCDIR)\lib" 51 copy vc7\liblink_test-vc7-mt-s-1_35.lib "$(MSVCDIR)\lib" 52 copy vc7\liblink_test-vc7-sgd-1_35.lib "$(MSVCDIR)\lib" 53 copy vc7\liblink_test-vc7-sgd-1_35.pdb "$(MSVCDIR)\lib" 54 copy vc7\liblink_test-vc7-mt-sgd-1_35.lib "$(MSVCDIR)\lib" 55 copy vc7\liblink_test-vc7-mt-sgd-1_35.pdb "$(MSVCDIR)\lib" 56 copy vc7\link_test-vc7-mt-gd-1_35.lib "$(MSVCDIR)\lib" 57 copy vc7\link_test-vc7-mt-gd-1_35.dll "$(MSVCDIR)\bin" 58 copy vc7\link_test-vc7-mt-gd-1_35.pdb "$(MSVCDIR)\lib" 59 copy vc7\link_test-vc7-mt-1_35.lib "$(MSVCDIR)\lib" 60 copy vc7\link_test-vc7-mt-1_35.dll "$(MSVCDIR)\bin" 61 copy vc7\liblink_test-vc7-mt-1_35.lib "$(MSVCDIR)\lib" 62 copy vc7\liblink_test-vc7-mt-gd-1_35.lib "$(MSVCDIR)\lib" 63 copy vc7\liblink_test-vc7-mt-gd-1_35.pdb "$(MSVCDIR)\lib" 64 65main_dir : 66 @if not exist "vc7\$(NULL)" mkdir vc7 67 68 69######################################################## 70# 71# section for liblink_test-vc7-s-1_35.lib 72# 73######################################################## 74vc7/liblink_test-vc7-s-1_35/link_test.obj: link_test.cpp $(ALL_HEADER) 75 cl /c $(INCLUDES) /nologo /ML /W3 /GX /O2 /GB /GF /Gy /I..\..\..\..\ /DWIN32 /DNDEBUG /D_MBCS /D_LIB /FD $(CXXFLAGS) -Y- -Fo./vc7/liblink_test-vc7-s-1_35/ -Fdvc7/liblink_test-vc7-s-1_35.pdb link_test.cpp 76 77liblink_test-vc7-s-1_35_dir : 78 @if not exist "vc7\liblink_test-vc7-s-1_35\$(NULL)" mkdir vc7\liblink_test-vc7-s-1_35 79 80liblink_test-vc7-s-1_35_clean : 81 del vc7\liblink_test-vc7-s-1_35\*.obj 82 del vc7\liblink_test-vc7-s-1_35\*.idb 83 del vc7\liblink_test-vc7-s-1_35\*.exp 84 del vc7\liblink_test-vc7-s-1_35\*.pch 85 86./vc7/liblink_test-vc7-s-1_35.lib : vc7/liblink_test-vc7-s-1_35/link_test.obj 87 link -lib /nologo /out:vc7/liblink_test-vc7-s-1_35.lib $(XSFLAGS) vc7/liblink_test-vc7-s-1_35/link_test.obj 88 89./vc7/liblink_test-vc7-s-1_35.exe : main.cpp ./vc7/liblink_test-vc7-s-1_35.lib 90 cl $(INCLUDES) /nologo /ML /W3 /GX /O2 /GB /GF /Gy /I..\..\..\..\ /DWIN32 /DNDEBUG /D_MBCS /D_LIB /FD /DBOOST_LIB_DIAGNOSTIC=1 $(CXXFLAGS) -o ./vc7/liblink_test-vc7-s-1_35.exe main.cpp /link /LIBPATH:./vc7 91 vc7\liblink_test-vc7-s-1_35.exe 92 93######################################################## 94# 95# section for liblink_test-vc7-mt-s-1_35.lib 96# 97######################################################## 98vc7/liblink_test-vc7-mt-s-1_35/link_test.obj: link_test.cpp $(ALL_HEADER) 99 cl /c $(INCLUDES) /nologo /MT /W3 /GX /O2 /GB /GF /Gy /I..\..\..\..\ /D_MT /DWIN32 /DNDEBUG /D_MBCS /D_LIB /FD $(CXXFLAGS) -Y- -Fo./vc7/liblink_test-vc7-mt-s-1_35/ -Fdvc7/liblink_test-vc7-mt-s-1_35.pdb link_test.cpp 100 101liblink_test-vc7-mt-s-1_35_dir : 102 @if not exist "vc7\liblink_test-vc7-mt-s-1_35\$(NULL)" mkdir vc7\liblink_test-vc7-mt-s-1_35 103 104liblink_test-vc7-mt-s-1_35_clean : 105 del vc7\liblink_test-vc7-mt-s-1_35\*.obj 106 del vc7\liblink_test-vc7-mt-s-1_35\*.idb 107 del vc7\liblink_test-vc7-mt-s-1_35\*.exp 108 del vc7\liblink_test-vc7-mt-s-1_35\*.pch 109 110./vc7/liblink_test-vc7-mt-s-1_35.lib : vc7/liblink_test-vc7-mt-s-1_35/link_test.obj 111 link -lib /nologo /out:vc7/liblink_test-vc7-mt-s-1_35.lib $(XSFLAGS) vc7/liblink_test-vc7-mt-s-1_35/link_test.obj 112 113./vc7/liblink_test-vc7-mt-s-1_35.exe : main.cpp ./vc7/liblink_test-vc7-mt-s-1_35.lib 114 cl $(INCLUDES) /nologo /MT /W3 /GX /O2 /GB /GF /Gy /I..\..\..\..\ /D_MT /DWIN32 /DNDEBUG /D_MBCS /D_LIB /FD /DBOOST_LIB_DIAGNOSTIC=1 $(CXXFLAGS) -o ./vc7/liblink_test-vc7-mt-s-1_35.exe main.cpp /link /LIBPATH:./vc7 115 vc7\liblink_test-vc7-mt-s-1_35.exe 116 117######################################################## 118# 119# section for liblink_test-vc7-sgd-1_35.lib 120# 121######################################################## 122vc7/liblink_test-vc7-sgd-1_35/link_test.obj: link_test.cpp $(ALL_HEADER) 123 cl /c $(INCLUDES) /nologo /MLd /W3 /Gm /GX /Zi /Od /I..\..\..\..\ /DWIN32 /D_DEBUG /D_MBCS /D_LIB /FD /GX /RTC1 $(CXXFLAGS) -Y- -Fo./vc7/liblink_test-vc7-sgd-1_35/ -Fdvc7/liblink_test-vc7-sgd-1_35.pdb link_test.cpp 124 125liblink_test-vc7-sgd-1_35_dir : 126 @if not exist "vc7\liblink_test-vc7-sgd-1_35\$(NULL)" mkdir vc7\liblink_test-vc7-sgd-1_35 127 128liblink_test-vc7-sgd-1_35_clean : 129 del vc7\liblink_test-vc7-sgd-1_35\*.obj 130 del vc7\liblink_test-vc7-sgd-1_35\*.idb 131 del vc7\liblink_test-vc7-sgd-1_35\*.exp 132 del vc7\liblink_test-vc7-sgd-1_35\*.pch 133 134./vc7/liblink_test-vc7-sgd-1_35.lib : vc7/liblink_test-vc7-sgd-1_35/link_test.obj 135 link -lib /nologo /out:vc7/liblink_test-vc7-sgd-1_35.lib $(XSFLAGS) vc7/liblink_test-vc7-sgd-1_35/link_test.obj 136 137./vc7/liblink_test-vc7-sgd-1_35.exe : main.cpp ./vc7/liblink_test-vc7-sgd-1_35.lib 138 cl $(INCLUDES) /nologo /MLd /W3 /Gm /GX /Zi /Od /I..\..\..\..\ /DWIN32 /D_DEBUG /D_MBCS /D_LIB /FD /GX /RTC1 /DBOOST_LIB_DIAGNOSTIC=1 $(CXXFLAGS) -o ./vc7/liblink_test-vc7-sgd-1_35.exe main.cpp /link /LIBPATH:./vc7 139 vc7\liblink_test-vc7-sgd-1_35.exe 140 141######################################################## 142# 143# section for liblink_test-vc7-mt-sgd-1_35.lib 144# 145######################################################## 146vc7/liblink_test-vc7-mt-sgd-1_35/link_test.obj: link_test.cpp $(ALL_HEADER) 147 cl /c $(INCLUDES) /nologo /MTd /W3 /Gm /GX /Zi /Od /I..\..\..\..\ /DWIN32 /D_MT /D_DEBUG /D_MBCS /D_LIB /FD /GX /RTC1 $(CXXFLAGS) -Y- -Fo./vc7/liblink_test-vc7-mt-sgd-1_35/ -Fdvc7/liblink_test-vc7-mt-sgd-1_35.pdb link_test.cpp 148 149liblink_test-vc7-mt-sgd-1_35_dir : 150 @if not exist "vc7\liblink_test-vc7-mt-sgd-1_35\$(NULL)" mkdir vc7\liblink_test-vc7-mt-sgd-1_35 151 152liblink_test-vc7-mt-sgd-1_35_clean : 153 del vc7\liblink_test-vc7-mt-sgd-1_35\*.obj 154 del vc7\liblink_test-vc7-mt-sgd-1_35\*.idb 155 del vc7\liblink_test-vc7-mt-sgd-1_35\*.exp 156 del vc7\liblink_test-vc7-mt-sgd-1_35\*.pch 157 158./vc7/liblink_test-vc7-mt-sgd-1_35.lib : vc7/liblink_test-vc7-mt-sgd-1_35/link_test.obj 159 link -lib /nologo /out:vc7/liblink_test-vc7-mt-sgd-1_35.lib $(XSFLAGS) vc7/liblink_test-vc7-mt-sgd-1_35/link_test.obj 160 161./vc7/liblink_test-vc7-mt-sgd-1_35.exe : main.cpp ./vc7/liblink_test-vc7-mt-sgd-1_35.lib 162 cl $(INCLUDES) /nologo /MTd /W3 /Gm /GX /Zi /Od /I..\..\..\..\ /DWIN32 /D_MT /D_DEBUG /D_MBCS /D_LIB /FD /GX /RTC1 /DBOOST_LIB_DIAGNOSTIC=1 $(CXXFLAGS) -o ./vc7/liblink_test-vc7-mt-sgd-1_35.exe main.cpp /link /LIBPATH:./vc7 163 vc7\liblink_test-vc7-mt-sgd-1_35.exe 164 165######################################################## 166# 167# section for link_test-vc7-mt-gd-1_35.lib 168# 169######################################################## 170vc7/link_test-vc7-mt-gd-1_35/link_test.obj: link_test.cpp $(ALL_HEADER) 171 cl /c $(INCLUDES) /nologo /MDd /W3 /Gm /GX /Zi /Od /I..\..\..\..\ /D_DEBUG /DBOOST_DYN_LINK /DWIN32 /D_WINDOWS /D_MBCS /DUSRDLL /FD /GX /RTC1 $(CXXFLAGS) -Y- -Fo./vc7/link_test-vc7-mt-gd-1_35/ -Fdvc7/link_test-vc7-mt-gd-1_35.pdb link_test.cpp 172 173link_test-vc7-mt-gd-1_35_dir : 174 @if not exist "vc7\link_test-vc7-mt-gd-1_35\$(NULL)" mkdir vc7\link_test-vc7-mt-gd-1_35 175 176link_test-vc7-mt-gd-1_35_clean : 177 del vc7\link_test-vc7-mt-gd-1_35\*.obj 178 del vc7\link_test-vc7-mt-gd-1_35\*.idb 179 del vc7\link_test-vc7-mt-gd-1_35\*.exp 180 del vc7\link_test-vc7-mt-gd-1_35\*.pch 181 182./vc7/link_test-vc7-mt-gd-1_35.lib : vc7/link_test-vc7-mt-gd-1_35/link_test.obj 183 link kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /incremental:yes /pdb:"vc7/link_test-vc7-mt-gd-1_35.pdb" /debug /machine:I386 /out:"vc7/link_test-vc7-mt-gd-1_35.dll" /implib:"vc7/link_test-vc7-mt-gd-1_35.lib" /LIBPATH:$(STLPORT_PATH)\lib $(XLFLAGS) vc7/link_test-vc7-mt-gd-1_35/link_test.obj 184 185./vc7/link_test-vc7-mt-gd-1_35.exe : main.cpp ./vc7/link_test-vc7-mt-gd-1_35.lib 186 cl $(INCLUDES) /nologo /MDd /W3 /Gm /GX /Zi /Od /I..\..\..\..\ /D_DEBUG /DBOOST_DYN_LINK /DWIN32 /D_WINDOWS /D_MBCS /DUSRDLL /FD /GX /RTC1 /DBOOST_LIB_DIAGNOSTIC=1 $(CXXFLAGS) -o ./vc7/link_test-vc7-mt-gd-1_35.exe main.cpp /link /LIBPATH:./vc7 187 vc7\link_test-vc7-mt-gd-1_35.exe 188 189######################################################## 190# 191# section for link_test-vc7-mt-1_35.lib 192# 193######################################################## 194vc7/link_test-vc7-mt-1_35/link_test.obj: link_test.cpp $(ALL_HEADER) 195 cl /c $(INCLUDES) /nologo /MD /W3 /GX /O2 /GB /GF /Gy /I..\..\..\..\ /DBOOST_DYN_LINK /DNDEBUG /DWIN32 /D_WINDOWS /D_MBCS /D_USRDLL /FD $(CXXFLAGS) -Y- -Fo./vc7/link_test-vc7-mt-1_35/ -Fdvc7/link_test-vc7-mt-1_35.pdb link_test.cpp 196 197link_test-vc7-mt-1_35_dir : 198 @if not exist "vc7\link_test-vc7-mt-1_35\$(NULL)" mkdir vc7\link_test-vc7-mt-1_35 199 200link_test-vc7-mt-1_35_clean : 201 del vc7\link_test-vc7-mt-1_35\*.obj 202 del vc7\link_test-vc7-mt-1_35\*.idb 203 del vc7\link_test-vc7-mt-1_35\*.exp 204 del vc7\link_test-vc7-mt-1_35\*.pch 205 206./vc7/link_test-vc7-mt-1_35.lib : vc7/link_test-vc7-mt-1_35/link_test.obj 207 link kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /incremental:yes /pdb:"vc7/link_test-vc7-mt-1_35.pdb" /debug /machine:I386 /out:"vc7/link_test-vc7-mt-1_35.dll" /implib:"vc7/link_test-vc7-mt-1_35.lib" /LIBPATH:$(STLPORT_PATH)\lib $(XLFLAGS) vc7/link_test-vc7-mt-1_35/link_test.obj 208 209./vc7/link_test-vc7-mt-1_35.exe : main.cpp ./vc7/link_test-vc7-mt-1_35.lib 210 cl $(INCLUDES) /nologo /MD /W3 /GX /O2 /GB /GF /Gy /I..\..\..\..\ /DBOOST_DYN_LINK /DNDEBUG /DWIN32 /D_WINDOWS /D_MBCS /D_USRDLL /FD /DBOOST_LIB_DIAGNOSTIC=1 $(CXXFLAGS) -o ./vc7/link_test-vc7-mt-1_35.exe main.cpp /link /LIBPATH:./vc7 211 vc7\link_test-vc7-mt-1_35.exe 212 213######################################################## 214# 215# section for liblink_test-vc7-mt-1_35.lib 216# 217######################################################## 218vc7/liblink_test-vc7-mt-1_35/link_test.obj: link_test.cpp $(ALL_HEADER) 219 cl /c $(INCLUDES) /nologo /MD /W3 /GX /O2 /GB /GF /Gy /I..\..\..\..\ /DBOOST_REGEX_STATIC_LINK /DNDEBUG /DWIN32 /D_WINDOWS /D_MBCS /D_USRDLL /FD $(CXXFLAGS) -Y- -Fo./vc7/liblink_test-vc7-mt-1_35/ -Fdvc7/liblink_test-vc7-mt-1_35.pdb link_test.cpp 220 221liblink_test-vc7-mt-1_35_dir : 222 @if not exist "vc7\liblink_test-vc7-mt-1_35\$(NULL)" mkdir vc7\liblink_test-vc7-mt-1_35 223 224liblink_test-vc7-mt-1_35_clean : 225 del vc7\liblink_test-vc7-mt-1_35\*.obj 226 del vc7\liblink_test-vc7-mt-1_35\*.idb 227 del vc7\liblink_test-vc7-mt-1_35\*.exp 228 del vc7\liblink_test-vc7-mt-1_35\*.pch 229 230./vc7/liblink_test-vc7-mt-1_35.lib : vc7/liblink_test-vc7-mt-1_35/link_test.obj 231 link -lib /nologo /out:vc7/liblink_test-vc7-mt-1_35.lib $(XSFLAGS) vc7/liblink_test-vc7-mt-1_35/link_test.obj 232 233./vc7/liblink_test-vc7-mt-1_35.exe : main.cpp ./vc7/liblink_test-vc7-mt-1_35.lib 234 cl $(INCLUDES) /nologo /MD /W3 /GX /O2 /GB /GF /Gy /I..\..\..\..\ /DBOOST_REGEX_STATIC_LINK /DNDEBUG /DWIN32 /D_WINDOWS /D_MBCS /D_USRDLL /FD /DBOOST_LIB_DIAGNOSTIC=1 $(CXXFLAGS) -o ./vc7/liblink_test-vc7-mt-1_35.exe main.cpp /link /LIBPATH:./vc7 235 vc7\liblink_test-vc7-mt-1_35.exe 236 237######################################################## 238# 239# section for liblink_test-vc7-mt-gd-1_35.lib 240# 241######################################################## 242vc7/liblink_test-vc7-mt-gd-1_35/link_test.obj: link_test.cpp $(ALL_HEADER) 243 cl /c $(INCLUDES) /nologo /MDd /W3 /Gm /GX /Zi /Od /I..\..\..\..\ /DBOOST_REGEX_STATIC_LINK /D_DEBUG /DWIN32 /D_WINDOWS /D_MBCS /DUSRDLL /FD /GX /RTC1 $(CXXFLAGS) -Y- -Fo./vc7/liblink_test-vc7-mt-gd-1_35/ -Fdvc7/liblink_test-vc7-mt-gd-1_35.pdb link_test.cpp 244 245liblink_test-vc7-mt-gd-1_35_dir : 246 @if not exist "vc7\liblink_test-vc7-mt-gd-1_35\$(NULL)" mkdir vc7\liblink_test-vc7-mt-gd-1_35 247 248liblink_test-vc7-mt-gd-1_35_clean : 249 del vc7\liblink_test-vc7-mt-gd-1_35\*.obj 250 del vc7\liblink_test-vc7-mt-gd-1_35\*.idb 251 del vc7\liblink_test-vc7-mt-gd-1_35\*.exp 252 del vc7\liblink_test-vc7-mt-gd-1_35\*.pch 253 254./vc7/liblink_test-vc7-mt-gd-1_35.lib : vc7/liblink_test-vc7-mt-gd-1_35/link_test.obj 255 link -lib /nologo /out:vc7/liblink_test-vc7-mt-gd-1_35.lib $(XSFLAGS) vc7/liblink_test-vc7-mt-gd-1_35/link_test.obj 256 257./vc7/liblink_test-vc7-mt-gd-1_35.exe : main.cpp ./vc7/liblink_test-vc7-mt-gd-1_35.lib 258 cl $(INCLUDES) /nologo /MDd /W3 /Gm /GX /Zi /Od /I..\..\..\..\ /DBOOST_REGEX_STATIC_LINK /D_DEBUG /DWIN32 /D_WINDOWS /D_MBCS /DUSRDLL /FD /GX /RTC1 /DBOOST_LIB_DIAGNOSTIC=1 $(CXXFLAGS) -o ./vc7/liblink_test-vc7-mt-gd-1_35.exe main.cpp /link /LIBPATH:./vc7 259 vc7\liblink_test-vc7-mt-gd-1_35.exe 260 261