b7e5d6ad6e1d7cdc8f35ea1fce209961c2dc23d4
[mono.git] / mcs / build / ChangeLog
1 2009-07-20  Jb Evain  <jbevain@novell.com>
2
3         * profiles/monotouch.make: add monotouch profile.
4
5 2009-07-16  Raja R Harinath  <harinath@hurrynot.org>
6
7         * profiles/net_2_0_bootstrap.make (BOOTSTRAP_PROFILE): Set to
8         net_1_1_bootstrap instead of net_1_1.
9
10 2009-06-03  Zoltan Varga  <vargaz@gmail.com>
11
12         * profiles/net_4_0.make: Add preliminary net 4.0 profile.
13
14 2009-04-09  Jonathan Pryor  <jpryor@novell.com>
15
16         * executable.make, library.make: Move the include for tests.make so
17           that DISTFILES can be properly set (and thus properly distribute the
18           *_test.dll.sources file).  This allows unit tests to actually build
19           and run when building from the tarball.
20
21 2009-04-05  Jonathan Pryor  <jpryor@novell.com>
22
23         * executable.make: Support HAS_NUNIT_TEST variable; if set, will build
24           an NUnit test assembly during 'make test' and will run the tests
25           within the NUnit test assembly during 'make run-test'.
26         * library.make: Split out NUnit test rules/logic into tests.make.
27         * Makefile: Distribute tests.make.
28         * README.makefiles: Document HAS_NUNIT_TEST for executable.make,
29           documenting how to have NUnit tests for executables.
30         * tests.make: Added; NUnit test logic rules.
31
32 2009-01-08  Geoff Norton  <gnorton@novell.com>
33
34         * Makefile: Add darwin.make to the make dist target as well
35
36 2009-01-07  Geoff Norton  <gnorton@novell.com>
37
38         * library.make: Allow platform specific exclude tags from the
39         test harness suite.
40         * darwin.make: Add to the build and add a new NotOnMac test
41         category
42
43 2008-12-30  Ankit Jain  <jankit@novell.com>
44
45         * library.make (TEST_HARNESS_OUTPUT*): Fix /labels switch.
46
47 2008-12-12  Raja R Harinath  <harinath@hurrynot.org>
48
49         * rules.make (topdir): Don't use $(shell ...).
50         Reported by Jonathan Chambers.
51
52 2008-12-10  Atsushi Enomoto  <atsushi@ximian.com>
53
54         * library.make : enable FIXTURE and TESTNAME on run-test-ondotnet.
55
56 2008-11-28  Atsushi Enomoto  <atsushi@ximian.com>
57
58         * Makefile : ugh, ok another dist pain.
59
60 2008-11-28  Atsushi Enomoto  <atsushi@ximian.com>
61
62         * nunit-summary.xsl : copied from nunit resource (summary.xslt)
63         * library.make : put transformation result from TestResult-*.xml
64           into TestResult-*.log as we used to do.
65
66 2008-11-28  Marek Habersack  <mhabersack@novell.com>
67
68         * library.make (FIXTURE_ARG): /parameter:value syntax is not
69         supported in nunit 2.4
70         (TESTNAME_ARG): added support for the nunit-console -run
71         parameter, so that individual tests can be ran.
72
73 2008-11-26  Atsushi Enomoto  <atsushi@ximian.com>
74
75         * library.make : another nunit20 to kill :(
76
77 2008-11-25  Atsushi Enomoto  <atsushi@ximian.com>
78
79         * library.make : update nunit options that break upgrade to 2.4.
80
81 2008-11-18  Raja R Harinath  <harinath@hurrynot.org>
82
83         * library.make (TEST_FILES): Notice filenames with ../ in the test
84         sources file, and handle them in a way suitable for the 'make
85         dist' handling of such files.
86
87 2008-11-12  Zoltan Varga  <vargaz@gmail.com>
88
89         * library.make: AOT the library after compilation if the AOT_IN_PROFILES
90         variable is defined and it contains the current profile.
91
92 2008-10-18  Jonathan Pryor  <jpryor@novell.com>
93
94         * rules.make (dist-default): Distribute the Documentation directory, 
95           if present.
96
97 2008-10-18  Jonathan Pryor  <jpryor@novell.com>
98
99         * rules.make (MDOC): MONO_PATH needs to include net_1_1 so monodoc.dll
100           can be found.
101
102 2008-10-17  Jonathan Pryor  <jpryor@novell.com>
103
104         * README.makefiles: Add documentation about the new doc-update target.
105
106 2008-10-18  Raja R Harinath  <harinath@hurrynot.org>
107
108         * rules.make (MDOC): Pass a proper MONO_PATH.
109
110 2008-10-17  Jonathan Pryor  <jpryor@novell.com>
111
112         * build.rules: doc-update is now a standard target; provide a $(MDOC)
113           variable to simplify running the `mdoc` updater program.
114         * executable.make: Add doc-update target support (does nothing).
115         * library.make: Add doc-update target support; runs `mdoc update` on
116           the assembly, updating the documentation within Documentation/en.
117         * Makefile: Add doc-update target support.
118
119 2008-09-14  Zoltan Varga  <vargaz@gmail.com>
120
121         * library.make: Allow FIXTURE make variable to be passed to nunit.
122
123 2008-08-29  Raja R Harinath  <harinath@hurrynot.org>
124
125         * rules.make (do-%): Revert change below.  We need the recursion
126         to ensure ordering of %-local after %-recursive.  IOW, we
127         want to ensure strict linearity even with a 'make -j'.
128
129 2008-08-28  Zoltan Varga  <vargaz@gmail.com>
130
131         * rules.make (Q_MCS): Use 5 spaces instead of -e '\\t'.
132
133         * library.make: Make some command quiet.
134
135         * rules.make: Avoid some needless recursive make invocations.
136         
137         * rules.make: Print the profile in the quiet commands.
138
139         * rules.make: Make the build process quiet similarly to the runtime build
140         process. Use the V=1 argument to make to make it verbose again.
141
142 2008-08-04  Zoltan Varga  <vargaz@gmail.com>
143
144         * rules.make (PROFILE): If no profile is passed on the command line, make
145         net_2_0 the default.
146
147 2008-06-30  Marek Safar  <marek.safar@gmail.com>
148
149         * platforms/linux.make: Enable mcs optimizations.
150
151 2008-06-03  Zoltan Varga  <vargaz@gmail.com>
152
153         * rules.make (PROFILE): Reapply the PROFILE=net_2_0 change. One can still
154         build 1.1 libraries using make PROFILE=default.
155
156 2008-05-27  Raja R Harinath  <harinath@hurrynot.org>
157
158         * executable.make ($(PROGRAM_config)): Depend on directory
159         creation stamp.
160
161 2008-04-09  Gert Driesen  <drieseng@users.sourceforge.net>
162
163         * library.make: hidden -bootstrap option for gacutil is no longer
164         necessary.
165
166 2008-03-24  Zoltan Varga  <vargaz@gmail.com>
167
168         * library.make (check): Add a standard check target and make it the same as
169         run-test.
170
171 2008-03-22  Zoltan Varga  <vargaz@gmail.com>
172
173         * profiles/net_3_5.make (PROFILE_MCS_FLAGS): Get rid of obsolete 
174         -langversion:linq option.
175
176 Fri Mar 14 09:31:59 CET 2008 Paolo Molaro <lupus@ximian.com>
177
178         * rules.make, library.make: move GACUTIL definition into rules.make as
179         it's used also by the tools. Add the hidden -bootstrap option.
180
181 2008-02-18  Raja R Harinath  <harinath@hurrynot.org>
182
183         * rules.make (%/.stamp): Unify all directory creation targets here.
184
185 2008-02-17  Raja R Harinath  <harinath@hurrynot.org>
186
187         * profiles/net_2_1_bootstrap.make: New.
188         * profiles/net_2_1_raw.make: New.  The untuned 2.1 profile.
189         * profiles/net_2_1.make: New.  The tuned 2.1 profile.
190         * Makefile (PROFILES): Update.
191
192 2007-12-06  Atsushi Enomoto  <atsushi@ximian.com>
193
194         * profiles/net_3_5.make : fixed net_2_0 path.
195
196 2007-12-03  Marek Safar  <marek.safar@gmail.com>
197
198         * Makefile.make: Distribute 3.5 profile
199         
200 2007-11-08  Wade Berrier  <wberrier@novell.com>
201
202         * config-default.make: add sysconfdir dir (for mconfig/config.xml)
203
204 2007-11-01  Marek Safar  <marek.safar@gmail.com>
205
206         * corcompare.make: Build corcompare into same directory.
207         
208 2007-10-27  Marek Safar  <marek.safar@gmail.com>
209
210         * profiles/net_2_0_bootstrap.make: Fixed generics compiler name.
211         
212 2007-10-27  Marek Safar  <marek.safar@gmail.com>
213
214         * rules.make: Changed gmcs location.
215         
216 2007-10-27  Marek Safar  <marek.safar@gmail.com>
217
218         * executable.make: Added KEEP_OUTPUT_FILE_COPY to avoid move and copy
219         back compiler executables.
220
221 2007-09-21  Raja R Harinath  <harinath@gmail.com>
222
223         * Makefile (PROFILES): Remove 'atomic' profiles.
224         * profiles/atomic.make, profiles/bootstrap.make: Remove.
225
226 2007-09-04  Wade Berrier  <wberrier@novell.com>
227
228         * library.make: Glob for .sources for all profiles.
229         Use tools/removecomments.sh to account for '#include' and
230         comments, which are only used in the jvm profile at this point
231
232 2007-09-01  Jb Evain  <jbevain@novell.com>
233
234         * Makefile: consider the net_2_1 profile.
235
236 2007-08-12  Marek Safar  <marek.safar@gmail.com>
237
238         * library.make: Includes new `corcompare' target.
239         
240         * corcompare.make: I got tired of hacking corcompare stuff again and
241         again.
242         
243 2007-08-11  Jb Evain  <jbevain@novell.com>
244
245         * profiles/net_2_1: allow 2.1 assemblies in the GAC.
246
247 2007-07-27  Jb Evain  <jbevain@novell.com>
248
249         * profiles/net_2_1: use smcs to compile the .net 2.1 assemblies.
250
251 2007-07-23  Raja R Harinath  <rharinath@novell.com>
252
253         * library.make (install-local) [GAC]: If LIBRARY_PACKAGE is set to
254         'none' don't install a symlink from a package directory into the gac.
255
256 2007-07-11  Jb Evain  <jbevain@novell.com>
257
258         * profiles/net_2_1.make: work on the 2_1 profile.
259
260 2007-06-12  Marek Safar  <marek.safar@gmail.com>
261
262         * rules.make: Added FRAMEWORK_VERSION_MAJOR.
263
264 2007-05-11  Raja R Harinath  <rharinath@novell.com>
265
266         * Makefile (dist-local): Remove special-case code.
267         * rules.make ($(depsdir)): New rule to create the dependencies
268         directory on demand.
269         * library.make, executable.make: Make generated files depend on
270         $(depsdir).
271         * profiles/basic.make: Likewise.
272
273         * profiles/net_2_0_bootstrap.make: Move rules for mcs.exe to
274         mcs/Makefile.
275         * library.make (the_libdir, build_libdir): New.  Create these
276         directories on demand instead of worrying about keeping the list
277         of profiles uptodate.
278         * executable.make (prog_dir): Likewise.
279
280 2007-03-17  Marek Sieradzki  <marek.sieradzki@gmail.com>
281
282         * library.make: Show correct log (TestResult-ondotnet-PROFILE...) for
283         make run-test-ondotnet.
284
285 Fri Nov 24 18:38:31 CET 2006 Paolo Molaro <lupus@ximian.com>
286
287         * library.make: added ability to pass flags to the mono runtime when
288         running the test suite.
289
290 2006-09-06  Kornél Pál  <kornelpal@gmail.com>
291
292         * TestConfiguration.cs: Moved to Npgsql.
293
294 2006-09-05  Kornél Pál  <kornelpal@hotmail.com>
295
296         * config-default.make: Use UTF-8 as the default encoding for compilers.
297
298 2006-09-04  Raja R Harinath  <rharinath@novell.com>
299
300         * library.make (TEST_HARNESS_VERBOSE): New user toggle.  If
301         defined, NUnit will print the names of the unit tests as they are
302         run.  Can be used to narrow down infloops.
303         (TEST_HARNESS_EXCLUDE): Provide a way to override the list of
304         excluded unit test categories.
305
306 2006-04-11  Raja R Harinath  <rharinath@novell.com>
307
308         * profiles/default.make (BOOTSTRAP_PROFILE): Define.
309         * profiles/net_2_0.make (BOOTSTRAP_PROFILE): Define.
310         * rules.make (INTERNAL_RESGEN): Pick from bootstrap profile.
311
312 2006-01-19  Raja R Harinath  <rharinath@novell.com>
313
314         * library.make (test_lib): Don't allow to be overridden.
315         (test_against, test_dep): Remove.
316
317 2006-01-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
318
319         * executable.make: allow installing a different .config file for
320         executables such as nunit-console.exe that should use a different one
321         depending on the profile.
322
323 2006-01-05  Raja R Harinath  <rharinath@novell.com>
324
325         * library.make (run-test-lib, run-test-ondotnet-lib): Workaround a
326         sed limitation when printing the testsuite log.
327
328 2005-12-22  Raja R Harinath  <rharinath@novell.com>
329
330         * library.make (lib_dir): Define to 'compat' if LIBRARY_COMPAT is
331         defined, 'lib' otherwise.
332         (the_lib): Use it to decide where to place the output library.
333         (LIBRARY_PACKAGE): New define.  Install development symlinks for
334         compat libraries in a different directory.
335
336 2005-12-03  Kornél Pál  <kornelpal@hotmail.com>
337
338         * config-default.make: Corrected default CODEPAGE comment to ISO-8859-1
339           (Latin 1).
340
341 2005-11-22  Vladislav Spivak <spivak@mainsoft.com>
342         * Missed dependency. 
343         <profile>.sources file is supporting #include directive
344         Usually it includes common .sources file.
345         Let's make it dependency of <profile>.sources
346
347 2005-10-03  Raja R Harinath  <rharinath@novell.com>
348
349         * profiles/basic.make (monolite_flag, use_monolite): New.  Used to
350         determine if we need to compile with 'monolite' rather than with
351         an external mcs.
352         (do-profile-check): Simplify.  Remove corlib version testing
353         scripts.  Delegate that work to the mono runtime itself.  Split
354         off 'monolite' handling into ...
355         (do-profile-check-monolite): ... this.
356
357 2005-09-27  Kornél Pál  <kornelpal@hotmail.com>
358
359         * config-default.make: Added CODEPAGE that is the default encoding used by
360           compilers.
361         * rules.make (USE_MCS_FLAGS, USE_MBAS_FLAGS): Added /codepage.
362
363 2005-09-22  Raja R Harinath  <rharinath@novell.com>
364
365         * Makefile (BUILT_FILES): New.
366         (all-local ...): Depend on them.
367         (clean-local): Relete them.
368         (common/Consts.cs): New rule.
369         (COMMON_SRCS): Don't distribute common/Consts.cs.
370
371 2005-09-12  Raja R Harinath  <rharinath@novell.com>
372
373         * profiles/basic.make (do-profile-check): Quote sed expression.
374
375 2005-09-06  Raja R Harinath  <rharinath@novell.com>
376
377         * profiles/net_1_1_bootstrap.make: Remove special-handling on Win32.
378         * profiles/default.make: Likewise.
379
380 2005-08-26  Kornél Pál  <kornelpal@hotmail.com>
381
382         * Makefile: Added Consts.cs.in. Removed MonoVersion.cs.
383
384 2005-08-23  Raja R Harinath  <rharinath@novell.com>
385
386         * profiles/basic.make (do-profile-check): Set MONO_PATH to
387         monolite directory when running disassembler.
388
389 2005-08-22  Raja R Harinath  <rharinath@novell.com>
390
391         * Makefile (DISTFILES): Move files in common/ to ...
392         (COMMON_SRCS): ... this.  Add Consts.cs, MonoVersion.cs and
393         TestConfiguration.cs.
394
395 2005-08-19  Raja R Harinath  <rharinath@novell.com>
396
397         * profiles/basic.make (do-profile-check): Add some debugging output.
398         Handle disassemblers that print corlib version in hex.
399
400 2005-07-26  Raja R Harinath  <rharinath@novell.com>
401
402         * executable.make, library.make: Use unix-style commandline options.
403         * profiles/basic.make (FRAMEWORK_VERSION): Set.
404         * profiles/net_1_1_bootstrap.make (FRAMEWORK_VERSION): Likewise.
405
406 2005-07-22  Raja R Harinath  <rharinath@novell.com>
407
408         * profiles/basic.make (do-profile-check): Make the "silent"
409         compilation check even more silent.  Refuse to use monolite if the
410         corlib version of monolite/mscorlib.dll doesn't match the corlib
411         version of the source.
412
413 2005-06-15  Raja R Harinath  <rharinath@novell.com>
414
415         * executable.make (dist-local): Copy from library.make.
416
417 2005-05-23  Raja R Harinath  <rharinath@novell.com>
418
419         * rules.make (STD_TARGETS): Make them all go through an
420         indirection.
421         (all): Indirect through do-all.
422         (all.real): Remove.
423         (do-%): New pattern fallback.  Performs the standard behaviour:
424         %-recursive, and then %-local.
425         (do-run-test): New.  Make '-k' more useful.
426         Reported by Ritvik Mayank.
427
428 2005-05-10  Raja R Harinath  <rharinath@novell.com>
429
430         * library.make (dist-fixup): Fix typo.
431
432 2005-05-06  Raja R Harinath  <rharinath@novell.com>
433
434         * library.make (LIBRARY_NEEDS_PREPROCESSING): New control.
435         (build_lib): Name of library built.  Default to $(the_lib) unless
436         preprocessing.
437         ($(build_lib)): Rename from '$(the_lib)'.
438         ($(makefrag)): Emit dependencies on $(build_lib).
439
440 2005-05-04  Zoltan Varga  <vargaz@freemail.hu>
441
442         * rules.make config-default.make: Use the install-sh script from the mono
443         directory by default.
444
445 2005-04-29  Ben Maurer  <bmaurer@ximian.com>
446
447         * profiles/basic.make: The test for mcs was broken on jails where
448         we got a warning due to /proc not being mounted. Remove hackish wc
449         usage.
450
451 2005-04-25  Raja R Harinath  <rharinath@novell.com>
452
453         * config-default.make (RUNTIME): Set to 'false'.
454         Reported by Ben Maurer.
455         * profiles/basic.make (MCS): Revert changes below.
456         * platforms/linux.make (ILDISASM): Define.
457         * platforms/win32.make (ILDIsASM): Likewise.
458
459 2005-04-23  Ben Maurer  <bmaurer@ximian.com>
460
461         * profiles/basic.make: Ensure that make dist works even if you
462         only have an old mono rpm installed. Essential for the new build
463         system.
464
465 2005-04-21  Raja R Harinath  <rharinath@novell.com>
466
467         * rules.make (INTERNAL_ILASM): Update.
468
469 2005-04-14  Raja R Harinath  <rharinath@novell.com>
470
471         * library.make (dist-local): Include all ChangeLogs in the tarball.
472
473 2005-04-08  Raja R Harinath  <rharinath@novell.com>
474
475         * profiles/basic.make (do-profile-check): Handle some possible
476         timestamp problems.  Hopefully fix #74280.
477
478 2005-03-30  Zoltan Varga  <vargaz@freemail.hu>
479
480         * rules.make (INSTALL_DATA): Pass -c to install.
481
482 2005-03-18  Raja R Harinath  <rharinath@novell.com>
483
484         * library.make (TEST_FILES, $(test_response), $(btest_response)):
485         Be more robust to empty lines in test sources file.
486
487 2005-03-14  Raja R Harinath  <rharinath@novell.com>
488
489         * executable.make (install-local): Depend on all-local even when
490         NO_INSTALL is defined.
491         * library.make: Minor cleanups to match executable.make.
492         (gacutil): Use net_1_1_bootstrap/gacutil.exe.
493         * profiles/basic.make (no-install): Remove.
494         * profiles/net_1_1_bootstrap.make (no-install): Likewise.
495
496 2005-02-22  Raja R Harinath  <rharinath@novell.com>
497
498         * library.make (BUILT_SOURCES_cmdline): Don't define if
499         BUILT_SOURCES is empty.
500
501 2005-02-21  Michal Moskal  <malekith@pld-linux.org>
502             Raja R Harinath  <rharinath@novell.com>
503
504         * config-default.make (exec_prefix, libdir): New.
505         * library.make (libdir): Remove.
506         * executable.make (PROGRAM_INSTALL_DIR): Define in terms of
507         $(libdir).
508
509 2005-02-15  Raja R Harinath  <rharinath@novell.com>
510
511         * platforms/win32.make (RESGEN): Point to in-tree version of
512         resgen.exe.  The .NET 1.1 SDK doesn't appear to come with one.
513
514 2005-02-10  Raja R Harinath  <rharinath@novell.com>
515
516         * library.make (DISTFILES): Add $(btest_sourcefile).
517
518 2005-02-02  Raja R Harinath  <rharinath@novell.com>
519
520         * library.make (run-test-lib): Use $(LOCAL_TEST_HARNESS_FLAGS).
521         (run-test-ondotnet-lib): Use $(LOCAL_TEST_HARNESS_ONDOTNET_FLAGS).
522
523 2005-02-01  Zoltan Varga  <vargaz@freemail.hu>
524
525         * library.make (run-test-lib): Exclude InetAccess tests.
526
527 2005-02-30  Sebastien Pouliot  <sebastien@ximian.com>
528
529         * library.make: Exclude CAS category from run-test-ondotnet.
530
531 2005-01-31  Sebastien Pouliot  <sebastien@ximian.com>
532
533         * library.make: Exclude CAS category when running unit tests with 
534         Mono (they can be run manually using --security). Added a define
535         for WINDOWS (only on Windows) to be used for declarative security
536         attributes ONLY.
537
538 2005-01-24  Raja R Harinath  <rharinath@novell.com>
539
540         * library.make (run-test-lib, run-test-ondotnet-lib): Print out
541         the log.
542
543 2005-01-16 Nick Drochak  <ndrochak@ieee.org>
544
545         * library.make: /exclude for nunit needs a comma separated list
546
547 2005-01-14  Atsushi Enomoto  <atsushi@ximian.com>
548
549         * library.make : output TestResult-ondotnet-(profile).log instead of
550           TestResult-(profile).log for run-test-ondotnet.
551
552 2005-01-13  Raja R Harinath  <rharinath@novell.com>
553
554         * profiles/default.make (MBAS) [!PLATFORM_MONO_NATIVE]: Use
555         $(EXTERNAL_MBAS).
556         Reported by Nick Drochak.
557
558 2005-01-03  Nick Drochak  <ndrochak@ieee.org>
559
560         * library.make: Ingore tests that are not meant to be run on MS DotNet
561
562 2004-12-14  Raja R Harinath  <rharinath@novell.com>
563
564         * profiles/basic.make (do-profile-check): Rename from
565         'real-profile-check'.  Rewrite slightly to use 'make' to build the
566         sanity check.
567         (clean-profile): Remove the files.
568
569 2004-12-08  Raja R Harinath  <rharinath@novell.com>
570
571         * profiles/basic.make (real-profile-check): Update to new location
572         of secret stash of bootstrap files.
573
574 2004-12-07  Raja R Harinath  <rharinath@novell.com>
575
576         * executable.make (uninstall-local): Remove .config file too.
577         * library.make (uninstall-local): Don't error out if GACUTIL fails.
578
579 2004-12-07  Raja R Harinath  <rharinath@novell.com>
580
581         * library.make (BUILT_SOURCES_cmdline): Use
582         PLATFORM_CHANGE_SEPARATOR_CMD on BUILT_SOURCES too.
583         ($(the_lib)): Use it.
584
585 2004-12-04  Atsushi Enomoto  <atsushi@ximian.com>
586
587         * library.make,
588           profiles/default.make,
589           profiles/basic.make : use PLATFORM_PATH_SEPARATOR.
590
591 2004-12-03  Raja R Harinath  <rharinath@novell.com>
592
593         * profiles/basic.make (MCS): Run the INTERNAL_MCS.
594         (USE_BOOT_COMPILE): Remove.
595
596 2004-12-03  Raja R Harinath  <rharinath@novell.com>
597
598         * library.make (gacdir_flag): New.  Disable /gacdir flag if
599         RUNTIME_HAS_CONSISTENT_GACDIR flag is set.
600         (install-local): Use it.
601
602 2004-11-30  Raja R Harinath  <rharinath@novell.com>
603
604         * executable.make (makefrag): Make profile-specific.
605
606 2004-11-26  Martin Baulig  <martin@ximian.com>
607
608         * library.make (run-test-lib, run-test-ondotnet-lib): Added
609         `/output:TestResult-$(PROFILE).log' argument to NUnit.
610
611 2004-11-26  Raja R Harinath  <rharinath@novell.com>
612
613         * library.make ($(the_lib)): Don't complain if a .mdb file wasn't
614         created (even though it's just a warning).
615         (install-local) [LIBRARY_INSTALL_DIR]: Likewise.
616         (PACKAGE): Remove.
617         (install-local) [!LIBRARY_INSTALL_DIR]: Use $(FRAMEWORK_VERSION).
618         * executable.make ($(PROGRAM)): Likewise.
619         (install-local): Likewise.
620         (PROGRAM_INSTALL_DIR): Define Using $(FRAMEWORK_VERSION).
621
622 2004-11-26  Raja R Harinath  <rharinath@novell.com>
623
624         * profiles/basic.make (real-profile-check): Prepend ./ when
625         executing basic-profile-check.exe.  EXTERNAL_RUNTIME can be empty.
626
627 2004-11-25  Raja R Harinath  <rharinath@novell.com>
628
629         * platforms/linux.make (EXTERNAL_MCS,EXTERNAL_MBAS,EXTERNAL_RUNTIME):
630         New.
631         * platforms/win32.make: Likewise.
632         * profiles/basic.make: Use $(EXTERNAL_MCS).
633         * profiles/net_1_1_bootstrap.make: Likewise.
634         * library.make ($(the_lib)): Add support for BUILT_SOURCES.
635         (run-test-lib): Pass $(TEST_HARNESS_FLAGS) to harness.  Useful to
636         pass, say /labels, to nunit-console.
637
638 2004-11-25  Raja R Harinath  <rharinath@novell.com>
639
640         * library.make ($(gacutil)): Fix path.
641
642 2004-11-23  Raja R Harinath  <rharinath@novell.com>
643
644         * executable.make (NO_INSTALL): New option.  Disables installation.
645         * library.make (NO_INSTALL): Likewise.
646         (install-local) [!NO_INSTALL, !LIBRARY_INSTALL_DIR]: Pass both
647         /gacdir and /root options to gacutil.
648         * platforms/linux.make (platform-check): Print the BOOTSTRAP_MCS
649         command that was tried, in case of failure.     
650         * profiles/basic.make (NO_TEST, NO_INSTALL): Define.
651         * profiles/net_1_1_bootstrap.make: Likewise.
652         * profiles/net_2_0_bootstrap.make: Likewise.
653
654 2004-11-22  Raja R Harinath  <rharinath@novell.com>
655
656         * library.make (SN): New define.  Use the net_1_1_bootstrap sn.exe.
657         (SNFLAGS): New.
658         ($(the_lib)): Use them to sign assemblies as they're built.
659         (the_lib_signature_stamp): Remove.
660
661         * Makefile (DISTFILES): Distribute all the profile make-fragments.
662         (clean-local): Clean up the deps/ directory.
663
664 2004-11-19  Raja R Harinath  <rharinath@novell.com>
665
666         Orchestrate the bootstrap.
667         * rules.make (INTERNAL_MCS): Look for mcs.exe in profile-specific directory.
668         * profiles/net_1_1_bootstrap.make (BOOTSTRAP_MCS): Use mcs.exe from
669         basic profile.  
670         * profiles/default.make (BOOTSTRAP_MCS): Use mcs.exe from the
671         net_1_1_bootstrap profile.
672         * profiles/net_2_0_bootstrap.make (BOOTSTRAP_MCS): Use mcs.exe
673         from default profile.
674         (all-local, clean-local): New.  Copy mcs.exe from default profile,
675         but customize it to work with 2.0.x libraries.
676         * profiles/net_2_0.make (BOOTSTRAP_MCS): Define approprately for
677         building corlib.
678
679         * executable.make (executable_CLEAN_FILES): Clean up more files.
680         ($(PROGRAM)): Move .mdb files too.
681
682 2004-11-18  Atsushi Enomoto  <atsushi@ximian.com>
683
684         * library.make: Reverted the last fix. It broke windows build (that
685           should be fixed though).
686
687 2004-11-18  Atsushi Enomoto  <atsushi@ximian.com>
688
689         * library.make: Some minor fix for PLATFORM_PATH_SEPARATOR.
690
691 2004-11-17  Raja R Harinath  <rharinath@novell.com>
692
693         * executable.make: Improve support for building executable into a
694         different directory.
695
696 2004-11-09  Raja R Harinath  <rharinath@novell.com>
697
698         * profiles/basic.make: New.
699         * profiles/net_2_0.make (PROFILE_MCS_FLAGS): Remove '-2' flag.
700         * profiles/net_1_1_bootstrap.make (NO_SIGN_ASSEMBLY): Set.
701
702 2004-11-04  Raja R Harinath  <rharinath@novell.com>
703
704         * profiles/net_1_1_bootstrap.make: New profile.
705         * profiles/net_2_0_bootstrap.make: Use in-tree mcs for
706         bootstrapping mscorlib.dll.
707         * platforms/linux.make (platform-check): Make more robust.
708         * rules.make (%-recursive): Propagate error exit from sub-makes
709         even if invoked with 'make -k'.
710
711 2004-10-29  Raja R Harinath  <rharinath@novell.com>
712
713         * profiles/net_2_0_bootstrap.make (PROFILE_MCS_FLAGS): Remove
714         -langversion:default flag.
715
716         * rules.make (distdir): Remove.
717         (PROFILE_SUBDIRS): New.  Support profile-specific SUBDIRS.
718         (DIST_SUBDIRS): New.
719         (dist-recursive): Define distdir here.
720
721 2004-10-25  Zoltan Varga  <vargaz@freemail.hu>
722
723         * config-default.make (TEST_RUNTIME): Add TEST_MONO_PATH variable.
724
725 2004-09-27  Raja R Harinath  <rharinath@novell.com>
726
727         * library.make ($(test_nunit_dep)): Make sure NUnit is built for
728         the profile being tested.
729         (nunit-$(PROFILE).stamp): Rename from nunit.stamp.
730         * config-default.make (TEST_HARNESS): Look for 'nunit-console' in
731         profile-specific directory.
732
733 2004-09-21  Raja R Harinath  <rharinath@novell.com>
734
735         * profiles/net_2_0_bootstrap.make: New file.
736
737         * library.make (the_mdb): Fix.
738         (library_CLEAN_FILES): Add the new test results files too.
739
740 2004-09-14  Raja R Harinath  <rharinath@novell.com>
741
742         * library.make (test_lib, btest_lib): Build separate test
743         assemblies for separate profiles.
744         (dist-local): Don't copy files beginning with '../'.
745         (test_sourcefile, btest_sourcefile): Define in terms of
746         $(test_lib) or $(btest_lib) only if they're overriden.
747         (test_response, test_makefrag): Remove redundant $(PROFILE) in name.
748         (run-test-lib, run-btest-lib): Unify.  Give profile-specific name
749         for output XML file.
750         * rules.make (dist-default): Handle any of Makefile, makefile, or
751         GNUmakefile being present.
752         * profiles/net_2_0.make (TEST_RUNTIME): Don't define.
753
754 2004-08-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
755
756         * executable.make:
757         * library.make: install/clean .mdb files.
758
759 2004-07-30  Martin Baulig  <martin@ximian.com>
760
761         * executable.make (EXTRA_SOURCES): New variable to add extra
762         sources to the program.
763
764 2004-07-30  Raja R Harinath  <harinath@blr-harinath.blr.novell.com>
765
766         * executable.make (PROGRAM_config): New auto-detecting define.
767         Defined if $(PROGRAM).config exists.
768         (install-local): Install $(PROGRAM_config) if it exists.
769
770 2004-07-21  Lluis Sanchez Gual  <lluis@novell.com>
771
772         * profiles/default.make, profiles/net_2_0.make, profiles/net_1_0.make:
773           Added FRAMEWORK_VERSION var.
774
775 2004-07-02  Raja R Harinath  <rharinath@novell.com>
776
777         Support for avoiding "sharing violations" while compiling core
778         libraries with an in-tree compiler.
779         * library.make (LIBRARY_USE_INTERMEDIATE_FILE): New toggle.
780         ($(the_lib)): Use it.
781
782 2004-07-02  Raja R Harinath  <rharinath@novell.com>
783
784         * rules.make (OVERRIDE_BARE_TARGETS): Remove.
785         (OVERRIDE_TARGET_ALL): New control for overriding the default all:
786         rule.  If set, 'make all' will run 'all.override' from the client
787         Makefile.
788         (all): Move commands ...
789         (all.real): ... here.  Make ordering assumptions explicit, and
790         parallel-safe.
791         (test,run-test,run-test-ondotnet,clean,install,uninstall):
792         Consolidate into ...
793         (STD_TARGETS): ... this new variable.  Make ordering assumption
794         between -recursive and -local targets explicit.
795         (%-recursive): Handle W32 GNU make that has --unix as the first
796         argument in $(MAKE).
797         * README.makefiles (Special recursion needs): Update to reflect
798         changes.
799         * library.make (all-local): Build $(the_lib_signature_stamp) when
800         NO_SIGN_ASSEMBLY is defined.
801         ($(gacutil),$(sn)): Consolidate rules.
802         (test-local,run-test-local,run-test-ondotnet-local): Likewise.
803
804 2004-07-02  Raja R Harinath  <rharinath@novell.com>
805         
806         * config-default.make (TEST_RUNTIME): Use 'mono' by default.
807         * platforms/win32.make (TEST_RUNTIME): Remove.
808         * profiles/default.make (TEST_RUNTIME): Remove.
809
810 2004-06-28  Raja R Harinath  <rharinath@novell.com>
811
812         * platforms/linux.make (RESGEN): Define using $(INTERNAL_RESGEN).
813
814 2004-06-21  Raja R Harinath  <rharinath@novell.com>
815
816         * executable.make ($(PROGRAM)): Move depend on the makefrags ...
817         (all-local): ... here.
818         * library.make ($(the_lib), $(test_lib), $(btest_lib), all-local):
819         Likewise.
820         (LIBRARY_SNK): New default define.  Allows library to be signed
821         with a key other than mono.snk.
822         ($(the_lib_signature_stamp)): New stamp file created when an
823         assembly is signed.
824         (install-local, uninstall-local, maybe-sign-lib): Set MONO_PATH.
825
826 2004-06-16  Raja R Harinath  <rharinath@novell.com>
827
828         * library.make ($(makefrag),$(test_makefrag),$(btest_makefrag)): 
829         Depend on library.make.
830         * executable.make ($(makefrag)): Depend on executable.make.
831
832 2004-06-16  Atsushi Enomoto  <atsushi@ximian.com>
833
834         * library.make : Added GACDIR. Use cygpath -w on windows.
835
836 2004-06-14  Raja R Harinath  <rharinath@novell.com>
837
838         * platforms/linux.make (PLATFORM_CHANGE_SEPARATOR_CMD): Define to 'cat'.
839         (PLATFORM_TWEAK_CORLIB_SOURCES): Remove.
840         (platform-check): Avoid bash-ism.
841         * library.make: Simplify uses of $(patsubst x,y,$(foo)) to $(foo:x=y).
842         (core_sourcefile): Rename back to ...
843         (sourcefile): ... this.  Remove creation of redundant intermediate file.
844         (response): Change test for optimization, now that
845         PLATFORM_CHANGE_SEPARATOR_CMD is unconditional.  Combine with
846         platform-exclude handling.
847         (library_CLEAN_FILES): New variable to specify clean:-able files
848         close to where they're defined.
849         (test_response, btest_response): Simplify.
850         * executable.make (response): Change test for optimization.
851         (executable_CLEAN_FILES): New define.
852
853 2004-06-14  Raja R Harinath  <rharinath@novell.com>
854
855         * library.make (uninstall-local): Fix typo.
856
857 2004-06-11  Atsushi Enomoto  <atsushi@ximian.com>
858
859         * library.make : HAVE_CS_TESTS fixie.
860
861 2004-06-11  Raja R Harinath  <rharinath@novell.com>
862
863         * library.make (HAVE_CS_TESTS, HAVE_VB_TESTS): Allow to be
864         overriden.  Useful if the tests sourcefile is generated.
865         (TEST_COMPILE, BTEST_COMPILE): Allow these to be customized too.
866
867         * platforms/win32.make (PLATFORM_TWEAK_CORLIB_SOURCES): Remove.
868
869         Support enough features to build mscorlib.dll.
870         * library.make (core_sourcefile): New renamed from $(sourcefile).
871         (PLATFORM_excludes): Auto-detecting define that sees if
872         $(LIBRARY).$(PLATFORM)-excludes file exists.
873         (sourcefile): New.  Possibly-built file that removes
874         PLATFORM_excluded files from core_sourcefile.
875         (test_against, test_dep): New.  Allow the test assembly to be
876         built against a different library.
877         (test_lib): Allow makefile to override the name of the test
878         assembly.
879         (LIBRARY_INSTALL_DIR): If defined, switch to using $(INSTALL_LIB)
880         rather than $(gacutil).
881         (DISTFILES, dist-local): Use core_sourcefile.
882         (clean-local): Remove sourcefile if it was generated.
883         (test_lib, btest_lib): Depend on $(test_dep).
884
885 2004-06-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
886
887         * library.make: fixed PLATFORM_CHANGE_SEPARATOR_CHAR on windows.
888
889 2004-06-09  Sebastien Pouliot  <sebastien@ximian.com>
890
891         * library.make: Added support to fully sign assemblies when doing a
892         "make install" (thanks to Jackson :-).
893
894 2004-06-09  Raja R Harinath  <rharinath@novell.com>
895
896         Do away with stampfiles.
897         Introduce support for VB test cases.
898         * library.make (HAVE_CS_TESTS, HAVE_VB_TESTS): New auto-detecting
899         defines.
900         (stampfile, test_stampfile): Remove.
901         (clean-local): Don't mention them.
902         (test-local, run-test-local, run-test-ondotnet-local):
903         Make unconditional.
904         ($(makefrag), $(test_makefrag)): Simplify.
905         ($(btest_lib)): New.  Support for VB testcases.
906
907 2004-06-09  Raja R Harinath  <rharinath@novell.com>
908
909         Partial support for writing Visual Basic source files.
910         * rules.make (USE_MBAS_FLAGS,BASCOMPILE,INTERNAL_MBAS): New.
911         * config-default.make (MBAS_FLAGS, DEFAULT_MBAS_FLAGS): New.
912         * profiles/default.make (MBAS): New.
913
914 2004-06-09  Raja R Harinath  <rharinath@novell.com>
915
916         Do away with stampfiles.
917         * executable.make (stampfile): Remove.
918         (clean-local): Remove mention of $(stampfile).
919         (test-local, run-test-local, run-test-ondotnet-local):
920         Make unconditional.  Add dummy rule to prevent other makefiles
921         from defining rules on these.
922         ($(PROGRAM)): Depend directly on $(BUILT_SOURCES).
923         ($(makefrag)): Simplify.
924
925 2004-06-03  Atsushi Enomoto  <atsushi@ximian.com>
926
927         * README.makefiles : added description for run-test-ondotnet.
928
929 2004-06-03  Atsushi Enomoto  <atsushi@ximian.com>
930
931         * Makefile, executable.make, library.make, rules.make :
932           Added new target "run-test-ondotnet" that works what "run-test"
933           used to be on windows (i.e. tests our libs under MS.NET).
934
935 2004-06-01  Atsushi Enomoto  <atsushi@ximian.com>
936
937         * platforms/win32.make : TEST_RUNTIME should be always mono we can't
938           test our libs against MS.NET runtime. Think about internal call).
939
940 2004-05-30  Jackson Harper  <jackson@ximian.com>
941
942         * library.make: Install to 2.0 package if building with the
943         net_2_0 profile.
944         
945 2004-05-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
946
947         * library.make: reference nunti.core.dll and nunit.util.dll when
948         building tests.
949
950 2004-05-26  Raja R Harinath  <rharinath@novell.com>
951
952         * library.make (clean-local): Add $(CLEAN_FILES) too.
953
954 2004-05-25  Sebastien Pouliot  <sebastien@ximian.com>
955
956         * library.make: changed case on nunit.framework.dll (lowercase)
957
958 2004-05-24  Raja R Harinath  <rharinath@novell.com>
959
960         * library.make (LIBRARY_COMPILE): New define.
961         ($(the_lib)): Use $(LIBRARY_COMPILE) to compile $(the_lib).
962
963         * executable.make (PROGRAM_INSTALL_DIR): Allow makefile to specify
964         a different directory for installation.
965         (install-local, uninstall-local): Use it.
966
967 2004-05-20  Raja R Harinath  <rharinath@novell.com>
968
969         * profiles/default.make (TEST_RUNTIME): Look in class/lib/default
970         for library to be tested.
971         * rules.make (INTERNAL_RESGEN): New Define.
972         * library.make (run-test-local): Move commands to run-test-lib.
973         Preparartion for allowing creation of addition test dll with .vb
974         testcases.
975         * executable.make (PROGRAM_COMPILE): New define.
976         ($(PROGRAM)): Use PROGRAM_COMPILE to compile PROGRAM.
977
978 2004-05-14  Jackson Harper  <jackson@ximian.com>
979
980         * library.make: Install package files. Get params in magical
981         correct order.
982         
983 2004-05-11  Jackson Harper  <jackson@ximian.com>
984
985         * platforms/linux.make:
986         * platforms/win32.make: Define a PLATFORM_PATH_SEPARATOR used for
987         separating paths in env vars. (ie MONO_PATH).
988         * profiles/net_2_0.make: Always use gmcs for building the 2.0
989         libraries. corlib is the first lib built and it will build gmcs.
990         
991 2004-05-11  Jackson Harper  <jackson@ximian.com>
992
993         * library.make: Allow assembly names to be different then their
994         .sources file names.
995         
996 2004-05-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
997
998         * library.make: build NUnit if we try to run 'make test' and the dll
999         is not found.
1000
1001 2004-04-29  Jackson Harper  <jackson@ximian.com>
1002
1003         * library.make: Fix uninstall
1004         
1005 2004-04-29  Martin Baulig  <martin@ximian.com>
1006
1007         * rules.make: Added `INTERNAL_ILASM'.
1008
1009 2004-04-29  Jackson Harper  <jackson@ximian.com>
1010
1011         * library.make: Use RUNTIME instead of PLATFORM_RUNTIME for the
1012         gacutil. gacutil needs to be run on our runtime. Make dependancys
1013         more sane.
1014         
1015 2004-04-28  Jackson Harper  <jackson@ximian.com>
1016
1017         * library.make: Use the proper runtime, make sure gacutil is
1018         built.
1019         
1020 2004-04-28  Jackson Harper  <jackson@ximian.com>
1021
1022         * library.make: Install these bad actors to the GAC.
1023         
1024 2004-04-28  Raja R Harinath  <rharinath@novell.com>
1025
1026         * library.make (test_flags): NUnit.Framework.dll is now in
1027         class/lib/$(PROFILE).
1028
1029 2004-04-26  Jackson Harper  <jackson@ximian.com>
1030
1031         * library.make:
1032         * profiles/bootstrap.make:
1033         * profiles/default.make: profiles are built in their ownb lib
1034         directory now.
1035         * profiles/net_2_0.make: new .net 2.0 profile.
1036         
1037 2004-04-22  Martin Baulig  <martin@ximian.com>
1038
1039         * profiles/net_1_2.make: Removed.
1040         * profiles/martin-generics.make: Remove.
1041
1042 2004-04-19  Raja R Harinath  <rharinath@novell.com>
1043
1044         * rules.make (%-recursive): Honor 'make -k'.
1045
1046 2004-02-17  Martin Baulig  <martin@ximian.com>
1047
1048         * profiles/generics.make: Renamed to `martin-generics.make' and
1049         added a comment to the file.  I'll rename this back when it's
1050         ready for public use.
1051
1052 2003-12-17  Jackson Harper <jackson@ximian.com>
1053
1054         * profiles/default.make:
1055         * profiles/net_1_0.make: Add ONLY_1_0 and ONLY_1_1 defines to fix
1056         the build
1057         
1058 2003-12-08  Peter Williams  <peter@newton.cx>
1059
1060         * config-default.make: Don't check for / define
1061         ECHO_ESCAPE: the check isn't smart enough and
1062         apparently OS X's shell somehow doesn't support
1063         escape characters.
1064
1065         * library.make: Use embedded tab instead of 
1066         $(ECHO_ESCAPE). Fixes OS X build.
1067         
1068         * executable.make: Same.
1069         
1070 2003-12-05  Martin Baulig  <martin@ximian.com>
1071
1072         * profiles/generics.make: Define `GENERICS'.
1073
1074 2003-12-05  Martin Baulig  <martin@ximian.com>
1075
1076         * profiles/net_1_2.make: New profile; uses the .NET 1.2 API's, but
1077         without generics and with mcs instead of gmcs.
1078
1079         * profiles/bootstrap.make: New profile; already use the newly
1080         compiled mcs to compile corlib.
1081
1082 2003-12-04  Martin Baulig  <martin@ximian.com>
1083
1084         * profiles/generics.make: Use gmcs.
1085
1086 2003-11-12 Jackson Harper <jackson@ximian.com>
1087
1088         * rules.make: 
1089         * platforms/linux.make: corlib name is now mscorlib.
1090         
1091 2003-11-09 Ben Maurer  <bmaurer@users.sourceforge.net>
1092
1093         * profiles/generics.make: add the -2 flag.
1094
1095 2003-10-28 Jackson Harper <jackson@ximian.com>
1096
1097         * platforms/linux.make: Tell users to read INSTALL.txt not the
1098         non-existant README.building.
1099         
1100 2003-10-22  Dick Porter  <dick@ximian.com>
1101
1102         * platforms/win32.make:
1103         * platforms/linux.make:
1104         * rules.make: Added RESGEN platform-specific tool.
1105
1106 2003-08-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1107
1108         * config-default.make: the /nowarn arguments are now set on a per
1109         library basis.
1110
1111 2003-07-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1112
1113         * executable.make: install-local depends on the program too.
1114
1115 2003-07-25  Peter Williams <peter@newton.cx>
1116
1117         * rules.make (run-test): Make it depend on 'test-local'
1118         then 'run-test-local' after 'run-test-recursive'. This way,
1119         'make run-test' from the toplevel doesn't recurse through all
1120         the directories doing a make test before we run anything.
1121
1122 2003-07-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1123
1124         * rules.make: run-test depends now on 'test'.
1125
1126 2003-07-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1127
1128         * rules.make: set corlib to PLATFORM_CORLIB if this is defined.
1129
1130 2003-07-22  Peter Williams  <peter@newton.cx>
1131
1132         * rules.make (withmcs): Add this developer utility target.
1133
1134 2003-07-20  Peter Williams  <peter@newton.cx>
1135
1136         * README.platforms: Update docs for changes below.
1137
1138         * platforms/win32.make (PLATFORM_CORLIB): Set this variable
1139         to 'mscorlib.dll', instead of $(corlib) which everything links
1140         against. *Almost* everything should link against our corlib --
1141         with the exception of corlib_cmp and corlib_res.
1142
1143         * platforms/linux.make: Same here: corlib.dll
1144
1145         * rules.make: Define $(corlib) here.
1146
1147 2003-07-20  Peter Williams  <peter@newton.cx>
1148
1149         * config-default.make (TEST_RUNTIME): Use the platform runtime
1150         to run tests, by default.
1151
1152         * profiles/default.make (TEST_RUNTIME): If our test runtime is
1153         mono, use the --debug flag.
1154
1155         * executable.make (sourcefile): Add a basename so that we can
1156         find the nunit sources and so we behave a bit more like
1157         library.make
1158
1159         * config-default.make (TEST_HARNESS): Find nunit-console in its
1160         new home.
1161
1162 2003-07-20  Peter Williams  <peter@newton.cx>
1163
1164         * library.make ($(response)): Do a "Creating ..." line here.
1165
1166         * executable.make ($(response)): Same.
1167
1168         * config-default.make: Make warning more forceful.
1169
1170         * rules.make: Define a useful 'PLATFORM_MONO_NATIVE' that is
1171         set if the platform does not have a native runtime (ie, linux).
1172         Also reorder some definitions.
1173
1174 2003-07-20  Peter Williams  <peter@newton.cx>
1175
1176         * Created. See ../ChangeLog for entries earlier than
1177         this.
1178