bcb6.mak 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  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. # very basic makefile for regress
  6. #
  7. # Borland C++ tools
  8. #
  9. # BCROOT defines the root directory of your bcb install
  10. #
  11. !ifndef BCROOT
  12. BCROOT=$(MAKEDIR)\..
  13. !endif
  14. #
  15. # sources to compile for each test:
  16. #
  17. SOURCES=*.cpp
  18. BCC32 = $(BCROOT)\bin\Bcc32.exe
  19. TLINK32 = $(BCROOT)\bin\ILink32.exe
  20. IDE_LinkFLAGS32 = -L$(BCROOT)\LIB
  21. LINKOPTS= -ap -Tpe -x
  22. CFLAGS= -tWC -DSTRICT; -Vx -Ve -w-inl -w-aus -w-csu -w-eff -w-rch -I$(BCROOT)\include;..\..\..\..\; -L..\..\..\..\stage\lib -L$(BCROOT)\lib\obj -L$(BCROOT)\lib\release -L..\..\build\bcb $(CXXFLAGS)
  23. BPI= vcl.bpi rtl.bpi vclx.bpi vcle.lib
  24. BPL= vcl.lib rtl.lib vcle.lib
  25. all :: r1.exe r2.exe r3.exe r4.exe r5.exe r6.exe r1m.exe r2m.exe r3m.exe r4m.exe r5m.exe r6m.exe r1v.exe r2v.exe r3v.exe r4v.exe r5v.exe r6v.exe r1l.exe r2l.exe r3l.exe r4l.exe r5l.exe r6l.exe r1lm.exe r2lm.exe r3lm.exe r4lm.exe r5lm.exe r6lm.exe r1lv.exe r2lv.exe r3lv.exe r4lv.exe r5lv.exe r6lv.exe
  26. -copy ..\..\build\bcb6\*.dll
  27. -copy ..\..\..\..\stage\lib\*bcb*.dll
  28. echo testing static single threaded version....
  29. r1 tests.txt test1252.txt
  30. r2 tests.txt
  31. r3 tests.txt
  32. r4 tests.txt test1252.txt
  33. r5 tests.txt
  34. r6 tests.txt
  35. echo testing static multi-threaded version....
  36. r1m tests.txt test1252.txt
  37. r2m tests.txt
  38. r3m tests.txt
  39. r4m tests.txt test1252.txt
  40. r5m tests.txt
  41. r6m tests.txt
  42. echo testing static VCL version....
  43. r1v tests.txt test1252.txt
  44. r2v tests.txt
  45. r3v tests.txt
  46. r4v tests.txt test1252.txt
  47. r5v tests.txt
  48. r6v tests.txt
  49. echo testing dll single threaded version....
  50. r1l tests.txt test1252.txt
  51. r2l tests.txt
  52. r3l tests.txt
  53. r4l tests.txt test1252.txt
  54. r5l tests.txt
  55. r6l tests.txt
  56. echo testing dll multi-threaded version....
  57. r1lm tests.txt test1252.txt
  58. r2lm tests.txt
  59. r3lm tests.txt
  60. r4lm tests.txt test1252.txt
  61. r5lm tests.txt
  62. r6lm tests.txt
  63. echo testing dll VCL version....
  64. r1lv tests.txt test1252.txt
  65. r2lv tests.txt
  66. r3lv tests.txt
  67. r4lv tests.txt test1252.txt
  68. r5lv tests.txt
  69. r6lv tests.txt
  70. r1.exe : $(SOURCES)
  71. $(BCC32) -tWM- -D_NO_VCL $(CFLAGS) -er1.exe -DBOOST_RE_TEST_LOCALE_W32 $(SOURCES)
  72. r2.exe : $(SOURCES)
  73. $(BCC32) -tWM- -D_NO_VCL $(CFLAGS) -er2.exe -DBOOST_RE_TEST_LOCALE_C $(SOURCES)
  74. r3.exe : $(SOURCES)
  75. $(BCC32) -tWM- -D_NO_VCL $(CFLAGS) -er3.exe -DBOOST_RE_TEST_LOCALE_CPP $(SOURCES)
  76. r4.exe : $(SOURCES)
  77. $(BCC32) -tWM- -D_NO_VCL $(CFLAGS) -er4.exe -DBOOST_RE_TEST_LOCALE_W32 -DTEST_UNICODE $(SOURCES)
  78. r5.exe : $(SOURCES)
  79. $(BCC32) -tWM- -D_NO_VCL $(CFLAGS) -er5.exe -DBOOST_RE_TEST_LOCALE_C -DTEST_UNICODE $(SOURCES)
  80. r6.exe : $(SOURCES)
  81. $(BCC32) -tWM- -D_NO_VCL $(CFLAGS) -er6.exe -DBOOST_RE_TEST_LOCALE_CPP -DTEST_UNICODE $(SOURCES)
  82. r1m.exe : $(SOURCES)
  83. $(BCC32) -tWM -D_NO_VCL $(CFLAGS) -er1m.exe -DBOOST_RE_TEST_LOCALE_W32 $(SOURCES)
  84. r2m.exe : $(SOURCES)
  85. $(BCC32) -tWM -D_NO_VCL $(CFLAGS) -er2m.exe -DBOOST_RE_TEST_LOCALE_C $(SOURCES)
  86. r3m.exe : $(SOURCES)
  87. $(BCC32) -tWM -D_NO_VCL $(CFLAGS) -er3m.exe -DBOOST_RE_TEST_LOCALE_CPP $(SOURCES)
  88. r4m.exe : $(SOURCES)
  89. $(BCC32) -tWM -D_NO_VCL $(CFLAGS) -er4m.exe -DBOOST_RE_TEST_LOCALE_W32 -DTEST_UNICODE $(SOURCES)
  90. r5m.exe : $(SOURCES)
  91. $(BCC32) -tWM -D_NO_VCL $(CFLAGS) -er5m.exe -DBOOST_RE_TEST_LOCALE_C -DTEST_UNICODE $(SOURCES)
  92. r6m.exe : $(SOURCES)
  93. $(BCC32) -tWM -D_NO_VCL $(CFLAGS) -er6m.exe -DBOOST_RE_TEST_LOCALE_CPP -DTEST_UNICODE $(SOURCES)
  94. r1v.exe : $(SOURCES)
  95. $(BCC32) -tWM -tWV $(CFLAGS) -er1v.exe -DBOOST_RE_TEST_LOCALE_W32 $(SOURCES) $(BPL)
  96. r2v.exe : $(SOURCES)
  97. $(BCC32) -tWM -tWV $(CFLAGS) -er2v.exe -DBOOST_RE_TEST_LOCALE_C $(SOURCES) $(BPL)
  98. r3v.exe : $(SOURCES)
  99. $(BCC32) -tWM -tWV $(CFLAGS) -er3v.exe -DBOOST_RE_TEST_LOCALE_CPP $(SOURCES) $(BPL)
  100. r4v.exe : $(SOURCES)
  101. $(BCC32) -tWM -tWV $(CFLAGS) -er4v.exe -DBOOST_RE_TEST_LOCALE_W32 -DTEST_UNICODE $(SOURCES) $(BPL)
  102. r5v.exe : $(SOURCES)
  103. $(BCC32) -tWM -tWV $(CFLAGS) -er5v.exe -DBOOST_RE_TEST_LOCALE_C -DTEST_UNICODE $(SOURCES) $(BPL)
  104. r6v.exe : $(SOURCES)
  105. $(BCC32) -tWM -tWV $(CFLAGS) -er6v.exe -DBOOST_RE_TEST_LOCALE_CPP -DTEST_UNICODE $(SOURCES) $(BPL)
  106. r1l.exe : $(SOURCES)
  107. $(BCC32) -tWM- -tWR -D_NO_VCL $(CFLAGS) -er1l.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_W32 $(SOURCES)
  108. r2l.exe : $(SOURCES)
  109. $(BCC32) -tWM- -tWR -D_NO_VCL $(CFLAGS) -er2l.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_C $(SOURCES)
  110. r3l.exe : $(SOURCES)
  111. $(BCC32) -tWM- -tWR -D_NO_VCL $(CFLAGS) -er3l.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_CPP $(SOURCES)
  112. r4l.exe : $(SOURCES)
  113. $(BCC32) -tWM- -tWR -D_NO_VCL $(CFLAGS) -er4l.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_W32 -DTEST_UNICODE $(SOURCES)
  114. r5l.exe : $(SOURCES)
  115. $(BCC32) -tWM- -tWR -D_NO_VCL $(CFLAGS) -er5l.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_C -DTEST_UNICODE $(SOURCES)
  116. r6l.exe : $(SOURCES)
  117. $(BCC32) -tWM- -tWR -D_NO_VCL $(CFLAGS) -er6l.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_CPP -DTEST_UNICODE $(SOURCES)
  118. r1lm.exe : $(SOURCES)
  119. $(BCC32) -tWM -tWR -D_NO_VCL $(CFLAGS) -er1lm.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_W32 $(SOURCES)
  120. r2lm.exe : $(SOURCES)
  121. $(BCC32) -tWM -tWR -D_NO_VCL $(CFLAGS) -er2lm.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_C $(SOURCES)
  122. r3lm.exe : $(SOURCES)
  123. $(BCC32) -tWM -tWR -D_NO_VCL $(CFLAGS) -er3lm.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_CPP $(SOURCES)
  124. r4lm.exe : $(SOURCES)
  125. $(BCC32) -tWM -tWR -D_NO_VCL $(CFLAGS) -er4lm.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_W32 -DTEST_UNICODE $(SOURCES)
  126. r5lm.exe : $(SOURCES)
  127. $(BCC32) -tWM -tWR -D_NO_VCL $(CFLAGS) -er5lm.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_C -DTEST_UNICODE $(SOURCES)
  128. r6lm.exe : $(SOURCES)
  129. $(BCC32) -tWM -tWR -D_NO_VCL $(CFLAGS) -er6lm.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_CPP -DTEST_UNICODE $(SOURCES)
  130. r1lv.exe : $(SOURCES)
  131. $(BCC32) -tWM -tWR -tWV -tWC $(CFLAGS) -er1lv.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_W32 $(SOURCES) $(BPI)
  132. r2lv.exe : $(SOURCES)
  133. $(BCC32) -tWM -tWR -tWV -tWC $(CFLAGS) -er2lv.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_C $(SOURCES) $(BPI)
  134. r3lv.exe : $(SOURCES)
  135. $(BCC32) -tWM -tWR -tWV -tWC $(CFLAGS) -er3lv.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_CPP $(SOURCES) $(BPI)
  136. r4lv.exe : $(SOURCES)
  137. $(BCC32) -tWM -tWR -tWV -tWC $(CFLAGS) -er4lv.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_W32 -DTEST_UNICODE $(SOURCES) $(BPI)
  138. r5lv.exe : $(SOURCES)
  139. $(BCC32) -tWM -tWR -tWV -tWC $(CFLAGS) -er5lv.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_C -DTEST_UNICODE $(SOURCES) $(BPI)
  140. r6lv.exe : $(SOURCES)
  141. $(BCC32) -tWM -tWR -tWV -tWC $(CFLAGS) -er6lv.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_CPP -DTEST_UNICODE $(SOURCES) $(BPI)