1 2009-04-05 Jonathan Pryor <jpryor@novell.com>
3 * executable.make: Support HAS_NUNIT_TEST variable; if set, will build
4 an NUnit test assembly during 'make test' and will run the tests
5 within the NUnit test assembly during 'make run-test'.
6 * library.make: Split out NUnit test rules/logic into tests.make.
7 * Makefile: Distribute tests.make.
8 * README.makefiles: Document HAS_NUNIT_TEST for executable.make,
9 documenting how to have NUnit tests for executables.
10 * tests.make: Added; NUnit test logic rules.
12 2009-01-08 Geoff Norton <gnorton@novell.com>
14 * Makefile: Add darwin.make to the make dist target as well
16 2009-01-07 Geoff Norton <gnorton@novell.com>
18 * library.make: Allow platform specific exclude tags from the
20 * darwin.make: Add to the build and add a new NotOnMac test
23 2008-12-30 Ankit Jain <jankit@novell.com>
25 * library.make (TEST_HARNESS_OUTPUT*): Fix /labels switch.
27 2008-12-12 Raja R Harinath <harinath@hurrynot.org>
29 * rules.make (topdir): Don't use $(shell ...).
30 Reported by Jonathan Chambers.
32 2008-12-10 Atsushi Enomoto <atsushi@ximian.com>
34 * library.make : enable FIXTURE and TESTNAME on run-test-ondotnet.
36 2008-11-28 Atsushi Enomoto <atsushi@ximian.com>
38 * Makefile : ugh, ok another dist pain.
40 2008-11-28 Atsushi Enomoto <atsushi@ximian.com>
42 * nunit-summary.xsl : copied from nunit resource (summary.xslt)
43 * library.make : put transformation result from TestResult-*.xml
44 into TestResult-*.log as we used to do.
46 2008-11-28 Marek Habersack <mhabersack@novell.com>
48 * library.make (FIXTURE_ARG): /parameter:value syntax is not
49 supported in nunit 2.4
50 (TESTNAME_ARG): added support for the nunit-console -run
51 parameter, so that individual tests can be ran.
53 2008-11-26 Atsushi Enomoto <atsushi@ximian.com>
55 * library.make : another nunit20 to kill :(
57 2008-11-25 Atsushi Enomoto <atsushi@ximian.com>
59 * library.make : update nunit options that break upgrade to 2.4.
61 2008-11-18 Raja R Harinath <harinath@hurrynot.org>
63 * library.make (TEST_FILES): Notice filenames with ../ in the test
64 sources file, and handle them in a way suitable for the 'make
65 dist' handling of such files.
67 2008-11-12 Zoltan Varga <vargaz@gmail.com>
69 * library.make: AOT the library after compilation if the AOT_IN_PROFILES
70 variable is defined and it contains the current profile.
72 2008-10-18 Jonathan Pryor <jpryor@novell.com>
74 * rules.make (dist-default): Distribute the Documentation directory,
77 2008-10-18 Jonathan Pryor <jpryor@novell.com>
79 * rules.make (MDOC): MONO_PATH needs to include net_1_1 so monodoc.dll
82 2008-10-17 Jonathan Pryor <jpryor@novell.com>
84 * README.makefiles: Add documentation about the new doc-update target.
86 2008-10-18 Raja R Harinath <harinath@hurrynot.org>
88 * rules.make (MDOC): Pass a proper MONO_PATH.
90 2008-10-17 Jonathan Pryor <jpryor@novell.com>
92 * build.rules: doc-update is now a standard target; provide a $(MDOC)
93 variable to simplify running the `mdoc` updater program.
94 * executable.make: Add doc-update target support (does nothing).
95 * library.make: Add doc-update target support; runs `mdoc update` on
96 the assembly, updating the documentation within Documentation/en.
97 * Makefile: Add doc-update target support.
99 2008-09-14 Zoltan Varga <vargaz@gmail.com>
101 * library.make: Allow FIXTURE make variable to be passed to nunit.
103 2008-08-29 Raja R Harinath <harinath@hurrynot.org>
105 * rules.make (do-%): Revert change below. We need the recursion
106 to ensure ordering of %-local after %-recursive. IOW, we
107 want to ensure strict linearity even with a 'make -j'.
109 2008-08-28 Zoltan Varga <vargaz@gmail.com>
111 * rules.make (Q_MCS): Use 5 spaces instead of -e '\\t'.
113 * library.make: Make some command quiet.
115 * rules.make: Avoid some needless recursive make invocations.
117 * rules.make: Print the profile in the quiet commands.
119 * rules.make: Make the build process quiet similarly to the runtime build
120 process. Use the V=1 argument to make to make it verbose again.
122 2008-08-04 Zoltan Varga <vargaz@gmail.com>
124 * rules.make (PROFILE): If no profile is passed on the command line, make
127 2008-06-30 Marek Safar <marek.safar@gmail.com>
129 * platforms/linux.make: Enable mcs optimizations.
131 2008-06-03 Zoltan Varga <vargaz@gmail.com>
133 * rules.make (PROFILE): Reapply the PROFILE=net_2_0 change. One can still
134 build 1.1 libraries using make PROFILE=default.
136 2008-05-27 Raja R Harinath <harinath@hurrynot.org>
138 * executable.make ($(PROGRAM_config)): Depend on directory
141 2008-04-09 Gert Driesen <drieseng@users.sourceforge.net>
143 * library.make: hidden -bootstrap option for gacutil is no longer
146 2008-03-24 Zoltan Varga <vargaz@gmail.com>
148 * library.make (check): Add a standard check target and make it the same as
151 2008-03-22 Zoltan Varga <vargaz@gmail.com>
153 * profiles/net_3_5.make (PROFILE_MCS_FLAGS): Get rid of obsolete
154 -langversion:linq option.
156 Fri Mar 14 09:31:59 CET 2008 Paolo Molaro <lupus@ximian.com>
158 * rules.make, library.make: move GACUTIL definition into rules.make as
159 it's used also by the tools. Add the hidden -bootstrap option.
161 2008-02-18 Raja R Harinath <harinath@hurrynot.org>
163 * rules.make (%/.stamp): Unify all directory creation targets here.
165 2008-02-17 Raja R Harinath <harinath@hurrynot.org>
167 * profiles/net_2_1_bootstrap.make: New.
168 * profiles/net_2_1_raw.make: New. The untuned 2.1 profile.
169 * profiles/net_2_1.make: New. The tuned 2.1 profile.
170 * Makefile (PROFILES): Update.
172 2007-12-06 Atsushi Enomoto <atsushi@ximian.com>
174 * profiles/net_3_5.make : fixed net_2_0 path.
176 2007-12-03 Marek Safar <marek.safar@gmail.com>
178 * Makefile.make: Distribute 3.5 profile
180 2007-11-08 Wade Berrier <wberrier@novell.com>
182 * config-default.make: add sysconfdir dir (for mconfig/config.xml)
184 2007-11-01 Marek Safar <marek.safar@gmail.com>
186 * corcompare.make: Build corcompare into same directory.
188 2007-10-27 Marek Safar <marek.safar@gmail.com>
190 * profiles/net_2_0_bootstrap.make: Fixed generics compiler name.
192 2007-10-27 Marek Safar <marek.safar@gmail.com>
194 * rules.make: Changed gmcs location.
196 2007-10-27 Marek Safar <marek.safar@gmail.com>
198 * executable.make: Added KEEP_OUTPUT_FILE_COPY to avoid move and copy
199 back compiler executables.
201 2007-09-21 Raja R Harinath <harinath@gmail.com>
203 * Makefile (PROFILES): Remove 'atomic' profiles.
204 * profiles/atomic.make, profiles/bootstrap.make: Remove.
206 2007-09-04 Wade Berrier <wberrier@novell.com>
208 * library.make: Glob for .sources for all profiles.
209 Use tools/removecomments.sh to account for '#include' and
210 comments, which are only used in the jvm profile at this point
212 2007-09-01 Jb Evain <jbevain@novell.com>
214 * Makefile: consider the net_2_1 profile.
216 2007-08-12 Marek Safar <marek.safar@gmail.com>
218 * library.make: Includes new `corcompare' target.
220 * corcompare.make: I got tired of hacking corcompare stuff again and
223 2007-08-11 Jb Evain <jbevain@novell.com>
225 * profiles/net_2_1: allow 2.1 assemblies in the GAC.
227 2007-07-27 Jb Evain <jbevain@novell.com>
229 * profiles/net_2_1: use smcs to compile the .net 2.1 assemblies.
231 2007-07-23 Raja R Harinath <rharinath@novell.com>
233 * library.make (install-local) [GAC]: If LIBRARY_PACKAGE is set to
234 'none' don't install a symlink from a package directory into the gac.
236 2007-07-11 Jb Evain <jbevain@novell.com>
238 * profiles/net_2_1.make: work on the 2_1 profile.
240 2007-06-12 Marek Safar <marek.safar@gmail.com>
242 * rules.make: Added FRAMEWORK_VERSION_MAJOR.
244 2007-05-11 Raja R Harinath <rharinath@novell.com>
246 * Makefile (dist-local): Remove special-case code.
247 * rules.make ($(depsdir)): New rule to create the dependencies
249 * library.make, executable.make: Make generated files depend on
251 * profiles/basic.make: Likewise.
253 * profiles/net_2_0_bootstrap.make: Move rules for mcs.exe to
255 * library.make (the_libdir, build_libdir): New. Create these
256 directories on demand instead of worrying about keeping the list
257 of profiles uptodate.
258 * executable.make (prog_dir): Likewise.
260 2007-03-17 Marek Sieradzki <marek.sieradzki@gmail.com>
262 * library.make: Show correct log (TestResult-ondotnet-PROFILE...) for
263 make run-test-ondotnet.
265 Fri Nov 24 18:38:31 CET 2006 Paolo Molaro <lupus@ximian.com>
267 * library.make: added ability to pass flags to the mono runtime when
268 running the test suite.
270 2006-09-06 Kornél Pál <kornelpal@gmail.com>
272 * TestConfiguration.cs: Moved to Npgsql.
274 2006-09-05 Kornél Pál <kornelpal@hotmail.com>
276 * config-default.make: Use UTF-8 as the default encoding for compilers.
278 2006-09-04 Raja R Harinath <rharinath@novell.com>
280 * library.make (TEST_HARNESS_VERBOSE): New user toggle. If
281 defined, NUnit will print the names of the unit tests as they are
282 run. Can be used to narrow down infloops.
283 (TEST_HARNESS_EXCLUDE): Provide a way to override the list of
284 excluded unit test categories.
286 2006-04-11 Raja R Harinath <rharinath@novell.com>
288 * profiles/default.make (BOOTSTRAP_PROFILE): Define.
289 * profiles/net_2_0.make (BOOTSTRAP_PROFILE): Define.
290 * rules.make (INTERNAL_RESGEN): Pick from bootstrap profile.
292 2006-01-19 Raja R Harinath <rharinath@novell.com>
294 * library.make (test_lib): Don't allow to be overridden.
295 (test_against, test_dep): Remove.
297 2006-01-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
299 * executable.make: allow installing a different .config file for
300 executables such as nunit-console.exe that should use a different one
301 depending on the profile.
303 2006-01-05 Raja R Harinath <rharinath@novell.com>
305 * library.make (run-test-lib, run-test-ondotnet-lib): Workaround a
306 sed limitation when printing the testsuite log.
308 2005-12-22 Raja R Harinath <rharinath@novell.com>
310 * library.make (lib_dir): Define to 'compat' if LIBRARY_COMPAT is
311 defined, 'lib' otherwise.
312 (the_lib): Use it to decide where to place the output library.
313 (LIBRARY_PACKAGE): New define. Install development symlinks for
314 compat libraries in a different directory.
316 2005-12-03 Kornél Pál <kornelpal@hotmail.com>
318 * config-default.make: Corrected default CODEPAGE comment to ISO-8859-1
321 2005-11-22 Vladislav Spivak <spivak@mainsoft.com>
323 <profile>.sources file is supporting #include directive
324 Usually it includes common .sources file.
325 Let's make it dependency of <profile>.sources
327 2005-10-03 Raja R Harinath <rharinath@novell.com>
329 * profiles/basic.make (monolite_flag, use_monolite): New. Used to
330 determine if we need to compile with 'monolite' rather than with
332 (do-profile-check): Simplify. Remove corlib version testing
333 scripts. Delegate that work to the mono runtime itself. Split
334 off 'monolite' handling into ...
335 (do-profile-check-monolite): ... this.
337 2005-09-27 Kornél Pál <kornelpal@hotmail.com>
339 * config-default.make: Added CODEPAGE that is the default encoding used by
341 * rules.make (USE_MCS_FLAGS, USE_MBAS_FLAGS): Added /codepage.
343 2005-09-22 Raja R Harinath <rharinath@novell.com>
345 * Makefile (BUILT_FILES): New.
346 (all-local ...): Depend on them.
347 (clean-local): Relete them.
348 (common/Consts.cs): New rule.
349 (COMMON_SRCS): Don't distribute common/Consts.cs.
351 2005-09-12 Raja R Harinath <rharinath@novell.com>
353 * profiles/basic.make (do-profile-check): Quote sed expression.
355 2005-09-06 Raja R Harinath <rharinath@novell.com>
357 * profiles/net_1_1_bootstrap.make: Remove special-handling on Win32.
358 * profiles/default.make: Likewise.
360 2005-08-26 Kornél Pál <kornelpal@hotmail.com>
362 * Makefile: Added Consts.cs.in. Removed MonoVersion.cs.
364 2005-08-23 Raja R Harinath <rharinath@novell.com>
366 * profiles/basic.make (do-profile-check): Set MONO_PATH to
367 monolite directory when running disassembler.
369 2005-08-22 Raja R Harinath <rharinath@novell.com>
371 * Makefile (DISTFILES): Move files in common/ to ...
372 (COMMON_SRCS): ... this. Add Consts.cs, MonoVersion.cs and
373 TestConfiguration.cs.
375 2005-08-19 Raja R Harinath <rharinath@novell.com>
377 * profiles/basic.make (do-profile-check): Add some debugging output.
378 Handle disassemblers that print corlib version in hex.
380 2005-07-26 Raja R Harinath <rharinath@novell.com>
382 * executable.make, library.make: Use unix-style commandline options.
383 * profiles/basic.make (FRAMEWORK_VERSION): Set.
384 * profiles/net_1_1_bootstrap.make (FRAMEWORK_VERSION): Likewise.
386 2005-07-22 Raja R Harinath <rharinath@novell.com>
388 * profiles/basic.make (do-profile-check): Make the "silent"
389 compilation check even more silent. Refuse to use monolite if the
390 corlib version of monolite/mscorlib.dll doesn't match the corlib
391 version of the source.
393 2005-06-15 Raja R Harinath <rharinath@novell.com>
395 * executable.make (dist-local): Copy from library.make.
397 2005-05-23 Raja R Harinath <rharinath@novell.com>
399 * rules.make (STD_TARGETS): Make them all go through an
401 (all): Indirect through do-all.
403 (do-%): New pattern fallback. Performs the standard behaviour:
404 %-recursive, and then %-local.
405 (do-run-test): New. Make '-k' more useful.
406 Reported by Ritvik Mayank.
408 2005-05-10 Raja R Harinath <rharinath@novell.com>
410 * library.make (dist-fixup): Fix typo.
412 2005-05-06 Raja R Harinath <rharinath@novell.com>
414 * library.make (LIBRARY_NEEDS_PREPROCESSING): New control.
415 (build_lib): Name of library built. Default to $(the_lib) unless
417 ($(build_lib)): Rename from '$(the_lib)'.
418 ($(makefrag)): Emit dependencies on $(build_lib).
420 2005-05-04 Zoltan Varga <vargaz@freemail.hu>
422 * rules.make config-default.make: Use the install-sh script from the mono
423 directory by default.
425 2005-04-29 Ben Maurer <bmaurer@ximian.com>
427 * profiles/basic.make: The test for mcs was broken on jails where
428 we got a warning due to /proc not being mounted. Remove hackish wc
431 2005-04-25 Raja R Harinath <rharinath@novell.com>
433 * config-default.make (RUNTIME): Set to 'false'.
434 Reported by Ben Maurer.
435 * profiles/basic.make (MCS): Revert changes below.
436 * platforms/linux.make (ILDISASM): Define.
437 * platforms/win32.make (ILDIsASM): Likewise.
439 2005-04-23 Ben Maurer <bmaurer@ximian.com>
441 * profiles/basic.make: Ensure that make dist works even if you
442 only have an old mono rpm installed. Essential for the new build
445 2005-04-21 Raja R Harinath <rharinath@novell.com>
447 * rules.make (INTERNAL_ILASM): Update.
449 2005-04-14 Raja R Harinath <rharinath@novell.com>
451 * library.make (dist-local): Include all ChangeLogs in the tarball.
453 2005-04-08 Raja R Harinath <rharinath@novell.com>
455 * profiles/basic.make (do-profile-check): Handle some possible
456 timestamp problems. Hopefully fix #74280.
458 2005-03-30 Zoltan Varga <vargaz@freemail.hu>
460 * rules.make (INSTALL_DATA): Pass -c to install.
462 2005-03-18 Raja R Harinath <rharinath@novell.com>
464 * library.make (TEST_FILES, $(test_response), $(btest_response)):
465 Be more robust to empty lines in test sources file.
467 2005-03-14 Raja R Harinath <rharinath@novell.com>
469 * executable.make (install-local): Depend on all-local even when
470 NO_INSTALL is defined.
471 * library.make: Minor cleanups to match executable.make.
472 (gacutil): Use net_1_1_bootstrap/gacutil.exe.
473 * profiles/basic.make (no-install): Remove.
474 * profiles/net_1_1_bootstrap.make (no-install): Likewise.
476 2005-02-22 Raja R Harinath <rharinath@novell.com>
478 * library.make (BUILT_SOURCES_cmdline): Don't define if
479 BUILT_SOURCES is empty.
481 2005-02-21 Michal Moskal <malekith@pld-linux.org>
482 Raja R Harinath <rharinath@novell.com>
484 * config-default.make (exec_prefix, libdir): New.
485 * library.make (libdir): Remove.
486 * executable.make (PROGRAM_INSTALL_DIR): Define in terms of
489 2005-02-15 Raja R Harinath <rharinath@novell.com>
491 * platforms/win32.make (RESGEN): Point to in-tree version of
492 resgen.exe. The .NET 1.1 SDK doesn't appear to come with one.
494 2005-02-10 Raja R Harinath <rharinath@novell.com>
496 * library.make (DISTFILES): Add $(btest_sourcefile).
498 2005-02-02 Raja R Harinath <rharinath@novell.com>
500 * library.make (run-test-lib): Use $(LOCAL_TEST_HARNESS_FLAGS).
501 (run-test-ondotnet-lib): Use $(LOCAL_TEST_HARNESS_ONDOTNET_FLAGS).
503 2005-02-01 Zoltan Varga <vargaz@freemail.hu>
505 * library.make (run-test-lib): Exclude InetAccess tests.
507 2005-02-30 Sebastien Pouliot <sebastien@ximian.com>
509 * library.make: Exclude CAS category from run-test-ondotnet.
511 2005-01-31 Sebastien Pouliot <sebastien@ximian.com>
513 * library.make: Exclude CAS category when running unit tests with
514 Mono (they can be run manually using --security). Added a define
515 for WINDOWS (only on Windows) to be used for declarative security
518 2005-01-24 Raja R Harinath <rharinath@novell.com>
520 * library.make (run-test-lib, run-test-ondotnet-lib): Print out
523 2005-01-16 Nick Drochak <ndrochak@ieee.org>
525 * library.make: /exclude for nunit needs a comma separated list
527 2005-01-14 Atsushi Enomoto <atsushi@ximian.com>
529 * library.make : output TestResult-ondotnet-(profile).log instead of
530 TestResult-(profile).log for run-test-ondotnet.
532 2005-01-13 Raja R Harinath <rharinath@novell.com>
534 * profiles/default.make (MBAS) [!PLATFORM_MONO_NATIVE]: Use
536 Reported by Nick Drochak.
538 2005-01-03 Nick Drochak <ndrochak@ieee.org>
540 * library.make: Ingore tests that are not meant to be run on MS DotNet
542 2004-12-14 Raja R Harinath <rharinath@novell.com>
544 * profiles/basic.make (do-profile-check): Rename from
545 'real-profile-check'. Rewrite slightly to use 'make' to build the
547 (clean-profile): Remove the files.
549 2004-12-08 Raja R Harinath <rharinath@novell.com>
551 * profiles/basic.make (real-profile-check): Update to new location
552 of secret stash of bootstrap files.
554 2004-12-07 Raja R Harinath <rharinath@novell.com>
556 * executable.make (uninstall-local): Remove .config file too.
557 * library.make (uninstall-local): Don't error out if GACUTIL fails.
559 2004-12-07 Raja R Harinath <rharinath@novell.com>
561 * library.make (BUILT_SOURCES_cmdline): Use
562 PLATFORM_CHANGE_SEPARATOR_CMD on BUILT_SOURCES too.
563 ($(the_lib)): Use it.
565 2004-12-04 Atsushi Enomoto <atsushi@ximian.com>
568 profiles/default.make,
569 profiles/basic.make : use PLATFORM_PATH_SEPARATOR.
571 2004-12-03 Raja R Harinath <rharinath@novell.com>
573 * profiles/basic.make (MCS): Run the INTERNAL_MCS.
574 (USE_BOOT_COMPILE): Remove.
576 2004-12-03 Raja R Harinath <rharinath@novell.com>
578 * library.make (gacdir_flag): New. Disable /gacdir flag if
579 RUNTIME_HAS_CONSISTENT_GACDIR flag is set.
580 (install-local): Use it.
582 2004-11-30 Raja R Harinath <rharinath@novell.com>
584 * executable.make (makefrag): Make profile-specific.
586 2004-11-26 Martin Baulig <martin@ximian.com>
588 * library.make (run-test-lib, run-test-ondotnet-lib): Added
589 `/output:TestResult-$(PROFILE).log' argument to NUnit.
591 2004-11-26 Raja R Harinath <rharinath@novell.com>
593 * library.make ($(the_lib)): Don't complain if a .mdb file wasn't
594 created (even though it's just a warning).
595 (install-local) [LIBRARY_INSTALL_DIR]: Likewise.
597 (install-local) [!LIBRARY_INSTALL_DIR]: Use $(FRAMEWORK_VERSION).
598 * executable.make ($(PROGRAM)): Likewise.
599 (install-local): Likewise.
600 (PROGRAM_INSTALL_DIR): Define Using $(FRAMEWORK_VERSION).
602 2004-11-26 Raja R Harinath <rharinath@novell.com>
604 * profiles/basic.make (real-profile-check): Prepend ./ when
605 executing basic-profile-check.exe. EXTERNAL_RUNTIME can be empty.
607 2004-11-25 Raja R Harinath <rharinath@novell.com>
609 * platforms/linux.make (EXTERNAL_MCS,EXTERNAL_MBAS,EXTERNAL_RUNTIME):
611 * platforms/win32.make: Likewise.
612 * profiles/basic.make: Use $(EXTERNAL_MCS).
613 * profiles/net_1_1_bootstrap.make: Likewise.
614 * library.make ($(the_lib)): Add support for BUILT_SOURCES.
615 (run-test-lib): Pass $(TEST_HARNESS_FLAGS) to harness. Useful to
616 pass, say /labels, to nunit-console.
618 2004-11-25 Raja R Harinath <rharinath@novell.com>
620 * library.make ($(gacutil)): Fix path.
622 2004-11-23 Raja R Harinath <rharinath@novell.com>
624 * executable.make (NO_INSTALL): New option. Disables installation.
625 * library.make (NO_INSTALL): Likewise.
626 (install-local) [!NO_INSTALL, !LIBRARY_INSTALL_DIR]: Pass both
627 /gacdir and /root options to gacutil.
628 * platforms/linux.make (platform-check): Print the BOOTSTRAP_MCS
629 command that was tried, in case of failure.
630 * profiles/basic.make (NO_TEST, NO_INSTALL): Define.
631 * profiles/net_1_1_bootstrap.make: Likewise.
632 * profiles/net_2_0_bootstrap.make: Likewise.
634 2004-11-22 Raja R Harinath <rharinath@novell.com>
636 * library.make (SN): New define. Use the net_1_1_bootstrap sn.exe.
638 ($(the_lib)): Use them to sign assemblies as they're built.
639 (the_lib_signature_stamp): Remove.
641 * Makefile (DISTFILES): Distribute all the profile make-fragments.
642 (clean-local): Clean up the deps/ directory.
644 2004-11-19 Raja R Harinath <rharinath@novell.com>
646 Orchestrate the bootstrap.
647 * rules.make (INTERNAL_MCS): Look for mcs.exe in profile-specific directory.
648 * profiles/net_1_1_bootstrap.make (BOOTSTRAP_MCS): Use mcs.exe from
650 * profiles/default.make (BOOTSTRAP_MCS): Use mcs.exe from the
651 net_1_1_bootstrap profile.
652 * profiles/net_2_0_bootstrap.make (BOOTSTRAP_MCS): Use mcs.exe
653 from default profile.
654 (all-local, clean-local): New. Copy mcs.exe from default profile,
655 but customize it to work with 2.0.x libraries.
656 * profiles/net_2_0.make (BOOTSTRAP_MCS): Define approprately for
659 * executable.make (executable_CLEAN_FILES): Clean up more files.
660 ($(PROGRAM)): Move .mdb files too.
662 2004-11-18 Atsushi Enomoto <atsushi@ximian.com>
664 * library.make: Reverted the last fix. It broke windows build (that
665 should be fixed though).
667 2004-11-18 Atsushi Enomoto <atsushi@ximian.com>
669 * library.make: Some minor fix for PLATFORM_PATH_SEPARATOR.
671 2004-11-17 Raja R Harinath <rharinath@novell.com>
673 * executable.make: Improve support for building executable into a
676 2004-11-09 Raja R Harinath <rharinath@novell.com>
678 * profiles/basic.make: New.
679 * profiles/net_2_0.make (PROFILE_MCS_FLAGS): Remove '-2' flag.
680 * profiles/net_1_1_bootstrap.make (NO_SIGN_ASSEMBLY): Set.
682 2004-11-04 Raja R Harinath <rharinath@novell.com>
684 * profiles/net_1_1_bootstrap.make: New profile.
685 * profiles/net_2_0_bootstrap.make: Use in-tree mcs for
686 bootstrapping mscorlib.dll.
687 * platforms/linux.make (platform-check): Make more robust.
688 * rules.make (%-recursive): Propagate error exit from sub-makes
689 even if invoked with 'make -k'.
691 2004-10-29 Raja R Harinath <rharinath@novell.com>
693 * profiles/net_2_0_bootstrap.make (PROFILE_MCS_FLAGS): Remove
694 -langversion:default flag.
696 * rules.make (distdir): Remove.
697 (PROFILE_SUBDIRS): New. Support profile-specific SUBDIRS.
699 (dist-recursive): Define distdir here.
701 2004-10-25 Zoltan Varga <vargaz@freemail.hu>
703 * config-default.make (TEST_RUNTIME): Add TEST_MONO_PATH variable.
705 2004-09-27 Raja R Harinath <rharinath@novell.com>
707 * library.make ($(test_nunit_dep)): Make sure NUnit is built for
708 the profile being tested.
709 (nunit-$(PROFILE).stamp): Rename from nunit.stamp.
710 * config-default.make (TEST_HARNESS): Look for 'nunit-console' in
711 profile-specific directory.
713 2004-09-21 Raja R Harinath <rharinath@novell.com>
715 * profiles/net_2_0_bootstrap.make: New file.
717 * library.make (the_mdb): Fix.
718 (library_CLEAN_FILES): Add the new test results files too.
720 2004-09-14 Raja R Harinath <rharinath@novell.com>
722 * library.make (test_lib, btest_lib): Build separate test
723 assemblies for separate profiles.
724 (dist-local): Don't copy files beginning with '../'.
725 (test_sourcefile, btest_sourcefile): Define in terms of
726 $(test_lib) or $(btest_lib) only if they're overriden.
727 (test_response, test_makefrag): Remove redundant $(PROFILE) in name.
728 (run-test-lib, run-btest-lib): Unify. Give profile-specific name
730 * rules.make (dist-default): Handle any of Makefile, makefile, or
731 GNUmakefile being present.
732 * profiles/net_2_0.make (TEST_RUNTIME): Don't define.
734 2004-08-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
737 * library.make: install/clean .mdb files.
739 2004-07-30 Martin Baulig <martin@ximian.com>
741 * executable.make (EXTRA_SOURCES): New variable to add extra
742 sources to the program.
744 2004-07-30 Raja R Harinath <harinath@blr-harinath.blr.novell.com>
746 * executable.make (PROGRAM_config): New auto-detecting define.
747 Defined if $(PROGRAM).config exists.
748 (install-local): Install $(PROGRAM_config) if it exists.
750 2004-07-21 Lluis Sanchez Gual <lluis@novell.com>
752 * profiles/default.make, profiles/net_2_0.make, profiles/net_1_0.make:
753 Added FRAMEWORK_VERSION var.
755 2004-07-02 Raja R Harinath <rharinath@novell.com>
757 Support for avoiding "sharing violations" while compiling core
758 libraries with an in-tree compiler.
759 * library.make (LIBRARY_USE_INTERMEDIATE_FILE): New toggle.
760 ($(the_lib)): Use it.
762 2004-07-02 Raja R Harinath <rharinath@novell.com>
764 * rules.make (OVERRIDE_BARE_TARGETS): Remove.
765 (OVERRIDE_TARGET_ALL): New control for overriding the default all:
766 rule. If set, 'make all' will run 'all.override' from the client
768 (all): Move commands ...
769 (all.real): ... here. Make ordering assumptions explicit, and
771 (test,run-test,run-test-ondotnet,clean,install,uninstall):
773 (STD_TARGETS): ... this new variable. Make ordering assumption
774 between -recursive and -local targets explicit.
775 (%-recursive): Handle W32 GNU make that has --unix as the first
777 * README.makefiles (Special recursion needs): Update to reflect
779 * library.make (all-local): Build $(the_lib_signature_stamp) when
780 NO_SIGN_ASSEMBLY is defined.
781 ($(gacutil),$(sn)): Consolidate rules.
782 (test-local,run-test-local,run-test-ondotnet-local): Likewise.
784 2004-07-02 Raja R Harinath <rharinath@novell.com>
786 * config-default.make (TEST_RUNTIME): Use 'mono' by default.
787 * platforms/win32.make (TEST_RUNTIME): Remove.
788 * profiles/default.make (TEST_RUNTIME): Remove.
790 2004-06-28 Raja R Harinath <rharinath@novell.com>
792 * platforms/linux.make (RESGEN): Define using $(INTERNAL_RESGEN).
794 2004-06-21 Raja R Harinath <rharinath@novell.com>
796 * executable.make ($(PROGRAM)): Move depend on the makefrags ...
797 (all-local): ... here.
798 * library.make ($(the_lib), $(test_lib), $(btest_lib), all-local):
800 (LIBRARY_SNK): New default define. Allows library to be signed
801 with a key other than mono.snk.
802 ($(the_lib_signature_stamp)): New stamp file created when an
804 (install-local, uninstall-local, maybe-sign-lib): Set MONO_PATH.
806 2004-06-16 Raja R Harinath <rharinath@novell.com>
808 * library.make ($(makefrag),$(test_makefrag),$(btest_makefrag)):
809 Depend on library.make.
810 * executable.make ($(makefrag)): Depend on executable.make.
812 2004-06-16 Atsushi Enomoto <atsushi@ximian.com>
814 * library.make : Added GACDIR. Use cygpath -w on windows.
816 2004-06-14 Raja R Harinath <rharinath@novell.com>
818 * platforms/linux.make (PLATFORM_CHANGE_SEPARATOR_CMD): Define to 'cat'.
819 (PLATFORM_TWEAK_CORLIB_SOURCES): Remove.
820 (platform-check): Avoid bash-ism.
821 * library.make: Simplify uses of $(patsubst x,y,$(foo)) to $(foo:x=y).
822 (core_sourcefile): Rename back to ...
823 (sourcefile): ... this. Remove creation of redundant intermediate file.
824 (response): Change test for optimization, now that
825 PLATFORM_CHANGE_SEPARATOR_CMD is unconditional. Combine with
826 platform-exclude handling.
827 (library_CLEAN_FILES): New variable to specify clean:-able files
828 close to where they're defined.
829 (test_response, btest_response): Simplify.
830 * executable.make (response): Change test for optimization.
831 (executable_CLEAN_FILES): New define.
833 2004-06-14 Raja R Harinath <rharinath@novell.com>
835 * library.make (uninstall-local): Fix typo.
837 2004-06-11 Atsushi Enomoto <atsushi@ximian.com>
839 * library.make : HAVE_CS_TESTS fixie.
841 2004-06-11 Raja R Harinath <rharinath@novell.com>
843 * library.make (HAVE_CS_TESTS, HAVE_VB_TESTS): Allow to be
844 overriden. Useful if the tests sourcefile is generated.
845 (TEST_COMPILE, BTEST_COMPILE): Allow these to be customized too.
847 * platforms/win32.make (PLATFORM_TWEAK_CORLIB_SOURCES): Remove.
849 Support enough features to build mscorlib.dll.
850 * library.make (core_sourcefile): New renamed from $(sourcefile).
851 (PLATFORM_excludes): Auto-detecting define that sees if
852 $(LIBRARY).$(PLATFORM)-excludes file exists.
853 (sourcefile): New. Possibly-built file that removes
854 PLATFORM_excluded files from core_sourcefile.
855 (test_against, test_dep): New. Allow the test assembly to be
856 built against a different library.
857 (test_lib): Allow makefile to override the name of the test
859 (LIBRARY_INSTALL_DIR): If defined, switch to using $(INSTALL_LIB)
860 rather than $(gacutil).
861 (DISTFILES, dist-local): Use core_sourcefile.
862 (clean-local): Remove sourcefile if it was generated.
863 (test_lib, btest_lib): Depend on $(test_dep).
865 2004-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
867 * library.make: fixed PLATFORM_CHANGE_SEPARATOR_CHAR on windows.
869 2004-06-09 Sebastien Pouliot <sebastien@ximian.com>
871 * library.make: Added support to fully sign assemblies when doing a
872 "make install" (thanks to Jackson :-).
874 2004-06-09 Raja R Harinath <rharinath@novell.com>
876 Do away with stampfiles.
877 Introduce support for VB test cases.
878 * library.make (HAVE_CS_TESTS, HAVE_VB_TESTS): New auto-detecting
880 (stampfile, test_stampfile): Remove.
881 (clean-local): Don't mention them.
882 (test-local, run-test-local, run-test-ondotnet-local):
884 ($(makefrag), $(test_makefrag)): Simplify.
885 ($(btest_lib)): New. Support for VB testcases.
887 2004-06-09 Raja R Harinath <rharinath@novell.com>
889 Partial support for writing Visual Basic source files.
890 * rules.make (USE_MBAS_FLAGS,BASCOMPILE,INTERNAL_MBAS): New.
891 * config-default.make (MBAS_FLAGS, DEFAULT_MBAS_FLAGS): New.
892 * profiles/default.make (MBAS): New.
894 2004-06-09 Raja R Harinath <rharinath@novell.com>
896 Do away with stampfiles.
897 * executable.make (stampfile): Remove.
898 (clean-local): Remove mention of $(stampfile).
899 (test-local, run-test-local, run-test-ondotnet-local):
900 Make unconditional. Add dummy rule to prevent other makefiles
901 from defining rules on these.
902 ($(PROGRAM)): Depend directly on $(BUILT_SOURCES).
903 ($(makefrag)): Simplify.
905 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
907 * README.makefiles : added description for run-test-ondotnet.
909 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
911 * Makefile, executable.make, library.make, rules.make :
912 Added new target "run-test-ondotnet" that works what "run-test"
913 used to be on windows (i.e. tests our libs under MS.NET).
915 2004-06-01 Atsushi Enomoto <atsushi@ximian.com>
917 * platforms/win32.make : TEST_RUNTIME should be always mono we can't
918 test our libs against MS.NET runtime. Think about internal call).
920 2004-05-30 Jackson Harper <jackson@ximian.com>
922 * library.make: Install to 2.0 package if building with the
925 2004-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
927 * library.make: reference nunti.core.dll and nunit.util.dll when
930 2004-05-26 Raja R Harinath <rharinath@novell.com>
932 * library.make (clean-local): Add $(CLEAN_FILES) too.
934 2004-05-25 Sebastien Pouliot <sebastien@ximian.com>
936 * library.make: changed case on nunit.framework.dll (lowercase)
938 2004-05-24 Raja R Harinath <rharinath@novell.com>
940 * library.make (LIBRARY_COMPILE): New define.
941 ($(the_lib)): Use $(LIBRARY_COMPILE) to compile $(the_lib).
943 * executable.make (PROGRAM_INSTALL_DIR): Allow makefile to specify
944 a different directory for installation.
945 (install-local, uninstall-local): Use it.
947 2004-05-20 Raja R Harinath <rharinath@novell.com>
949 * profiles/default.make (TEST_RUNTIME): Look in class/lib/default
950 for library to be tested.
951 * rules.make (INTERNAL_RESGEN): New Define.
952 * library.make (run-test-local): Move commands to run-test-lib.
953 Preparartion for allowing creation of addition test dll with .vb
955 * executable.make (PROGRAM_COMPILE): New define.
956 ($(PROGRAM)): Use PROGRAM_COMPILE to compile PROGRAM.
958 2004-05-14 Jackson Harper <jackson@ximian.com>
960 * library.make: Install package files. Get params in magical
963 2004-05-11 Jackson Harper <jackson@ximian.com>
965 * platforms/linux.make:
966 * platforms/win32.make: Define a PLATFORM_PATH_SEPARATOR used for
967 separating paths in env vars. (ie MONO_PATH).
968 * profiles/net_2_0.make: Always use gmcs for building the 2.0
969 libraries. corlib is the first lib built and it will build gmcs.
971 2004-05-11 Jackson Harper <jackson@ximian.com>
973 * library.make: Allow assembly names to be different then their
976 2004-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
978 * library.make: build NUnit if we try to run 'make test' and the dll
981 2004-04-29 Jackson Harper <jackson@ximian.com>
983 * library.make: Fix uninstall
985 2004-04-29 Martin Baulig <martin@ximian.com>
987 * rules.make: Added `INTERNAL_ILASM'.
989 2004-04-29 Jackson Harper <jackson@ximian.com>
991 * library.make: Use RUNTIME instead of PLATFORM_RUNTIME for the
992 gacutil. gacutil needs to be run on our runtime. Make dependancys
995 2004-04-28 Jackson Harper <jackson@ximian.com>
997 * library.make: Use the proper runtime, make sure gacutil is
1000 2004-04-28 Jackson Harper <jackson@ximian.com>
1002 * library.make: Install these bad actors to the GAC.
1004 2004-04-28 Raja R Harinath <rharinath@novell.com>
1006 * library.make (test_flags): NUnit.Framework.dll is now in
1007 class/lib/$(PROFILE).
1009 2004-04-26 Jackson Harper <jackson@ximian.com>
1012 * profiles/bootstrap.make:
1013 * profiles/default.make: profiles are built in their ownb lib
1015 * profiles/net_2_0.make: new .net 2.0 profile.
1017 2004-04-22 Martin Baulig <martin@ximian.com>
1019 * profiles/net_1_2.make: Removed.
1020 * profiles/martin-generics.make: Remove.
1022 2004-04-19 Raja R Harinath <rharinath@novell.com>
1024 * rules.make (%-recursive): Honor 'make -k'.
1026 2004-02-17 Martin Baulig <martin@ximian.com>
1028 * profiles/generics.make: Renamed to `martin-generics.make' and
1029 added a comment to the file. I'll rename this back when it's
1030 ready for public use.
1032 2003-12-17 Jackson Harper <jackson@ximian.com>
1034 * profiles/default.make:
1035 * profiles/net_1_0.make: Add ONLY_1_0 and ONLY_1_1 defines to fix
1038 2003-12-08 Peter Williams <peter@newton.cx>
1040 * config-default.make: Don't check for / define
1041 ECHO_ESCAPE: the check isn't smart enough and
1042 apparently OS X's shell somehow doesn't support
1045 * library.make: Use embedded tab instead of
1046 $(ECHO_ESCAPE). Fixes OS X build.
1048 * executable.make: Same.
1050 2003-12-05 Martin Baulig <martin@ximian.com>
1052 * profiles/generics.make: Define `GENERICS'.
1054 2003-12-05 Martin Baulig <martin@ximian.com>
1056 * profiles/net_1_2.make: New profile; uses the .NET 1.2 API's, but
1057 without generics and with mcs instead of gmcs.
1059 * profiles/bootstrap.make: New profile; already use the newly
1060 compiled mcs to compile corlib.
1062 2003-12-04 Martin Baulig <martin@ximian.com>
1064 * profiles/generics.make: Use gmcs.
1066 2003-11-12 Jackson Harper <jackson@ximian.com>
1069 * platforms/linux.make: corlib name is now mscorlib.
1071 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
1073 * profiles/generics.make: add the -2 flag.
1075 2003-10-28 Jackson Harper <jackson@ximian.com>
1077 * platforms/linux.make: Tell users to read INSTALL.txt not the
1078 non-existant README.building.
1080 2003-10-22 Dick Porter <dick@ximian.com>
1082 * platforms/win32.make:
1083 * platforms/linux.make:
1084 * rules.make: Added RESGEN platform-specific tool.
1086 2003-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1088 * config-default.make: the /nowarn arguments are now set on a per
1091 2003-07-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1093 * executable.make: install-local depends on the program too.
1095 2003-07-25 Peter Williams <peter@newton.cx>
1097 * rules.make (run-test): Make it depend on 'test-local'
1098 then 'run-test-local' after 'run-test-recursive'. This way,
1099 'make run-test' from the toplevel doesn't recurse through all
1100 the directories doing a make test before we run anything.
1102 2003-07-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1104 * rules.make: run-test depends now on 'test'.
1106 2003-07-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1108 * rules.make: set corlib to PLATFORM_CORLIB if this is defined.
1110 2003-07-22 Peter Williams <peter@newton.cx>
1112 * rules.make (withmcs): Add this developer utility target.
1114 2003-07-20 Peter Williams <peter@newton.cx>
1116 * README.platforms: Update docs for changes below.
1118 * platforms/win32.make (PLATFORM_CORLIB): Set this variable
1119 to 'mscorlib.dll', instead of $(corlib) which everything links
1120 against. *Almost* everything should link against our corlib --
1121 with the exception of corlib_cmp and corlib_res.
1123 * platforms/linux.make: Same here: corlib.dll
1125 * rules.make: Define $(corlib) here.
1127 2003-07-20 Peter Williams <peter@newton.cx>
1129 * config-default.make (TEST_RUNTIME): Use the platform runtime
1130 to run tests, by default.
1132 * profiles/default.make (TEST_RUNTIME): If our test runtime is
1133 mono, use the --debug flag.
1135 * executable.make (sourcefile): Add a basename so that we can
1136 find the nunit sources and so we behave a bit more like
1139 * config-default.make (TEST_HARNESS): Find nunit-console in its
1142 2003-07-20 Peter Williams <peter@newton.cx>
1144 * library.make ($(response)): Do a "Creating ..." line here.
1146 * executable.make ($(response)): Same.
1148 * config-default.make: Make warning more forceful.
1150 * rules.make: Define a useful 'PLATFORM_MONO_NATIVE' that is
1151 set if the platform does not have a native runtime (ie, linux).
1152 Also reorder some definitions.
1154 2003-07-20 Peter Williams <peter@newton.cx>
1156 * Created. See ../ChangeLog for entries earlier than