1 2008-09-11 Marek Safar <marek.safar@gmail.com>
3 * library.make: Add NO_BUILD to ignore assembly during build.
5 2009-07-30 Raja R Harinath <harinath@hurrynot.org>
7 * library.make (SNFLAGS): Remove '-R', since it's specific to the
9 ($(build_lib)): Use -R flag with $(SN).
10 ($(the_lib)): Add a sanity check to verify that the assembly is signed.
12 2009-07-26 Raja R Harinath <harinath@hurrynot.org>
14 Make AOT compilation explicit
15 * platforms/darwin.make (PLATFORM_AOT_SUFFIX): New.
16 * platforms/linux.make (PLATFORM_AOT_SUFFIX): New.
17 * library.make ($(build_lib)): Don't try to AOT compile the
18 library in its possibly temporary location.
19 (DO_AOT): Remove. Move to ...
20 ($(the_lib)$(PLATFORM_AOT_SUFFIX)): ... here, new rule to
21 explicitly run the AOT compilation.
22 (all-local) [ENABLE_AOT]: Build the AOT compiled library as appropriate.
24 2009-07-26 Raja R Harinath <harinath@hurrynot.org>
26 Fix parallel-build issues with LIBRARY_USE_INTERMEDIATE_FILE
27 * library.make (build_lib): Define to a profile dependent
28 temporary location for LIBRARY_USE_INTERMEDIATE_FILE.
29 (DO_AOT): New. Extracted from ...
30 ($(build_lib)): ... here. Simplify. Extract code handling
31 LIBRARY_USE_INTERMEDIATE_FILE into ...
32 ($(the_lib)) [LIBRARY_USE_INTERMEDIATE_FILE]: ... here, a new rule
33 that takes care of copying the library from its temporary location
34 to the final location.
36 2009-07-20 Jb Evain <jbevain@novell.com>
38 * profiles/monotouch.make: add monotouch profile.
40 2009-07-16 Raja R Harinath <harinath@hurrynot.org>
42 * profiles/net_2_0_bootstrap.make (BOOTSTRAP_PROFILE): Set to
43 net_1_1_bootstrap instead of net_1_1.
45 2009-06-03 Zoltan Varga <vargaz@gmail.com>
47 * profiles/net_4_0.make: Add preliminary net 4.0 profile.
49 2009-04-09 Jonathan Pryor <jpryor@novell.com>
51 * executable.make, library.make: Move the include for tests.make so
52 that DISTFILES can be properly set (and thus properly distribute the
53 *_test.dll.sources file). This allows unit tests to actually build
54 and run when building from the tarball.
56 2009-04-05 Jonathan Pryor <jpryor@novell.com>
58 * executable.make: Support HAS_NUNIT_TEST variable; if set, will build
59 an NUnit test assembly during 'make test' and will run the tests
60 within the NUnit test assembly during 'make run-test'.
61 * library.make: Split out NUnit test rules/logic into tests.make.
62 * Makefile: Distribute tests.make.
63 * README.makefiles: Document HAS_NUNIT_TEST for executable.make,
64 documenting how to have NUnit tests for executables.
65 * tests.make: Added; NUnit test logic rules.
67 2009-01-08 Geoff Norton <gnorton@novell.com>
69 * Makefile: Add darwin.make to the make dist target as well
71 2009-01-07 Geoff Norton <gnorton@novell.com>
73 * library.make: Allow platform specific exclude tags from the
75 * darwin.make: Add to the build and add a new NotOnMac test
78 2008-12-30 Ankit Jain <jankit@novell.com>
80 * library.make (TEST_HARNESS_OUTPUT*): Fix /labels switch.
82 2008-12-12 Raja R Harinath <harinath@hurrynot.org>
84 * rules.make (topdir): Don't use $(shell ...).
85 Reported by Jonathan Chambers.
87 2008-12-10 Atsushi Enomoto <atsushi@ximian.com>
89 * library.make : enable FIXTURE and TESTNAME on run-test-ondotnet.
91 2008-11-28 Atsushi Enomoto <atsushi@ximian.com>
93 * Makefile : ugh, ok another dist pain.
95 2008-11-28 Atsushi Enomoto <atsushi@ximian.com>
97 * nunit-summary.xsl : copied from nunit resource (summary.xslt)
98 * library.make : put transformation result from TestResult-*.xml
99 into TestResult-*.log as we used to do.
101 2008-11-28 Marek Habersack <mhabersack@novell.com>
103 * library.make (FIXTURE_ARG): /parameter:value syntax is not
104 supported in nunit 2.4
105 (TESTNAME_ARG): added support for the nunit-console -run
106 parameter, so that individual tests can be ran.
108 2008-11-26 Atsushi Enomoto <atsushi@ximian.com>
110 * library.make : another nunit20 to kill :(
112 2008-11-25 Atsushi Enomoto <atsushi@ximian.com>
114 * library.make : update nunit options that break upgrade to 2.4.
116 2008-11-18 Raja R Harinath <harinath@hurrynot.org>
118 * library.make (TEST_FILES): Notice filenames with ../ in the test
119 sources file, and handle them in a way suitable for the 'make
120 dist' handling of such files.
122 2008-11-12 Zoltan Varga <vargaz@gmail.com>
124 * library.make: AOT the library after compilation if the AOT_IN_PROFILES
125 variable is defined and it contains the current profile.
127 2008-10-18 Jonathan Pryor <jpryor@novell.com>
129 * rules.make (dist-default): Distribute the Documentation directory,
132 2008-10-18 Jonathan Pryor <jpryor@novell.com>
134 * rules.make (MDOC): MONO_PATH needs to include net_1_1 so monodoc.dll
137 2008-10-17 Jonathan Pryor <jpryor@novell.com>
139 * README.makefiles: Add documentation about the new doc-update target.
141 2008-10-18 Raja R Harinath <harinath@hurrynot.org>
143 * rules.make (MDOC): Pass a proper MONO_PATH.
145 2008-10-17 Jonathan Pryor <jpryor@novell.com>
147 * build.rules: doc-update is now a standard target; provide a $(MDOC)
148 variable to simplify running the `mdoc` updater program.
149 * executable.make: Add doc-update target support (does nothing).
150 * library.make: Add doc-update target support; runs `mdoc update` on
151 the assembly, updating the documentation within Documentation/en.
152 * Makefile: Add doc-update target support.
154 2008-09-14 Zoltan Varga <vargaz@gmail.com>
156 * library.make: Allow FIXTURE make variable to be passed to nunit.
158 2008-08-29 Raja R Harinath <harinath@hurrynot.org>
160 * rules.make (do-%): Revert change below. We need the recursion
161 to ensure ordering of %-local after %-recursive. IOW, we
162 want to ensure strict linearity even with a 'make -j'.
164 2008-08-28 Zoltan Varga <vargaz@gmail.com>
166 * rules.make (Q_MCS): Use 5 spaces instead of -e '\\t'.
168 * library.make: Make some command quiet.
170 * rules.make: Avoid some needless recursive make invocations.
172 * rules.make: Print the profile in the quiet commands.
174 * rules.make: Make the build process quiet similarly to the runtime build
175 process. Use the V=1 argument to make to make it verbose again.
177 2008-08-04 Zoltan Varga <vargaz@gmail.com>
179 * rules.make (PROFILE): If no profile is passed on the command line, make
182 2008-06-30 Marek Safar <marek.safar@gmail.com>
184 * platforms/linux.make: Enable mcs optimizations.
186 2008-06-03 Zoltan Varga <vargaz@gmail.com>
188 * rules.make (PROFILE): Reapply the PROFILE=net_2_0 change. One can still
189 build 1.1 libraries using make PROFILE=default.
191 2008-05-27 Raja R Harinath <harinath@hurrynot.org>
193 * executable.make ($(PROGRAM_config)): Depend on directory
196 2008-04-09 Gert Driesen <drieseng@users.sourceforge.net>
198 * library.make: hidden -bootstrap option for gacutil is no longer
201 2008-03-24 Zoltan Varga <vargaz@gmail.com>
203 * library.make (check): Add a standard check target and make it the same as
206 2008-03-22 Zoltan Varga <vargaz@gmail.com>
208 * profiles/net_3_5.make (PROFILE_MCS_FLAGS): Get rid of obsolete
209 -langversion:linq option.
211 Fri Mar 14 09:31:59 CET 2008 Paolo Molaro <lupus@ximian.com>
213 * rules.make, library.make: move GACUTIL definition into rules.make as
214 it's used also by the tools. Add the hidden -bootstrap option.
216 2008-02-18 Raja R Harinath <harinath@hurrynot.org>
218 * rules.make (%/.stamp): Unify all directory creation targets here.
220 2008-02-17 Raja R Harinath <harinath@hurrynot.org>
222 * profiles/net_2_1_bootstrap.make: New.
223 * profiles/net_2_1_raw.make: New. The untuned 2.1 profile.
224 * profiles/net_2_1.make: New. The tuned 2.1 profile.
225 * Makefile (PROFILES): Update.
227 2007-12-06 Atsushi Enomoto <atsushi@ximian.com>
229 * profiles/net_3_5.make : fixed net_2_0 path.
231 2007-12-03 Marek Safar <marek.safar@gmail.com>
233 * Makefile.make: Distribute 3.5 profile
235 2007-11-08 Wade Berrier <wberrier@novell.com>
237 * config-default.make: add sysconfdir dir (for mconfig/config.xml)
239 2007-11-01 Marek Safar <marek.safar@gmail.com>
241 * corcompare.make: Build corcompare into same directory.
243 2007-10-27 Marek Safar <marek.safar@gmail.com>
245 * profiles/net_2_0_bootstrap.make: Fixed generics compiler name.
247 2007-10-27 Marek Safar <marek.safar@gmail.com>
249 * rules.make: Changed gmcs location.
251 2007-10-27 Marek Safar <marek.safar@gmail.com>
253 * executable.make: Added KEEP_OUTPUT_FILE_COPY to avoid move and copy
254 back compiler executables.
256 2007-09-21 Raja R Harinath <harinath@gmail.com>
258 * Makefile (PROFILES): Remove 'atomic' profiles.
259 * profiles/atomic.make, profiles/bootstrap.make: Remove.
261 2007-09-04 Wade Berrier <wberrier@novell.com>
263 * library.make: Glob for .sources for all profiles.
264 Use tools/removecomments.sh to account for '#include' and
265 comments, which are only used in the jvm profile at this point
267 2007-09-01 Jb Evain <jbevain@novell.com>
269 * Makefile: consider the net_2_1 profile.
271 2007-08-12 Marek Safar <marek.safar@gmail.com>
273 * library.make: Includes new `corcompare' target.
275 * corcompare.make: I got tired of hacking corcompare stuff again and
278 2007-08-11 Jb Evain <jbevain@novell.com>
280 * profiles/net_2_1: allow 2.1 assemblies in the GAC.
282 2007-07-27 Jb Evain <jbevain@novell.com>
284 * profiles/net_2_1: use smcs to compile the .net 2.1 assemblies.
286 2007-07-23 Raja R Harinath <rharinath@novell.com>
288 * library.make (install-local) [GAC]: If LIBRARY_PACKAGE is set to
289 'none' don't install a symlink from a package directory into the gac.
291 2007-07-11 Jb Evain <jbevain@novell.com>
293 * profiles/net_2_1.make: work on the 2_1 profile.
295 2007-06-12 Marek Safar <marek.safar@gmail.com>
297 * rules.make: Added FRAMEWORK_VERSION_MAJOR.
299 2007-05-11 Raja R Harinath <rharinath@novell.com>
301 * Makefile (dist-local): Remove special-case code.
302 * rules.make ($(depsdir)): New rule to create the dependencies
304 * library.make, executable.make: Make generated files depend on
306 * profiles/basic.make: Likewise.
308 * profiles/net_2_0_bootstrap.make: Move rules for mcs.exe to
310 * library.make (the_libdir, build_libdir): New. Create these
311 directories on demand instead of worrying about keeping the list
312 of profiles uptodate.
313 * executable.make (prog_dir): Likewise.
315 2007-03-17 Marek Sieradzki <marek.sieradzki@gmail.com>
317 * library.make: Show correct log (TestResult-ondotnet-PROFILE...) for
318 make run-test-ondotnet.
320 Fri Nov 24 18:38:31 CET 2006 Paolo Molaro <lupus@ximian.com>
322 * library.make: added ability to pass flags to the mono runtime when
323 running the test suite.
325 2006-09-06 Kornél Pál <kornelpal@gmail.com>
327 * TestConfiguration.cs: Moved to Npgsql.
329 2006-09-05 Kornél Pál <kornelpal@hotmail.com>
331 * config-default.make: Use UTF-8 as the default encoding for compilers.
333 2006-09-04 Raja R Harinath <rharinath@novell.com>
335 * library.make (TEST_HARNESS_VERBOSE): New user toggle. If
336 defined, NUnit will print the names of the unit tests as they are
337 run. Can be used to narrow down infloops.
338 (TEST_HARNESS_EXCLUDE): Provide a way to override the list of
339 excluded unit test categories.
341 2006-04-11 Raja R Harinath <rharinath@novell.com>
343 * profiles/default.make (BOOTSTRAP_PROFILE): Define.
344 * profiles/net_2_0.make (BOOTSTRAP_PROFILE): Define.
345 * rules.make (INTERNAL_RESGEN): Pick from bootstrap profile.
347 2006-01-19 Raja R Harinath <rharinath@novell.com>
349 * library.make (test_lib): Don't allow to be overridden.
350 (test_against, test_dep): Remove.
352 2006-01-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
354 * executable.make: allow installing a different .config file for
355 executables such as nunit-console.exe that should use a different one
356 depending on the profile.
358 2006-01-05 Raja R Harinath <rharinath@novell.com>
360 * library.make (run-test-lib, run-test-ondotnet-lib): Workaround a
361 sed limitation when printing the testsuite log.
363 2005-12-22 Raja R Harinath <rharinath@novell.com>
365 * library.make (lib_dir): Define to 'compat' if LIBRARY_COMPAT is
366 defined, 'lib' otherwise.
367 (the_lib): Use it to decide where to place the output library.
368 (LIBRARY_PACKAGE): New define. Install development symlinks for
369 compat libraries in a different directory.
371 2005-12-03 Kornél Pál <kornelpal@hotmail.com>
373 * config-default.make: Corrected default CODEPAGE comment to ISO-8859-1
376 2005-11-22 Vladislav Spivak <spivak@mainsoft.com>
378 <profile>.sources file is supporting #include directive
379 Usually it includes common .sources file.
380 Let's make it dependency of <profile>.sources
382 2005-10-03 Raja R Harinath <rharinath@novell.com>
384 * profiles/basic.make (monolite_flag, use_monolite): New. Used to
385 determine if we need to compile with 'monolite' rather than with
387 (do-profile-check): Simplify. Remove corlib version testing
388 scripts. Delegate that work to the mono runtime itself. Split
389 off 'monolite' handling into ...
390 (do-profile-check-monolite): ... this.
392 2005-09-27 Kornél Pál <kornelpal@hotmail.com>
394 * config-default.make: Added CODEPAGE that is the default encoding used by
396 * rules.make (USE_MCS_FLAGS, USE_MBAS_FLAGS): Added /codepage.
398 2005-09-22 Raja R Harinath <rharinath@novell.com>
400 * Makefile (BUILT_FILES): New.
401 (all-local ...): Depend on them.
402 (clean-local): Relete them.
403 (common/Consts.cs): New rule.
404 (COMMON_SRCS): Don't distribute common/Consts.cs.
406 2005-09-12 Raja R Harinath <rharinath@novell.com>
408 * profiles/basic.make (do-profile-check): Quote sed expression.
410 2005-09-06 Raja R Harinath <rharinath@novell.com>
412 * profiles/net_1_1_bootstrap.make: Remove special-handling on Win32.
413 * profiles/default.make: Likewise.
415 2005-08-26 Kornél Pál <kornelpal@hotmail.com>
417 * Makefile: Added Consts.cs.in. Removed MonoVersion.cs.
419 2005-08-23 Raja R Harinath <rharinath@novell.com>
421 * profiles/basic.make (do-profile-check): Set MONO_PATH to
422 monolite directory when running disassembler.
424 2005-08-22 Raja R Harinath <rharinath@novell.com>
426 * Makefile (DISTFILES): Move files in common/ to ...
427 (COMMON_SRCS): ... this. Add Consts.cs, MonoVersion.cs and
428 TestConfiguration.cs.
430 2005-08-19 Raja R Harinath <rharinath@novell.com>
432 * profiles/basic.make (do-profile-check): Add some debugging output.
433 Handle disassemblers that print corlib version in hex.
435 2005-07-26 Raja R Harinath <rharinath@novell.com>
437 * executable.make, library.make: Use unix-style commandline options.
438 * profiles/basic.make (FRAMEWORK_VERSION): Set.
439 * profiles/net_1_1_bootstrap.make (FRAMEWORK_VERSION): Likewise.
441 2005-07-22 Raja R Harinath <rharinath@novell.com>
443 * profiles/basic.make (do-profile-check): Make the "silent"
444 compilation check even more silent. Refuse to use monolite if the
445 corlib version of monolite/mscorlib.dll doesn't match the corlib
446 version of the source.
448 2005-06-15 Raja R Harinath <rharinath@novell.com>
450 * executable.make (dist-local): Copy from library.make.
452 2005-05-23 Raja R Harinath <rharinath@novell.com>
454 * rules.make (STD_TARGETS): Make them all go through an
456 (all): Indirect through do-all.
458 (do-%): New pattern fallback. Performs the standard behaviour:
459 %-recursive, and then %-local.
460 (do-run-test): New. Make '-k' more useful.
461 Reported by Ritvik Mayank.
463 2005-05-10 Raja R Harinath <rharinath@novell.com>
465 * library.make (dist-fixup): Fix typo.
467 2005-05-06 Raja R Harinath <rharinath@novell.com>
469 * library.make (LIBRARY_NEEDS_PREPROCESSING): New control.
470 (build_lib): Name of library built. Default to $(the_lib) unless
472 ($(build_lib)): Rename from '$(the_lib)'.
473 ($(makefrag)): Emit dependencies on $(build_lib).
475 2005-05-04 Zoltan Varga <vargaz@freemail.hu>
477 * rules.make config-default.make: Use the install-sh script from the mono
478 directory by default.
480 2005-04-29 Ben Maurer <bmaurer@ximian.com>
482 * profiles/basic.make: The test for mcs was broken on jails where
483 we got a warning due to /proc not being mounted. Remove hackish wc
486 2005-04-25 Raja R Harinath <rharinath@novell.com>
488 * config-default.make (RUNTIME): Set to 'false'.
489 Reported by Ben Maurer.
490 * profiles/basic.make (MCS): Revert changes below.
491 * platforms/linux.make (ILDISASM): Define.
492 * platforms/win32.make (ILDIsASM): Likewise.
494 2005-04-23 Ben Maurer <bmaurer@ximian.com>
496 * profiles/basic.make: Ensure that make dist works even if you
497 only have an old mono rpm installed. Essential for the new build
500 2005-04-21 Raja R Harinath <rharinath@novell.com>
502 * rules.make (INTERNAL_ILASM): Update.
504 2005-04-14 Raja R Harinath <rharinath@novell.com>
506 * library.make (dist-local): Include all ChangeLogs in the tarball.
508 2005-04-08 Raja R Harinath <rharinath@novell.com>
510 * profiles/basic.make (do-profile-check): Handle some possible
511 timestamp problems. Hopefully fix #74280.
513 2005-03-30 Zoltan Varga <vargaz@freemail.hu>
515 * rules.make (INSTALL_DATA): Pass -c to install.
517 2005-03-18 Raja R Harinath <rharinath@novell.com>
519 * library.make (TEST_FILES, $(test_response), $(btest_response)):
520 Be more robust to empty lines in test sources file.
522 2005-03-14 Raja R Harinath <rharinath@novell.com>
524 * executable.make (install-local): Depend on all-local even when
525 NO_INSTALL is defined.
526 * library.make: Minor cleanups to match executable.make.
527 (gacutil): Use net_1_1_bootstrap/gacutil.exe.
528 * profiles/basic.make (no-install): Remove.
529 * profiles/net_1_1_bootstrap.make (no-install): Likewise.
531 2005-02-22 Raja R Harinath <rharinath@novell.com>
533 * library.make (BUILT_SOURCES_cmdline): Don't define if
534 BUILT_SOURCES is empty.
536 2005-02-21 Michal Moskal <malekith@pld-linux.org>
537 Raja R Harinath <rharinath@novell.com>
539 * config-default.make (exec_prefix, libdir): New.
540 * library.make (libdir): Remove.
541 * executable.make (PROGRAM_INSTALL_DIR): Define in terms of
544 2005-02-15 Raja R Harinath <rharinath@novell.com>
546 * platforms/win32.make (RESGEN): Point to in-tree version of
547 resgen.exe. The .NET 1.1 SDK doesn't appear to come with one.
549 2005-02-10 Raja R Harinath <rharinath@novell.com>
551 * library.make (DISTFILES): Add $(btest_sourcefile).
553 2005-02-02 Raja R Harinath <rharinath@novell.com>
555 * library.make (run-test-lib): Use $(LOCAL_TEST_HARNESS_FLAGS).
556 (run-test-ondotnet-lib): Use $(LOCAL_TEST_HARNESS_ONDOTNET_FLAGS).
558 2005-02-01 Zoltan Varga <vargaz@freemail.hu>
560 * library.make (run-test-lib): Exclude InetAccess tests.
562 2005-02-30 Sebastien Pouliot <sebastien@ximian.com>
564 * library.make: Exclude CAS category from run-test-ondotnet.
566 2005-01-31 Sebastien Pouliot <sebastien@ximian.com>
568 * library.make: Exclude CAS category when running unit tests with
569 Mono (they can be run manually using --security). Added a define
570 for WINDOWS (only on Windows) to be used for declarative security
573 2005-01-24 Raja R Harinath <rharinath@novell.com>
575 * library.make (run-test-lib, run-test-ondotnet-lib): Print out
578 2005-01-16 Nick Drochak <ndrochak@ieee.org>
580 * library.make: /exclude for nunit needs a comma separated list
582 2005-01-14 Atsushi Enomoto <atsushi@ximian.com>
584 * library.make : output TestResult-ondotnet-(profile).log instead of
585 TestResult-(profile).log for run-test-ondotnet.
587 2005-01-13 Raja R Harinath <rharinath@novell.com>
589 * profiles/default.make (MBAS) [!PLATFORM_MONO_NATIVE]: Use
591 Reported by Nick Drochak.
593 2005-01-03 Nick Drochak <ndrochak@ieee.org>
595 * library.make: Ingore tests that are not meant to be run on MS DotNet
597 2004-12-14 Raja R Harinath <rharinath@novell.com>
599 * profiles/basic.make (do-profile-check): Rename from
600 'real-profile-check'. Rewrite slightly to use 'make' to build the
602 (clean-profile): Remove the files.
604 2004-12-08 Raja R Harinath <rharinath@novell.com>
606 * profiles/basic.make (real-profile-check): Update to new location
607 of secret stash of bootstrap files.
609 2004-12-07 Raja R Harinath <rharinath@novell.com>
611 * executable.make (uninstall-local): Remove .config file too.
612 * library.make (uninstall-local): Don't error out if GACUTIL fails.
614 2004-12-07 Raja R Harinath <rharinath@novell.com>
616 * library.make (BUILT_SOURCES_cmdline): Use
617 PLATFORM_CHANGE_SEPARATOR_CMD on BUILT_SOURCES too.
618 ($(the_lib)): Use it.
620 2004-12-04 Atsushi Enomoto <atsushi@ximian.com>
623 profiles/default.make,
624 profiles/basic.make : use PLATFORM_PATH_SEPARATOR.
626 2004-12-03 Raja R Harinath <rharinath@novell.com>
628 * profiles/basic.make (MCS): Run the INTERNAL_MCS.
629 (USE_BOOT_COMPILE): Remove.
631 2004-12-03 Raja R Harinath <rharinath@novell.com>
633 * library.make (gacdir_flag): New. Disable /gacdir flag if
634 RUNTIME_HAS_CONSISTENT_GACDIR flag is set.
635 (install-local): Use it.
637 2004-11-30 Raja R Harinath <rharinath@novell.com>
639 * executable.make (makefrag): Make profile-specific.
641 2004-11-26 Martin Baulig <martin@ximian.com>
643 * library.make (run-test-lib, run-test-ondotnet-lib): Added
644 `/output:TestResult-$(PROFILE).log' argument to NUnit.
646 2004-11-26 Raja R Harinath <rharinath@novell.com>
648 * library.make ($(the_lib)): Don't complain if a .mdb file wasn't
649 created (even though it's just a warning).
650 (install-local) [LIBRARY_INSTALL_DIR]: Likewise.
652 (install-local) [!LIBRARY_INSTALL_DIR]: Use $(FRAMEWORK_VERSION).
653 * executable.make ($(PROGRAM)): Likewise.
654 (install-local): Likewise.
655 (PROGRAM_INSTALL_DIR): Define Using $(FRAMEWORK_VERSION).
657 2004-11-26 Raja R Harinath <rharinath@novell.com>
659 * profiles/basic.make (real-profile-check): Prepend ./ when
660 executing basic-profile-check.exe. EXTERNAL_RUNTIME can be empty.
662 2004-11-25 Raja R Harinath <rharinath@novell.com>
664 * platforms/linux.make (EXTERNAL_MCS,EXTERNAL_MBAS,EXTERNAL_RUNTIME):
666 * platforms/win32.make: Likewise.
667 * profiles/basic.make: Use $(EXTERNAL_MCS).
668 * profiles/net_1_1_bootstrap.make: Likewise.
669 * library.make ($(the_lib)): Add support for BUILT_SOURCES.
670 (run-test-lib): Pass $(TEST_HARNESS_FLAGS) to harness. Useful to
671 pass, say /labels, to nunit-console.
673 2004-11-25 Raja R Harinath <rharinath@novell.com>
675 * library.make ($(gacutil)): Fix path.
677 2004-11-23 Raja R Harinath <rharinath@novell.com>
679 * executable.make (NO_INSTALL): New option. Disables installation.
680 * library.make (NO_INSTALL): Likewise.
681 (install-local) [!NO_INSTALL, !LIBRARY_INSTALL_DIR]: Pass both
682 /gacdir and /root options to gacutil.
683 * platforms/linux.make (platform-check): Print the BOOTSTRAP_MCS
684 command that was tried, in case of failure.
685 * profiles/basic.make (NO_TEST, NO_INSTALL): Define.
686 * profiles/net_1_1_bootstrap.make: Likewise.
687 * profiles/net_2_0_bootstrap.make: Likewise.
689 2004-11-22 Raja R Harinath <rharinath@novell.com>
691 * library.make (SN): New define. Use the net_1_1_bootstrap sn.exe.
693 ($(the_lib)): Use them to sign assemblies as they're built.
694 (the_lib_signature_stamp): Remove.
696 * Makefile (DISTFILES): Distribute all the profile make-fragments.
697 (clean-local): Clean up the deps/ directory.
699 2004-11-19 Raja R Harinath <rharinath@novell.com>
701 Orchestrate the bootstrap.
702 * rules.make (INTERNAL_MCS): Look for mcs.exe in profile-specific directory.
703 * profiles/net_1_1_bootstrap.make (BOOTSTRAP_MCS): Use mcs.exe from
705 * profiles/default.make (BOOTSTRAP_MCS): Use mcs.exe from the
706 net_1_1_bootstrap profile.
707 * profiles/net_2_0_bootstrap.make (BOOTSTRAP_MCS): Use mcs.exe
708 from default profile.
709 (all-local, clean-local): New. Copy mcs.exe from default profile,
710 but customize it to work with 2.0.x libraries.
711 * profiles/net_2_0.make (BOOTSTRAP_MCS): Define approprately for
714 * executable.make (executable_CLEAN_FILES): Clean up more files.
715 ($(PROGRAM)): Move .mdb files too.
717 2004-11-18 Atsushi Enomoto <atsushi@ximian.com>
719 * library.make: Reverted the last fix. It broke windows build (that
720 should be fixed though).
722 2004-11-18 Atsushi Enomoto <atsushi@ximian.com>
724 * library.make: Some minor fix for PLATFORM_PATH_SEPARATOR.
726 2004-11-17 Raja R Harinath <rharinath@novell.com>
728 * executable.make: Improve support for building executable into a
731 2004-11-09 Raja R Harinath <rharinath@novell.com>
733 * profiles/basic.make: New.
734 * profiles/net_2_0.make (PROFILE_MCS_FLAGS): Remove '-2' flag.
735 * profiles/net_1_1_bootstrap.make (NO_SIGN_ASSEMBLY): Set.
737 2004-11-04 Raja R Harinath <rharinath@novell.com>
739 * profiles/net_1_1_bootstrap.make: New profile.
740 * profiles/net_2_0_bootstrap.make: Use in-tree mcs for
741 bootstrapping mscorlib.dll.
742 * platforms/linux.make (platform-check): Make more robust.
743 * rules.make (%-recursive): Propagate error exit from sub-makes
744 even if invoked with 'make -k'.
746 2004-10-29 Raja R Harinath <rharinath@novell.com>
748 * profiles/net_2_0_bootstrap.make (PROFILE_MCS_FLAGS): Remove
749 -langversion:default flag.
751 * rules.make (distdir): Remove.
752 (PROFILE_SUBDIRS): New. Support profile-specific SUBDIRS.
754 (dist-recursive): Define distdir here.
756 2004-10-25 Zoltan Varga <vargaz@freemail.hu>
758 * config-default.make (TEST_RUNTIME): Add TEST_MONO_PATH variable.
760 2004-09-27 Raja R Harinath <rharinath@novell.com>
762 * library.make ($(test_nunit_dep)): Make sure NUnit is built for
763 the profile being tested.
764 (nunit-$(PROFILE).stamp): Rename from nunit.stamp.
765 * config-default.make (TEST_HARNESS): Look for 'nunit-console' in
766 profile-specific directory.
768 2004-09-21 Raja R Harinath <rharinath@novell.com>
770 * profiles/net_2_0_bootstrap.make: New file.
772 * library.make (the_mdb): Fix.
773 (library_CLEAN_FILES): Add the new test results files too.
775 2004-09-14 Raja R Harinath <rharinath@novell.com>
777 * library.make (test_lib, btest_lib): Build separate test
778 assemblies for separate profiles.
779 (dist-local): Don't copy files beginning with '../'.
780 (test_sourcefile, btest_sourcefile): Define in terms of
781 $(test_lib) or $(btest_lib) only if they're overriden.
782 (test_response, test_makefrag): Remove redundant $(PROFILE) in name.
783 (run-test-lib, run-btest-lib): Unify. Give profile-specific name
785 * rules.make (dist-default): Handle any of Makefile, makefile, or
786 GNUmakefile being present.
787 * profiles/net_2_0.make (TEST_RUNTIME): Don't define.
789 2004-08-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
792 * library.make: install/clean .mdb files.
794 2004-07-30 Martin Baulig <martin@ximian.com>
796 * executable.make (EXTRA_SOURCES): New variable to add extra
797 sources to the program.
799 2004-07-30 Raja R Harinath <harinath@blr-harinath.blr.novell.com>
801 * executable.make (PROGRAM_config): New auto-detecting define.
802 Defined if $(PROGRAM).config exists.
803 (install-local): Install $(PROGRAM_config) if it exists.
805 2004-07-21 Lluis Sanchez Gual <lluis@novell.com>
807 * profiles/default.make, profiles/net_2_0.make, profiles/net_1_0.make:
808 Added FRAMEWORK_VERSION var.
810 2004-07-02 Raja R Harinath <rharinath@novell.com>
812 Support for avoiding "sharing violations" while compiling core
813 libraries with an in-tree compiler.
814 * library.make (LIBRARY_USE_INTERMEDIATE_FILE): New toggle.
815 ($(the_lib)): Use it.
817 2004-07-02 Raja R Harinath <rharinath@novell.com>
819 * rules.make (OVERRIDE_BARE_TARGETS): Remove.
820 (OVERRIDE_TARGET_ALL): New control for overriding the default all:
821 rule. If set, 'make all' will run 'all.override' from the client
823 (all): Move commands ...
824 (all.real): ... here. Make ordering assumptions explicit, and
826 (test,run-test,run-test-ondotnet,clean,install,uninstall):
828 (STD_TARGETS): ... this new variable. Make ordering assumption
829 between -recursive and -local targets explicit.
830 (%-recursive): Handle W32 GNU make that has --unix as the first
832 * README.makefiles (Special recursion needs): Update to reflect
834 * library.make (all-local): Build $(the_lib_signature_stamp) when
835 NO_SIGN_ASSEMBLY is defined.
836 ($(gacutil),$(sn)): Consolidate rules.
837 (test-local,run-test-local,run-test-ondotnet-local): Likewise.
839 2004-07-02 Raja R Harinath <rharinath@novell.com>
841 * config-default.make (TEST_RUNTIME): Use 'mono' by default.
842 * platforms/win32.make (TEST_RUNTIME): Remove.
843 * profiles/default.make (TEST_RUNTIME): Remove.
845 2004-06-28 Raja R Harinath <rharinath@novell.com>
847 * platforms/linux.make (RESGEN): Define using $(INTERNAL_RESGEN).
849 2004-06-21 Raja R Harinath <rharinath@novell.com>
851 * executable.make ($(PROGRAM)): Move depend on the makefrags ...
852 (all-local): ... here.
853 * library.make ($(the_lib), $(test_lib), $(btest_lib), all-local):
855 (LIBRARY_SNK): New default define. Allows library to be signed
856 with a key other than mono.snk.
857 ($(the_lib_signature_stamp)): New stamp file created when an
859 (install-local, uninstall-local, maybe-sign-lib): Set MONO_PATH.
861 2004-06-16 Raja R Harinath <rharinath@novell.com>
863 * library.make ($(makefrag),$(test_makefrag),$(btest_makefrag)):
864 Depend on library.make.
865 * executable.make ($(makefrag)): Depend on executable.make.
867 2004-06-16 Atsushi Enomoto <atsushi@ximian.com>
869 * library.make : Added GACDIR. Use cygpath -w on windows.
871 2004-06-14 Raja R Harinath <rharinath@novell.com>
873 * platforms/linux.make (PLATFORM_CHANGE_SEPARATOR_CMD): Define to 'cat'.
874 (PLATFORM_TWEAK_CORLIB_SOURCES): Remove.
875 (platform-check): Avoid bash-ism.
876 * library.make: Simplify uses of $(patsubst x,y,$(foo)) to $(foo:x=y).
877 (core_sourcefile): Rename back to ...
878 (sourcefile): ... this. Remove creation of redundant intermediate file.
879 (response): Change test for optimization, now that
880 PLATFORM_CHANGE_SEPARATOR_CMD is unconditional. Combine with
881 platform-exclude handling.
882 (library_CLEAN_FILES): New variable to specify clean:-able files
883 close to where they're defined.
884 (test_response, btest_response): Simplify.
885 * executable.make (response): Change test for optimization.
886 (executable_CLEAN_FILES): New define.
888 2004-06-14 Raja R Harinath <rharinath@novell.com>
890 * library.make (uninstall-local): Fix typo.
892 2004-06-11 Atsushi Enomoto <atsushi@ximian.com>
894 * library.make : HAVE_CS_TESTS fixie.
896 2004-06-11 Raja R Harinath <rharinath@novell.com>
898 * library.make (HAVE_CS_TESTS, HAVE_VB_TESTS): Allow to be
899 overriden. Useful if the tests sourcefile is generated.
900 (TEST_COMPILE, BTEST_COMPILE): Allow these to be customized too.
902 * platforms/win32.make (PLATFORM_TWEAK_CORLIB_SOURCES): Remove.
904 Support enough features to build mscorlib.dll.
905 * library.make (core_sourcefile): New renamed from $(sourcefile).
906 (PLATFORM_excludes): Auto-detecting define that sees if
907 $(LIBRARY).$(PLATFORM)-excludes file exists.
908 (sourcefile): New. Possibly-built file that removes
909 PLATFORM_excluded files from core_sourcefile.
910 (test_against, test_dep): New. Allow the test assembly to be
911 built against a different library.
912 (test_lib): Allow makefile to override the name of the test
914 (LIBRARY_INSTALL_DIR): If defined, switch to using $(INSTALL_LIB)
915 rather than $(gacutil).
916 (DISTFILES, dist-local): Use core_sourcefile.
917 (clean-local): Remove sourcefile if it was generated.
918 (test_lib, btest_lib): Depend on $(test_dep).
920 2004-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
922 * library.make: fixed PLATFORM_CHANGE_SEPARATOR_CHAR on windows.
924 2004-06-09 Sebastien Pouliot <sebastien@ximian.com>
926 * library.make: Added support to fully sign assemblies when doing a
927 "make install" (thanks to Jackson :-).
929 2004-06-09 Raja R Harinath <rharinath@novell.com>
931 Do away with stampfiles.
932 Introduce support for VB test cases.
933 * library.make (HAVE_CS_TESTS, HAVE_VB_TESTS): New auto-detecting
935 (stampfile, test_stampfile): Remove.
936 (clean-local): Don't mention them.
937 (test-local, run-test-local, run-test-ondotnet-local):
939 ($(makefrag), $(test_makefrag)): Simplify.
940 ($(btest_lib)): New. Support for VB testcases.
942 2004-06-09 Raja R Harinath <rharinath@novell.com>
944 Partial support for writing Visual Basic source files.
945 * rules.make (USE_MBAS_FLAGS,BASCOMPILE,INTERNAL_MBAS): New.
946 * config-default.make (MBAS_FLAGS, DEFAULT_MBAS_FLAGS): New.
947 * profiles/default.make (MBAS): New.
949 2004-06-09 Raja R Harinath <rharinath@novell.com>
951 Do away with stampfiles.
952 * executable.make (stampfile): Remove.
953 (clean-local): Remove mention of $(stampfile).
954 (test-local, run-test-local, run-test-ondotnet-local):
955 Make unconditional. Add dummy rule to prevent other makefiles
956 from defining rules on these.
957 ($(PROGRAM)): Depend directly on $(BUILT_SOURCES).
958 ($(makefrag)): Simplify.
960 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
962 * README.makefiles : added description for run-test-ondotnet.
964 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
966 * Makefile, executable.make, library.make, rules.make :
967 Added new target "run-test-ondotnet" that works what "run-test"
968 used to be on windows (i.e. tests our libs under MS.NET).
970 2004-06-01 Atsushi Enomoto <atsushi@ximian.com>
972 * platforms/win32.make : TEST_RUNTIME should be always mono we can't
973 test our libs against MS.NET runtime. Think about internal call).
975 2004-05-30 Jackson Harper <jackson@ximian.com>
977 * library.make: Install to 2.0 package if building with the
980 2004-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
982 * library.make: reference nunti.core.dll and nunit.util.dll when
985 2004-05-26 Raja R Harinath <rharinath@novell.com>
987 * library.make (clean-local): Add $(CLEAN_FILES) too.
989 2004-05-25 Sebastien Pouliot <sebastien@ximian.com>
991 * library.make: changed case on nunit.framework.dll (lowercase)
993 2004-05-24 Raja R Harinath <rharinath@novell.com>
995 * library.make (LIBRARY_COMPILE): New define.
996 ($(the_lib)): Use $(LIBRARY_COMPILE) to compile $(the_lib).
998 * executable.make (PROGRAM_INSTALL_DIR): Allow makefile to specify
999 a different directory for installation.
1000 (install-local, uninstall-local): Use it.
1002 2004-05-20 Raja R Harinath <rharinath@novell.com>
1004 * profiles/default.make (TEST_RUNTIME): Look in class/lib/default
1005 for library to be tested.
1006 * rules.make (INTERNAL_RESGEN): New Define.
1007 * library.make (run-test-local): Move commands to run-test-lib.
1008 Preparartion for allowing creation of addition test dll with .vb
1010 * executable.make (PROGRAM_COMPILE): New define.
1011 ($(PROGRAM)): Use PROGRAM_COMPILE to compile PROGRAM.
1013 2004-05-14 Jackson Harper <jackson@ximian.com>
1015 * library.make: Install package files. Get params in magical
1018 2004-05-11 Jackson Harper <jackson@ximian.com>
1020 * platforms/linux.make:
1021 * platforms/win32.make: Define a PLATFORM_PATH_SEPARATOR used for
1022 separating paths in env vars. (ie MONO_PATH).
1023 * profiles/net_2_0.make: Always use gmcs for building the 2.0
1024 libraries. corlib is the first lib built and it will build gmcs.
1026 2004-05-11 Jackson Harper <jackson@ximian.com>
1028 * library.make: Allow assembly names to be different then their
1029 .sources file names.
1031 2004-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1033 * library.make: build NUnit if we try to run 'make test' and the dll
1036 2004-04-29 Jackson Harper <jackson@ximian.com>
1038 * library.make: Fix uninstall
1040 2004-04-29 Martin Baulig <martin@ximian.com>
1042 * rules.make: Added `INTERNAL_ILASM'.
1044 2004-04-29 Jackson Harper <jackson@ximian.com>
1046 * library.make: Use RUNTIME instead of PLATFORM_RUNTIME for the
1047 gacutil. gacutil needs to be run on our runtime. Make dependancys
1050 2004-04-28 Jackson Harper <jackson@ximian.com>
1052 * library.make: Use the proper runtime, make sure gacutil is
1055 2004-04-28 Jackson Harper <jackson@ximian.com>
1057 * library.make: Install these bad actors to the GAC.
1059 2004-04-28 Raja R Harinath <rharinath@novell.com>
1061 * library.make (test_flags): NUnit.Framework.dll is now in
1062 class/lib/$(PROFILE).
1064 2004-04-26 Jackson Harper <jackson@ximian.com>
1067 * profiles/bootstrap.make:
1068 * profiles/default.make: profiles are built in their ownb lib
1070 * profiles/net_2_0.make: new .net 2.0 profile.
1072 2004-04-22 Martin Baulig <martin@ximian.com>
1074 * profiles/net_1_2.make: Removed.
1075 * profiles/martin-generics.make: Remove.
1077 2004-04-19 Raja R Harinath <rharinath@novell.com>
1079 * rules.make (%-recursive): Honor 'make -k'.
1081 2004-02-17 Martin Baulig <martin@ximian.com>
1083 * profiles/generics.make: Renamed to `martin-generics.make' and
1084 added a comment to the file. I'll rename this back when it's
1085 ready for public use.
1087 2003-12-17 Jackson Harper <jackson@ximian.com>
1089 * profiles/default.make:
1090 * profiles/net_1_0.make: Add ONLY_1_0 and ONLY_1_1 defines to fix
1093 2003-12-08 Peter Williams <peter@newton.cx>
1095 * config-default.make: Don't check for / define
1096 ECHO_ESCAPE: the check isn't smart enough and
1097 apparently OS X's shell somehow doesn't support
1100 * library.make: Use embedded tab instead of
1101 $(ECHO_ESCAPE). Fixes OS X build.
1103 * executable.make: Same.
1105 2003-12-05 Martin Baulig <martin@ximian.com>
1107 * profiles/generics.make: Define `GENERICS'.
1109 2003-12-05 Martin Baulig <martin@ximian.com>
1111 * profiles/net_1_2.make: New profile; uses the .NET 1.2 API's, but
1112 without generics and with mcs instead of gmcs.
1114 * profiles/bootstrap.make: New profile; already use the newly
1115 compiled mcs to compile corlib.
1117 2003-12-04 Martin Baulig <martin@ximian.com>
1119 * profiles/generics.make: Use gmcs.
1121 2003-11-12 Jackson Harper <jackson@ximian.com>
1124 * platforms/linux.make: corlib name is now mscorlib.
1126 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
1128 * profiles/generics.make: add the -2 flag.
1130 2003-10-28 Jackson Harper <jackson@ximian.com>
1132 * platforms/linux.make: Tell users to read INSTALL.txt not the
1133 non-existant README.building.
1135 2003-10-22 Dick Porter <dick@ximian.com>
1137 * platforms/win32.make:
1138 * platforms/linux.make:
1139 * rules.make: Added RESGEN platform-specific tool.
1141 2003-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1143 * config-default.make: the /nowarn arguments are now set on a per
1146 2003-07-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1148 * executable.make: install-local depends on the program too.
1150 2003-07-25 Peter Williams <peter@newton.cx>
1152 * rules.make (run-test): Make it depend on 'test-local'
1153 then 'run-test-local' after 'run-test-recursive'. This way,
1154 'make run-test' from the toplevel doesn't recurse through all
1155 the directories doing a make test before we run anything.
1157 2003-07-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1159 * rules.make: run-test depends now on 'test'.
1161 2003-07-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1163 * rules.make: set corlib to PLATFORM_CORLIB if this is defined.
1165 2003-07-22 Peter Williams <peter@newton.cx>
1167 * rules.make (withmcs): Add this developer utility target.
1169 2003-07-20 Peter Williams <peter@newton.cx>
1171 * README.platforms: Update docs for changes below.
1173 * platforms/win32.make (PLATFORM_CORLIB): Set this variable
1174 to 'mscorlib.dll', instead of $(corlib) which everything links
1175 against. *Almost* everything should link against our corlib --
1176 with the exception of corlib_cmp and corlib_res.
1178 * platforms/linux.make: Same here: corlib.dll
1180 * rules.make: Define $(corlib) here.
1182 2003-07-20 Peter Williams <peter@newton.cx>
1184 * config-default.make (TEST_RUNTIME): Use the platform runtime
1185 to run tests, by default.
1187 * profiles/default.make (TEST_RUNTIME): If our test runtime is
1188 mono, use the --debug flag.
1190 * executable.make (sourcefile): Add a basename so that we can
1191 find the nunit sources and so we behave a bit more like
1194 * config-default.make (TEST_HARNESS): Find nunit-console in its
1197 2003-07-20 Peter Williams <peter@newton.cx>
1199 * library.make ($(response)): Do a "Creating ..." line here.
1201 * executable.make ($(response)): Same.
1203 * config-default.make: Make warning more forceful.
1205 * rules.make: Define a useful 'PLATFORM_MONO_NATIVE' that is
1206 set if the platform does not have a native runtime (ie, linux).
1207 Also reorder some definitions.
1209 2003-07-20 Peter Williams <peter@newton.cx>
1211 * Created. See ../ChangeLog for entries earlier than