• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 regress
7#
8# Borland C++ tools
9#
10# BCROOT defines the root directory of your bcb install
11#
12!ifndef BCROOT
13BCROOT=$(MAKEDIR)\..
14!endif
15#
16# sources to compile for each test:
17#
18SOURCES=*.cpp
19
20BCC32   = $(BCROOT)\bin\Bcc32.exe
21TLINK32 = $(BCROOT)\bin\ILink32.exe
22
23IDE_LinkFLAGS32 =  -L$(BCROOT)\LIB
24LINKOPTS= -ap -Tpe -x
25CFLAGS= -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)
26
27BPI= vcl.bpi rtl.bpi vclx.bpi vcle.lib
28
29BPL= vcl.lib rtl.lib vcle.lib
30
31
32all :: 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
33	-copy ..\..\build\bcb6\*.dll
34	-copy ..\..\..\..\stage\lib\*bcb*.dll
35	echo testing static single threaded version....
36	r1 tests.txt test1252.txt
37	r2 tests.txt
38	r3 tests.txt
39	r4 tests.txt test1252.txt
40	r5 tests.txt
41	r6 tests.txt
42	echo testing static multi-threaded version....
43	r1m tests.txt test1252.txt
44	r2m tests.txt
45	r3m tests.txt
46	r4m tests.txt test1252.txt
47	r5m tests.txt
48	r6m tests.txt
49	echo testing static VCL version....
50	r1v tests.txt test1252.txt
51	r2v tests.txt
52	r3v tests.txt
53	r4v tests.txt test1252.txt
54	r5v tests.txt
55	r6v tests.txt
56	echo testing dll single threaded version....
57	r1l tests.txt test1252.txt
58	r2l tests.txt
59	r3l tests.txt
60	r4l tests.txt test1252.txt
61	r5l tests.txt
62	r6l tests.txt
63	echo testing dll multi-threaded version....
64	r1lm tests.txt test1252.txt
65	r2lm tests.txt
66	r3lm tests.txt
67	r4lm tests.txt test1252.txt
68	r5lm tests.txt
69	r6lm tests.txt
70	echo testing dll VCL version....
71	r1lv tests.txt test1252.txt
72	r2lv tests.txt
73	r3lv tests.txt
74	r4lv tests.txt test1252.txt
75	r5lv tests.txt
76	r6lv tests.txt
77
78
79r1.exe : $(SOURCES)
80	$(BCC32) -tWM- -D_NO_VCL $(CFLAGS) -er1.exe -DBOOST_RE_TEST_LOCALE_W32 $(SOURCES)
81
82r2.exe : $(SOURCES)
83	$(BCC32) -tWM- -D_NO_VCL $(CFLAGS) -er2.exe -DBOOST_RE_TEST_LOCALE_C $(SOURCES)
84
85r3.exe : $(SOURCES)
86	$(BCC32) -tWM- -D_NO_VCL $(CFLAGS) -er3.exe -DBOOST_RE_TEST_LOCALE_CPP $(SOURCES)
87
88r4.exe : $(SOURCES)
89	$(BCC32) -tWM- -D_NO_VCL $(CFLAGS) -er4.exe -DBOOST_RE_TEST_LOCALE_W32 -DTEST_UNICODE $(SOURCES)
90
91r5.exe : $(SOURCES)
92	$(BCC32) -tWM- -D_NO_VCL $(CFLAGS) -er5.exe -DBOOST_RE_TEST_LOCALE_C -DTEST_UNICODE $(SOURCES)
93
94r6.exe : $(SOURCES)
95	$(BCC32) -tWM- -D_NO_VCL $(CFLAGS) -er6.exe -DBOOST_RE_TEST_LOCALE_CPP -DTEST_UNICODE $(SOURCES)
96
97
98r1m.exe : $(SOURCES)
99	$(BCC32) -tWM -D_NO_VCL $(CFLAGS) -er1m.exe -DBOOST_RE_TEST_LOCALE_W32 $(SOURCES)
100
101r2m.exe : $(SOURCES)
102	$(BCC32) -tWM -D_NO_VCL $(CFLAGS) -er2m.exe -DBOOST_RE_TEST_LOCALE_C $(SOURCES)
103
104r3m.exe : $(SOURCES)
105	$(BCC32) -tWM -D_NO_VCL $(CFLAGS) -er3m.exe -DBOOST_RE_TEST_LOCALE_CPP $(SOURCES)
106
107r4m.exe : $(SOURCES)
108	$(BCC32) -tWM -D_NO_VCL $(CFLAGS) -er4m.exe -DBOOST_RE_TEST_LOCALE_W32 -DTEST_UNICODE $(SOURCES)
109
110r5m.exe : $(SOURCES)
111	$(BCC32) -tWM -D_NO_VCL $(CFLAGS) -er5m.exe -DBOOST_RE_TEST_LOCALE_C -DTEST_UNICODE $(SOURCES)
112
113r6m.exe : $(SOURCES)
114	$(BCC32) -tWM -D_NO_VCL $(CFLAGS) -er6m.exe -DBOOST_RE_TEST_LOCALE_CPP -DTEST_UNICODE $(SOURCES)
115
116
117r1v.exe : $(SOURCES)
118	$(BCC32) -tWM -tWV $(CFLAGS) -er1v.exe -DBOOST_RE_TEST_LOCALE_W32 $(SOURCES) $(BPL)
119
120r2v.exe : $(SOURCES)
121	$(BCC32) -tWM -tWV $(CFLAGS) -er2v.exe -DBOOST_RE_TEST_LOCALE_C $(SOURCES) $(BPL)
122
123r3v.exe : $(SOURCES)
124	$(BCC32) -tWM -tWV $(CFLAGS) -er3v.exe -DBOOST_RE_TEST_LOCALE_CPP $(SOURCES) $(BPL)
125
126r4v.exe : $(SOURCES)
127	$(BCC32) -tWM -tWV $(CFLAGS) -er4v.exe -DBOOST_RE_TEST_LOCALE_W32 -DTEST_UNICODE $(SOURCES) $(BPL)
128
129r5v.exe : $(SOURCES)
130	$(BCC32) -tWM -tWV $(CFLAGS) -er5v.exe -DBOOST_RE_TEST_LOCALE_C -DTEST_UNICODE $(SOURCES) $(BPL)
131
132r6v.exe : $(SOURCES)
133	$(BCC32) -tWM -tWV $(CFLAGS) -er6v.exe -DBOOST_RE_TEST_LOCALE_CPP -DTEST_UNICODE $(SOURCES) $(BPL)
134
135
136r1l.exe : $(SOURCES)
137	$(BCC32) -tWM- -tWR -D_NO_VCL $(CFLAGS) -er1l.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_W32 $(SOURCES)
138
139r2l.exe : $(SOURCES)
140	$(BCC32) -tWM- -tWR -D_NO_VCL $(CFLAGS) -er2l.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_C $(SOURCES)
141
142r3l.exe : $(SOURCES)
143	$(BCC32) -tWM- -tWR -D_NO_VCL $(CFLAGS) -er3l.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_CPP $(SOURCES)
144
145r4l.exe : $(SOURCES)
146	$(BCC32) -tWM- -tWR -D_NO_VCL $(CFLAGS) -er4l.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_W32 -DTEST_UNICODE $(SOURCES)
147
148r5l.exe : $(SOURCES)
149	$(BCC32) -tWM- -tWR -D_NO_VCL $(CFLAGS) -er5l.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_C -DTEST_UNICODE $(SOURCES)
150
151r6l.exe : $(SOURCES)
152	$(BCC32) -tWM- -tWR -D_NO_VCL $(CFLAGS) -er6l.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_CPP -DTEST_UNICODE $(SOURCES)
153
154
155r1lm.exe : $(SOURCES)
156	$(BCC32) -tWM -tWR -D_NO_VCL $(CFLAGS) -er1lm.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_W32 $(SOURCES)
157
158r2lm.exe : $(SOURCES)
159	$(BCC32) -tWM -tWR -D_NO_VCL $(CFLAGS) -er2lm.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_C $(SOURCES)
160
161r3lm.exe : $(SOURCES)
162	$(BCC32) -tWM -tWR -D_NO_VCL $(CFLAGS) -er3lm.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_CPP $(SOURCES)
163
164r4lm.exe : $(SOURCES)
165	$(BCC32) -tWM -tWR -D_NO_VCL $(CFLAGS) -er4lm.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_W32 -DTEST_UNICODE $(SOURCES)
166
167r5lm.exe : $(SOURCES)
168	$(BCC32) -tWM -tWR -D_NO_VCL $(CFLAGS) -er5lm.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_C -DTEST_UNICODE $(SOURCES)
169
170r6lm.exe : $(SOURCES)
171	$(BCC32) -tWM -tWR -D_NO_VCL $(CFLAGS) -er6lm.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_CPP -DTEST_UNICODE $(SOURCES)
172
173
174r1lv.exe : $(SOURCES)
175	$(BCC32) -tWM -tWR -tWV -tWC $(CFLAGS) -er1lv.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_W32 $(SOURCES) $(BPI)
176
177r2lv.exe : $(SOURCES)
178	$(BCC32) -tWM -tWR -tWV -tWC $(CFLAGS) -er2lv.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_C $(SOURCES) $(BPI)
179
180r3lv.exe : $(SOURCES)
181	$(BCC32) -tWM -tWR -tWV -tWC $(CFLAGS) -er3lv.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_CPP $(SOURCES) $(BPI)
182
183r4lv.exe : $(SOURCES)
184	$(BCC32) -tWM -tWR -tWV -tWC $(CFLAGS) -er4lv.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_W32 -DTEST_UNICODE $(SOURCES) $(BPI)
185
186r5lv.exe : $(SOURCES)
187	$(BCC32) -tWM -tWR -tWV -tWC $(CFLAGS) -er5lv.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_C -DTEST_UNICODE $(SOURCES) $(BPI)
188
189r6lv.exe : $(SOURCES)
190	$(BCC32) -tWM -tWR -tWV -tWC $(CFLAGS) -er6lv.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_CPP -DTEST_UNICODE $(SOURCES) $(BPI)
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216