* library.make (test_lib, btest_lib): Build separate test
[mono.git] / mcs / build / ChangeLog
1 2004-09-14  Raja R Harinath  <rharinath@novell.com>
2
3         * library.make (test_lib, btest_lib): Build separate test
4         assemblies for separate profiles.
5         (dist-local): Don't copy files beginning with '../'.
6         * rules.make (dist-default): Handle any of Makefile, makefile, or
7         GNUmakefile being present.
8         * profiles/net_2_0.make (TEST_RUNTIME): Don't define.
9
10 2004-08-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
11
12         * executable.make:
13         * library.make: install/clean .mdb files.
14
15 2004-07-30  Martin Baulig  <martin@ximian.com>
16
17         * executable.make (EXTRA_SOURCES): New variable to add extra
18         sources to the program.
19
20 2004-07-30  Raja R Harinath  <harinath@blr-harinath.blr.novell.com>
21
22         * executable.make (PROGRAM_config): New auto-detecting define.
23         Defined if $(PROGRAM).config exists.
24         (install-local): Install $(PROGRAM_config) if it exists.
25
26 2004-07-21  Lluis Sanchez Gual  <lluis@novell.com>
27
28         * profiles/default.make, profiles/net_2_0.make, profiles/net_1_0.make:
29           Added FRAMEWORK_VERSION var.
30
31 2004-07-02  Raja R Harinath  <rharinath@novell.com>
32
33         Support for avoiding "sharing violations" while compiling core
34         libraries with an in-tree compiler.
35         * library.make (LIBRARY_USE_INTERMEDIATE_FILE): New toggle.
36         ($(the_lib)): Use it.
37
38 2004-07-02  Raja R Harinath  <rharinath@novell.com>
39
40         * rules.make (OVERRIDE_BARE_TARGETS): Remove.
41         (OVERRIDE_TARGET_ALL): New control for overriding the default all:
42         rule.  If set, 'make all' will run 'all.override' from the client
43         Makefile.
44         (all): Move commands ...
45         (all.real): ... here.  Make ordering assumptions explicit, and
46         parallel-safe.
47         (test,run-test,run-test-ondotnet,clean,install,uninstall):
48         Consolidate into ...
49         (STD_TARGETS): ... this new variable.  Make ordering assumption
50         between -recursive and -local targets explicit.
51         (%-recursive): Handle W32 GNU make that has --unix as the first
52         argument in $(MAKE).
53         * README.makefiles (Special recursion needs): Update to reflect
54         changes.
55         * library.make (all-local): Build $(the_lib_signature_stamp) when
56         NO_SIGN_ASSEMBLY is defined.
57         ($(gacutil),$(sn)): Consolidate rules.
58         (test-local,run-test-local,run-test-ondotnet-local): Likewise.
59
60 2004-07-02  Raja R Harinath  <rharinath@novell.com>
61         
62         * config-default.make (TEST_RUNTIME): Use 'mono' by default.
63         * platforms/win32.make (TEST_RUNTIME): Remove.
64         * profiles/default.make (TEST_RUNTIME): Remove.
65
66 2004-06-28  Raja R Harinath  <rharinath@novell.com>
67
68         * platforms/linux.make (RESGEN): Define using $(INTERNAL_RESGEN).
69
70 2004-06-21  Raja R Harinath  <rharinath@novell.com>
71
72         * executable.make ($(PROGRAM)): Move depend on the makefrags ...
73         (all-local): ... here.
74         * library.make ($(the_lib), $(test_lib), $(btest_lib), all-local):
75         Likewise.
76         (LIBRARY_SNK): New default define.  Allows library to be signed
77         with a key other than mono.snk.
78         ($(the_lib_signature_stamp)): New stamp file created when an
79         assembly is signed.
80         (install-local, uninstall-local, maybe-sign-lib): Set MONO_PATH.
81
82 2004-06-16  Raja R Harinath  <rharinath@novell.com>
83
84         * library.make ($(makefrag),$(test_makefrag),$(btest_makefrag)): 
85         Depend on library.make.
86         * executable.make ($(makefrag)): Depend on executable.make.
87
88 2004-06-16  Atsushi Enomoto  <atsushi@ximian.com>
89
90         * library.make : Added GACDIR. Use cygpath -w on windows.
91
92 2004-06-14  Raja R Harinath  <rharinath@novell.com>
93
94         * platforms/linux.make (PLATFORM_CHANGE_SEPARATOR_CMD): Define to 'cat'.
95         (PLATFORM_TWEAK_CORLIB_SOURCES): Remove.
96         (platform-check): Avoid bash-ism.
97         * library.make: Simplify uses of $(patsubst x,y,$(foo)) to $(foo:x=y).
98         (core_sourcefile): Rename back to ...
99         (sourcefile): ... this.  Remove creation of redundant intermediate file.
100         (response): Change test for optimization, now that
101         PLATFORM_CHANGE_SEPARATOR_CMD is unconditional.  Combine with
102         platform-exclude handling.
103         (library_CLEAN_FILES): New variable to specify clean:-able files
104         close to where they're defined.
105         (test_response, btest_response): Simplify.
106         * executable.make (response): Change test for optimization.
107         (executable_CLEAN_FILES): New define.
108
109 2004-06-14  Raja R Harinath  <rharinath@novell.com>
110
111         * library.make (uninstall-local): Fix typo.
112
113 2004-06-11  Atsushi Enomoto  <atsushi@ximian.com>
114
115         * library.make : HAVE_CS_TESTS fixie.
116
117 2004-06-11  Raja R Harinath  <rharinath@novell.com>
118
119         * library.make (HAVE_CS_TESTS, HAVE_VB_TESTS): Allow to be
120         overriden.  Useful if the tests sourcefile is generated.
121         (TEST_COMPILE, BTEST_COMPILE): Allow these to be customized too.
122
123         * platforms/win32.make (PLATFORM_TWEAK_CORLIB_SOURCES): Remove.
124
125         Support enough features to build mscorlib.dll.
126         * library.make (core_sourcefile): New renamed from $(sourcefile).
127         (PLATFORM_excludes): Auto-detecting define that sees if
128         $(LIBRARY).$(PLATFORM)-excludes file exists.
129         (sourcefile): New.  Possibly-built file that removes
130         PLATFORM_excluded files from core_sourcefile.
131         (test_against, test_dep): New.  Allow the test assembly to be
132         built against a different library.
133         (test_lib): Allow makefile to override the name of the test
134         assembly.
135         (LIBRARY_INSTALL_DIR): If defined, switch to using $(INSTALL_LIB)
136         rather than $(gacutil).
137         (DISTFILES, dist-local): Use core_sourcefile.
138         (clean-local): Remove sourcefile if it was generated.
139         (test_lib, btest_lib): Depend on $(test_dep).
140
141 2004-06-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
142
143         * library.make: fixed PLATFORM_CHANGE_SEPARATOR_CHAR on windows.
144
145 2004-06-09  Sebastien Pouliot  <sebastien@ximian.com>
146
147         * library.make: Added support to fully sign assemblies when doing a
148         "make install" (thanks to Jackson :-).
149
150 2004-06-09  Raja R Harinath  <rharinath@novell.com>
151
152         Do away with stampfiles.
153         Introduce support for VB test cases.
154         * library.make (HAVE_CS_TESTS, HAVE_VB_TESTS): New auto-detecting
155         defines.
156         (stampfile, test_stampfile): Remove.
157         (clean-local): Don't mention them.
158         (test-local, run-test-local, run-test-ondotnet-local):
159         Make unconditional.
160         ($(makefrag), $(test_makefrag)): Simplify.
161         ($(btest_lib)): New.  Support for VB testcases.
162
163 2004-06-09  Raja R Harinath  <rharinath@novell.com>
164
165         Partial support for writing Visual Basic source files.
166         * rules.make (USE_MBAS_FLAGS,BASCOMPILE,INTERNAL_MBAS): New.
167         * config-default.make (MBAS_FLAGS, DEFAULT_MBAS_FLAGS): New.
168         * profiles/default.make (MBAS): New.
169
170 2004-06-09  Raja R Harinath  <rharinath@novell.com>
171
172         Do away with stampfiles.
173         * executable.make (stampfile): Remove.
174         (clean-local): Remove mention of $(stampfile).
175         (test-local, run-test-local, run-test-ondotnet-local):
176         Make unconditional.  Add dummy rule to prevent other makefiles
177         from defining rules on these.
178         ($(PROGRAM)): Depend directly on $(BUILT_SOURCES).
179         ($(makefrag)): Simplify.
180
181 2004-06-03  Atsushi Enomoto  <atsushi@ximian.com>
182
183         * README.makefiles : added description for run-test-ondotnet.
184
185 2004-06-03  Atsushi Enomoto  <atsushi@ximian.com>
186
187         * Makefile, executable.make, library.make, rules.make :
188           Added new target "run-test-ondotnet" that works what "run-test"
189           used to be on windows (i.e. tests our libs under MS.NET).
190
191 2004-06-01  Atsushi Enomoto  <atsushi@ximian.com>
192
193         * platforms/win32.make : TEST_RUNTIME should be always mono we can't
194           test our libs against MS.NET runtime. Think about internal call).
195
196 2004-05-30  Jackson Harper  <jackson@ximian.com>
197
198         * library.make: Install to 2.0 package if building with the
199         net_2_0 profile.
200         
201 2004-05-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
202
203         * library.make: reference nunti.core.dll and nunit.util.dll when
204         building tests.
205
206 2004-05-26  Raja R Harinath  <rharinath@novell.com>
207
208         * library.make (clean-local): Add $(CLEAN_FILES) too.
209
210 2004-05-25  Sebastien Pouliot  <sebastien@ximian.com>
211
212         * library.make: changed case on nunit.framework.dll (lowercase)
213
214 2004-05-24  Raja R Harinath  <rharinath@novell.com>
215
216         * library.make (LIBRARY_COMPILE): New define.
217         ($(the_lib)): Use $(LIBRARY_COMPILE) to compile $(the_lib).
218
219         * executable.make (PROGRAM_INSTALL_DIR): Allow makefile to specify
220         a different directory for installation.
221         (install-local, uninstall-local): Use it.
222
223 2004-05-20  Raja R Harinath  <rharinath@novell.com>
224
225         * profiles/default.make (TEST_RUNTIME): Look in class/lib/default
226         for library to be tested.
227         * rules.make (INTERNAL_RESGEN): New Define.
228         * library.make (run-test-local): Move commands to run-test-lib.
229         Preparartion for allowing creation of addition test dll with .vb
230         testcases.
231         * executable.make (PROGRAM_COMPILE): New define.
232         ($(PROGRAM)): Use PROGRAM_COMPILE to compile PROGRAM.
233
234 2004-05-14  Jackson Harper  <jackson@ximian.com>
235
236         * library.make: Install package files. Get params in magical
237         correct order.
238         
239 2004-05-11  Jackson Harper  <jackson@ximian.com>
240
241         * platforms/linux.make:
242         * platforms/win32.make: Define a PLATFORM_PATH_SEPARATOR used for
243         separating paths in env vars. (ie MONO_PATH).
244         * profiles/net_2_0.make: Always use gmcs for building the 2.0
245         libraries. corlib is the first lib built and it will build gmcs.
246         
247 2004-05-11  Jackson Harper  <jackson@ximian.com>
248
249         * library.make: Allow assembly names to be different then their
250         .sources file names.
251         
252 2004-05-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
253
254         * library.make: build NUnit if we try to run 'make test' and the dll
255         is not found.
256
257 2004-04-29  Jackson Harper  <jackson@ximian.com>
258
259         * library.make: Fix uninstall
260         
261 2004-04-29  Martin Baulig  <martin@ximian.com>
262
263         * rules.make: Added `INTERNAL_ILASM'.
264
265 2004-04-29  Jackson Harper  <jackson@ximian.com>
266
267         * library.make: Use RUNTIME instead of PLATFORM_RUNTIME for the
268         gacutil. gacutil needs to be run on our runtime. Make dependancys
269         more sane.
270         
271 2004-04-28  Jackson Harper  <jackson@ximian.com>
272
273         * library.make: Use the proper runtime, make sure gacutil is
274         built.
275         
276 2004-04-28  Jackson Harper  <jackson@ximian.com>
277
278         * library.make: Install these bad actors to the GAC.
279         
280 2004-04-28  Raja R Harinath  <rharinath@novell.com>
281
282         * library.make (test_flags): NUnit.Framework.dll is now in
283         class/lib/$(PROFILE).
284
285 2004-04-26  Jackson Harper  <jackson@ximian.com>
286
287         * library.make:
288         * profiles/bootstrap.make:
289         * profiles/default.make: profiles are built in their ownb lib
290         directory now.
291         * profiles/net_2_0.make: new .net 2.0 profile.
292         
293 2004-04-22  Martin Baulig  <martin@ximian.com>
294
295         * profiles/net_1_2.make: Removed.
296         * profiles/martin-generics.make: Remove.
297
298 2004-04-19  Raja R Harinath  <rharinath@novell.com>
299
300         * rules.make (%-recursive): Honor 'make -k'.
301
302 2004-02-17  Martin Baulig  <martin@ximian.com>
303
304         * profiles/generics.make: Renamed to `martin-generics.make' and
305         added a comment to the file.  I'll rename this back when it's
306         ready for public use.
307
308 2003-12-17  Jackson Harper <jackson@ximian.com>
309
310         * profiles/default.make:
311         * profiles/net_1_0.make: Add ONLY_1_0 and ONLY_1_1 defines to fix
312         the build
313         
314 2003-12-08  Peter Williams  <peter@newton.cx>
315
316         * config-default.make: Don't check for / define
317         ECHO_ESCAPE: the check isn't smart enough and
318         apparently OS X's shell somehow doesn't support
319         escape characters.
320
321         * library.make: Use embedded tab instead of 
322         $(ECHO_ESCAPE). Fixes OS X build.
323         
324         * executable.make: Same.
325         
326 2003-12-05  Martin Baulig  <martin@ximian.com>
327
328         * profiles/generics.make: Define `GENERICS'.
329
330 2003-12-05  Martin Baulig  <martin@ximian.com>
331
332         * profiles/net_1_2.make: New profile; uses the .NET 1.2 API's, but
333         without generics and with mcs instead of gmcs.
334
335         * profiles/bootstrap.make: New profile; already use the newly
336         compiled mcs to compile corlib.
337
338 2003-12-04  Martin Baulig  <martin@ximian.com>
339
340         * profiles/generics.make: Use gmcs.
341
342 2003-11-12 Jackson Harper <jackson@ximian.com>
343
344         * rules.make: 
345         * platforms/linux.make: corlib name is now mscorlib.
346         
347 2003-11-09 Ben Maurer  <bmaurer@users.sourceforge.net>
348
349         * profiles/generics.make: add the -2 flag.
350
351 2003-10-28 Jackson Harper <jackson@ximian.com>
352
353         * platforms/linux.make: Tell users to read INSTALL.txt not the
354         non-existant README.building.
355         
356 2003-10-22  Dick Porter  <dick@ximian.com>
357
358         * platforms/win32.make:
359         * platforms/linux.make:
360         * rules.make: Added RESGEN platform-specific tool.
361
362 2003-08-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
363
364         * config-default.make: the /nowarn arguments are now set on a per
365         library basis.
366
367 2003-07-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
368
369         * executable.make: install-local depends on the program too.
370
371 2003-07-25  Peter Williams <peter@newton.cx>
372
373         * rules.make (run-test): Make it depend on 'test-local'
374         then 'run-test-local' after 'run-test-recursive'. This way,
375         'make run-test' from the toplevel doesn't recurse through all
376         the directories doing a make test before we run anything.
377
378 2003-07-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
379
380         * rules.make: run-test depends now on 'test'.
381
382 2003-07-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
383
384         * rules.make: set corlib to PLATFORM_CORLIB if this is defined.
385
386 2003-07-22  Peter Williams  <peter@newton.cx>
387
388         * rules.make (withmcs): Add this developer utility target.
389
390 2003-07-20  Peter Williams  <peter@newton.cx>
391
392         * README.platforms: Update docs for changes below.
393
394         * platforms/win32.make (PLATFORM_CORLIB): Set this variable
395         to 'mscorlib.dll', instead of $(corlib) which everything links
396         against. *Almost* everything should link against our corlib --
397         with the exception of corlib_cmp and corlib_res.
398
399         * platforms/linux.make: Same here: corlib.dll
400
401         * rules.make: Define $(corlib) here.
402
403 2003-07-20  Peter Williams  <peter@newton.cx>
404
405         * config-default.make (TEST_RUNTIME): Use the platform runtime
406         to run tests, by default.
407
408         * profiles/default.make (TEST_RUNTIME): If our test runtime is
409         mono, use the --debug flag.
410
411         * executable.make (sourcefile): Add a basename so that we can
412         find the nunit sources and so we behave a bit more like
413         library.make
414
415         * config-default.make (TEST_HARNESS): Find nunit-console in its
416         new home.
417
418 2003-07-20  Peter Williams  <peter@newton.cx>
419
420         * library.make ($(response)): Do a "Creating ..." line here.
421
422         * executable.make ($(response)): Same.
423
424         * config-default.make: Make warning more forceful.
425
426         * rules.make: Define a useful 'PLATFORM_MONO_NATIVE' that is
427         set if the platform does not have a native runtime (ie, linux).
428         Also reorder some definitions.
429
430 2003-07-20  Peter Williams  <peter@newton.cx>
431
432         * Created. See ../ChangeLog for entries earlier than
433         this.
434