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