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