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