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