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