1 2005-01-13 Raja R Harinath <rharinath@novell.com>
3 * profiles/default.make (MBAS) [!PLATFORM_MONO_NATIVE]: Use
5 Reported by Nick Drochak.
7 2005-01-03 Nick Drochak <ndrochak@ieee.org>
9 * library.make: Ingore tests that are not meant to be run on MS DotNet
11 2004-12-14 Raja R Harinath <rharinath@novell.com>
13 * profiles/basic.make (do-profile-check): Rename from
14 'real-profile-check'. Rewrite slightly to use 'make' to build the
16 (clean-profile): Remove the files.
18 2004-12-08 Raja R Harinath <rharinath@novell.com>
20 * profiles/basic.make (real-profile-check): Update to new location
21 of secret stash of bootstrap files.
23 2004-12-07 Raja R Harinath <rharinath@novell.com>
25 * executable.make (uninstall-local): Remove .config file too.
26 * library.make (uninstall-local): Don't error out if GACUTIL fails.
28 2004-12-07 Raja R Harinath <rharinath@novell.com>
30 * library.make (BUILT_SOURCES_cmdline): Use
31 PLATFORM_CHANGE_SEPARATOR_CMD on BUILT_SOURCES too.
34 2004-12-04 Atsushi Enomoto <atsushi@ximian.com>
37 profiles/default.make,
38 profiles/basic.make : use PLATFORM_PATH_SEPARATOR.
40 2004-12-03 Raja R Harinath <rharinath@novell.com>
42 * profiles/basic.make (MCS): Run the INTERNAL_MCS.
43 (USE_BOOT_COMPILE): Remove.
45 2004-12-03 Raja R Harinath <rharinath@novell.com>
47 * library.make (gacdir_flag): New. Disable /gacdir flag if
48 RUNTIME_HAS_CONSISTENT_GACDIR flag is set.
49 (install-local): Use it.
51 2004-11-30 Raja R Harinath <rharinath@novell.com>
53 * executable.make (makefrag): Make profile-specific.
55 2004-11-26 Martin Baulig <martin@ximian.com>
57 * library.make (run-test-lib, run-test-ondotnet-lib): Added
58 `/output:TestResult-$(PROFILE).log' argument to NUnit.
60 2004-11-26 Raja R Harinath <rharinath@novell.com>
62 * library.make ($(the_lib)): Don't complain if a .mdb file wasn't
63 created (even though it's just a warning).
64 (install-local) [LIBRARY_INSTALL_DIR]: Likewise.
66 (install-local) [!LIBRARY_INSTALL_DIR]: Use $(FRAMEWORK_VERSION).
67 * executable.make ($(PROGRAM)): Likewise.
68 (install-local): Likewise.
69 (PROGRAM_INSTALL_DIR): Define Using $(FRAMEWORK_VERSION).
71 2004-11-26 Raja R Harinath <rharinath@novell.com>
73 * profiles/basic.make (real-profile-check): Prepend ./ when
74 executing basic-profile-check.exe. EXTERNAL_RUNTIME can be empty.
76 2004-11-25 Raja R Harinath <rharinath@novell.com>
78 * platforms/linux.make (EXTERNAL_MCS,EXTERNAL_MBAS,EXTERNAL_RUNTIME):
80 * platforms/win32.make: Likewise.
81 * profiles/basic.make: Use $(EXTERNAL_MCS).
82 * profiles/net_1_1_bootstrap.make: Likewise.
83 * library.make ($(the_lib)): Add support for BUILT_SOURCES.
84 (run-test-lib): Pass $(TEST_HARNESS_FLAGS) to harness. Useful to
85 pass, say /labels, to nunit-console.
87 2004-11-25 Raja R Harinath <rharinath@novell.com>
89 * library.make ($(gacutil)): Fix path.
91 2004-11-23 Raja R Harinath <rharinath@novell.com>
93 * executable.make (NO_INSTALL): New option. Disables installation.
94 * library.make (NO_INSTALL): Likewise.
95 (install-local) [!NO_INSTALL, !LIBRARY_INSTALL_DIR]: Pass both
96 /gacdir and /root options to gacutil.
97 * platforms/linux.make (platform-check): Print the BOOTSTRAP_MCS
98 command that was tried, in case of failure.
99 * profiles/basic.make (NO_TEST, NO_INSTALL): Define.
100 * profiles/net_1_1_bootstrap.make: Likewise.
101 * profiles/net_2_0_bootstrap.make: Likewise.
103 2004-11-22 Raja R Harinath <rharinath@novell.com>
105 * library.make (SN): New define. Use the net_1_1_bootstrap sn.exe.
107 ($(the_lib)): Use them to sign assemblies as they're built.
108 (the_lib_signature_stamp): Remove.
110 * Makefile (DISTFILES): Distribute all the profile make-fragments.
111 (clean-local): Clean up the deps/ directory.
113 2004-11-19 Raja R Harinath <rharinath@novell.com>
115 Orchestrate the bootstrap.
116 * rules.make (INTERNAL_MCS): Look for mcs.exe in profile-specific directory.
117 * profiles/net_1_1_bootstrap.make (BOOTSTRAP_MCS): Use mcs.exe from
119 * profiles/default.make (BOOTSTRAP_MCS): Use mcs.exe from the
120 net_1_1_bootstrap profile.
121 * profiles/net_2_0_bootstrap.make (BOOTSTRAP_MCS): Use mcs.exe
122 from default profile.
123 (all-local, clean-local): New. Copy mcs.exe from default profile,
124 but customize it to work with 2.0.x libraries.
125 * profiles/net_2_0.make (BOOTSTRAP_MCS): Define approprately for
128 * executable.make (executable_CLEAN_FILES): Clean up more files.
129 ($(PROGRAM)): Move .mdb files too.
131 2004-11-18 Atsushi Enomoto <atsushi@ximian.com>
133 * library.make: Reverted the last fix. It broke windows build (that
134 should be fixed though).
136 2004-11-18 Atsushi Enomoto <atsushi@ximian.com>
138 * library.make: Some minor fix for PLATFORM_PATH_SEPARATOR.
140 2004-11-17 Raja R Harinath <rharinath@novell.com>
142 * executable.make: Improve support for building executable into a
145 2004-11-09 Raja R Harinath <rharinath@novell.com>
147 * profiles/basic.make: New.
148 * profiles/net_2_0.make (PROFILE_MCS_FLAGS): Remove '-2' flag.
149 * profiles/net_1_1_bootstrap.make (NO_SIGN_ASSEMBLY): Set.
151 2004-11-04 Raja R Harinath <rharinath@novell.com>
153 * profiles/net_1_1_bootstrap.make: New profile.
154 * profiles/net_2_0_bootstrap.make: Use in-tree mcs for
155 bootstrapping mscorlib.dll.
156 * platforms/linux.make (platform-check): Make more robust.
157 * rules.make (%-recursive): Propagate error exit from sub-makes
158 even if invoked with 'make -k'.
160 2004-10-29 Raja R Harinath <rharinath@novell.com>
162 * profiles/net_2_0_bootstrap.make (PROFILE_MCS_FLAGS): Remove
163 -langversion:default flag.
165 * rules.make (distdir): Remove.
166 (PROFILE_SUBDIRS): New. Support profile-specific SUBDIRS.
168 (dist-recursive): Define distdir here.
170 2004-10-25 Zoltan Varga <vargaz@freemail.hu>
172 * config-default.make (TEST_RUNTIME): Add TEST_MONO_PATH variable.
174 2004-09-27 Raja R Harinath <rharinath@novell.com>
176 * library.make ($(test_nunit_dep)): Make sure NUnit is built for
177 the profile being tested.
178 (nunit-$(PROFILE).stamp): Rename from nunit.stamp.
179 * config-default.make (TEST_HARNESS): Look for 'nunit-console' in
180 profile-specific directory.
182 2004-09-21 Raja R Harinath <rharinath@novell.com>
184 * profiles/net_2_0_bootstrap.make: New file.
186 * library.make (the_mdb): Fix.
187 (library_CLEAN_FILES): Add the new test results files too.
189 2004-09-14 Raja R Harinath <rharinath@novell.com>
191 * library.make (test_lib, btest_lib): Build separate test
192 assemblies for separate profiles.
193 (dist-local): Don't copy files beginning with '../'.
194 (test_sourcefile, btest_sourcefile): Define in terms of
195 $(test_lib) or $(btest_lib) only if they're overriden.
196 (test_response, test_makefrag): Remove redundant $(PROFILE) in name.
197 (run-test-lib, run-btest-lib): Unify. Give profile-specific name
199 * rules.make (dist-default): Handle any of Makefile, makefile, or
200 GNUmakefile being present.
201 * profiles/net_2_0.make (TEST_RUNTIME): Don't define.
203 2004-08-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
206 * library.make: install/clean .mdb files.
208 2004-07-30 Martin Baulig <martin@ximian.com>
210 * executable.make (EXTRA_SOURCES): New variable to add extra
211 sources to the program.
213 2004-07-30 Raja R Harinath <harinath@blr-harinath.blr.novell.com>
215 * executable.make (PROGRAM_config): New auto-detecting define.
216 Defined if $(PROGRAM).config exists.
217 (install-local): Install $(PROGRAM_config) if it exists.
219 2004-07-21 Lluis Sanchez Gual <lluis@novell.com>
221 * profiles/default.make, profiles/net_2_0.make, profiles/net_1_0.make:
222 Added FRAMEWORK_VERSION var.
224 2004-07-02 Raja R Harinath <rharinath@novell.com>
226 Support for avoiding "sharing violations" while compiling core
227 libraries with an in-tree compiler.
228 * library.make (LIBRARY_USE_INTERMEDIATE_FILE): New toggle.
229 ($(the_lib)): Use it.
231 2004-07-02 Raja R Harinath <rharinath@novell.com>
233 * rules.make (OVERRIDE_BARE_TARGETS): Remove.
234 (OVERRIDE_TARGET_ALL): New control for overriding the default all:
235 rule. If set, 'make all' will run 'all.override' from the client
237 (all): Move commands ...
238 (all.real): ... here. Make ordering assumptions explicit, and
240 (test,run-test,run-test-ondotnet,clean,install,uninstall):
242 (STD_TARGETS): ... this new variable. Make ordering assumption
243 between -recursive and -local targets explicit.
244 (%-recursive): Handle W32 GNU make that has --unix as the first
246 * README.makefiles (Special recursion needs): Update to reflect
248 * library.make (all-local): Build $(the_lib_signature_stamp) when
249 NO_SIGN_ASSEMBLY is defined.
250 ($(gacutil),$(sn)): Consolidate rules.
251 (test-local,run-test-local,run-test-ondotnet-local): Likewise.
253 2004-07-02 Raja R Harinath <rharinath@novell.com>
255 * config-default.make (TEST_RUNTIME): Use 'mono' by default.
256 * platforms/win32.make (TEST_RUNTIME): Remove.
257 * profiles/default.make (TEST_RUNTIME): Remove.
259 2004-06-28 Raja R Harinath <rharinath@novell.com>
261 * platforms/linux.make (RESGEN): Define using $(INTERNAL_RESGEN).
263 2004-06-21 Raja R Harinath <rharinath@novell.com>
265 * executable.make ($(PROGRAM)): Move depend on the makefrags ...
266 (all-local): ... here.
267 * library.make ($(the_lib), $(test_lib), $(btest_lib), all-local):
269 (LIBRARY_SNK): New default define. Allows library to be signed
270 with a key other than mono.snk.
271 ($(the_lib_signature_stamp)): New stamp file created when an
273 (install-local, uninstall-local, maybe-sign-lib): Set MONO_PATH.
275 2004-06-16 Raja R Harinath <rharinath@novell.com>
277 * library.make ($(makefrag),$(test_makefrag),$(btest_makefrag)):
278 Depend on library.make.
279 * executable.make ($(makefrag)): Depend on executable.make.
281 2004-06-16 Atsushi Enomoto <atsushi@ximian.com>
283 * library.make : Added GACDIR. Use cygpath -w on windows.
285 2004-06-14 Raja R Harinath <rharinath@novell.com>
287 * platforms/linux.make (PLATFORM_CHANGE_SEPARATOR_CMD): Define to 'cat'.
288 (PLATFORM_TWEAK_CORLIB_SOURCES): Remove.
289 (platform-check): Avoid bash-ism.
290 * library.make: Simplify uses of $(patsubst x,y,$(foo)) to $(foo:x=y).
291 (core_sourcefile): Rename back to ...
292 (sourcefile): ... this. Remove creation of redundant intermediate file.
293 (response): Change test for optimization, now that
294 PLATFORM_CHANGE_SEPARATOR_CMD is unconditional. Combine with
295 platform-exclude handling.
296 (library_CLEAN_FILES): New variable to specify clean:-able files
297 close to where they're defined.
298 (test_response, btest_response): Simplify.
299 * executable.make (response): Change test for optimization.
300 (executable_CLEAN_FILES): New define.
302 2004-06-14 Raja R Harinath <rharinath@novell.com>
304 * library.make (uninstall-local): Fix typo.
306 2004-06-11 Atsushi Enomoto <atsushi@ximian.com>
308 * library.make : HAVE_CS_TESTS fixie.
310 2004-06-11 Raja R Harinath <rharinath@novell.com>
312 * library.make (HAVE_CS_TESTS, HAVE_VB_TESTS): Allow to be
313 overriden. Useful if the tests sourcefile is generated.
314 (TEST_COMPILE, BTEST_COMPILE): Allow these to be customized too.
316 * platforms/win32.make (PLATFORM_TWEAK_CORLIB_SOURCES): Remove.
318 Support enough features to build mscorlib.dll.
319 * library.make (core_sourcefile): New renamed from $(sourcefile).
320 (PLATFORM_excludes): Auto-detecting define that sees if
321 $(LIBRARY).$(PLATFORM)-excludes file exists.
322 (sourcefile): New. Possibly-built file that removes
323 PLATFORM_excluded files from core_sourcefile.
324 (test_against, test_dep): New. Allow the test assembly to be
325 built against a different library.
326 (test_lib): Allow makefile to override the name of the test
328 (LIBRARY_INSTALL_DIR): If defined, switch to using $(INSTALL_LIB)
329 rather than $(gacutil).
330 (DISTFILES, dist-local): Use core_sourcefile.
331 (clean-local): Remove sourcefile if it was generated.
332 (test_lib, btest_lib): Depend on $(test_dep).
334 2004-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
336 * library.make: fixed PLATFORM_CHANGE_SEPARATOR_CHAR on windows.
338 2004-06-09 Sebastien Pouliot <sebastien@ximian.com>
340 * library.make: Added support to fully sign assemblies when doing a
341 "make install" (thanks to Jackson :-).
343 2004-06-09 Raja R Harinath <rharinath@novell.com>
345 Do away with stampfiles.
346 Introduce support for VB test cases.
347 * library.make (HAVE_CS_TESTS, HAVE_VB_TESTS): New auto-detecting
349 (stampfile, test_stampfile): Remove.
350 (clean-local): Don't mention them.
351 (test-local, run-test-local, run-test-ondotnet-local):
353 ($(makefrag), $(test_makefrag)): Simplify.
354 ($(btest_lib)): New. Support for VB testcases.
356 2004-06-09 Raja R Harinath <rharinath@novell.com>
358 Partial support for writing Visual Basic source files.
359 * rules.make (USE_MBAS_FLAGS,BASCOMPILE,INTERNAL_MBAS): New.
360 * config-default.make (MBAS_FLAGS, DEFAULT_MBAS_FLAGS): New.
361 * profiles/default.make (MBAS): New.
363 2004-06-09 Raja R Harinath <rharinath@novell.com>
365 Do away with stampfiles.
366 * executable.make (stampfile): Remove.
367 (clean-local): Remove mention of $(stampfile).
368 (test-local, run-test-local, run-test-ondotnet-local):
369 Make unconditional. Add dummy rule to prevent other makefiles
370 from defining rules on these.
371 ($(PROGRAM)): Depend directly on $(BUILT_SOURCES).
372 ($(makefrag)): Simplify.
374 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
376 * README.makefiles : added description for run-test-ondotnet.
378 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
380 * Makefile, executable.make, library.make, rules.make :
381 Added new target "run-test-ondotnet" that works what "run-test"
382 used to be on windows (i.e. tests our libs under MS.NET).
384 2004-06-01 Atsushi Enomoto <atsushi@ximian.com>
386 * platforms/win32.make : TEST_RUNTIME should be always mono we can't
387 test our libs against MS.NET runtime. Think about internal call).
389 2004-05-30 Jackson Harper <jackson@ximian.com>
391 * library.make: Install to 2.0 package if building with the
394 2004-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
396 * library.make: reference nunti.core.dll and nunit.util.dll when
399 2004-05-26 Raja R Harinath <rharinath@novell.com>
401 * library.make (clean-local): Add $(CLEAN_FILES) too.
403 2004-05-25 Sebastien Pouliot <sebastien@ximian.com>
405 * library.make: changed case on nunit.framework.dll (lowercase)
407 2004-05-24 Raja R Harinath <rharinath@novell.com>
409 * library.make (LIBRARY_COMPILE): New define.
410 ($(the_lib)): Use $(LIBRARY_COMPILE) to compile $(the_lib).
412 * executable.make (PROGRAM_INSTALL_DIR): Allow makefile to specify
413 a different directory for installation.
414 (install-local, uninstall-local): Use it.
416 2004-05-20 Raja R Harinath <rharinath@novell.com>
418 * profiles/default.make (TEST_RUNTIME): Look in class/lib/default
419 for library to be tested.
420 * rules.make (INTERNAL_RESGEN): New Define.
421 * library.make (run-test-local): Move commands to run-test-lib.
422 Preparartion for allowing creation of addition test dll with .vb
424 * executable.make (PROGRAM_COMPILE): New define.
425 ($(PROGRAM)): Use PROGRAM_COMPILE to compile PROGRAM.
427 2004-05-14 Jackson Harper <jackson@ximian.com>
429 * library.make: Install package files. Get params in magical
432 2004-05-11 Jackson Harper <jackson@ximian.com>
434 * platforms/linux.make:
435 * platforms/win32.make: Define a PLATFORM_PATH_SEPARATOR used for
436 separating paths in env vars. (ie MONO_PATH).
437 * profiles/net_2_0.make: Always use gmcs for building the 2.0
438 libraries. corlib is the first lib built and it will build gmcs.
440 2004-05-11 Jackson Harper <jackson@ximian.com>
442 * library.make: Allow assembly names to be different then their
445 2004-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
447 * library.make: build NUnit if we try to run 'make test' and the dll
450 2004-04-29 Jackson Harper <jackson@ximian.com>
452 * library.make: Fix uninstall
454 2004-04-29 Martin Baulig <martin@ximian.com>
456 * rules.make: Added `INTERNAL_ILASM'.
458 2004-04-29 Jackson Harper <jackson@ximian.com>
460 * library.make: Use RUNTIME instead of PLATFORM_RUNTIME for the
461 gacutil. gacutil needs to be run on our runtime. Make dependancys
464 2004-04-28 Jackson Harper <jackson@ximian.com>
466 * library.make: Use the proper runtime, make sure gacutil is
469 2004-04-28 Jackson Harper <jackson@ximian.com>
471 * library.make: Install these bad actors to the GAC.
473 2004-04-28 Raja R Harinath <rharinath@novell.com>
475 * library.make (test_flags): NUnit.Framework.dll is now in
476 class/lib/$(PROFILE).
478 2004-04-26 Jackson Harper <jackson@ximian.com>
481 * profiles/bootstrap.make:
482 * profiles/default.make: profiles are built in their ownb lib
484 * profiles/net_2_0.make: new .net 2.0 profile.
486 2004-04-22 Martin Baulig <martin@ximian.com>
488 * profiles/net_1_2.make: Removed.
489 * profiles/martin-generics.make: Remove.
491 2004-04-19 Raja R Harinath <rharinath@novell.com>
493 * rules.make (%-recursive): Honor 'make -k'.
495 2004-02-17 Martin Baulig <martin@ximian.com>
497 * profiles/generics.make: Renamed to `martin-generics.make' and
498 added a comment to the file. I'll rename this back when it's
499 ready for public use.
501 2003-12-17 Jackson Harper <jackson@ximian.com>
503 * profiles/default.make:
504 * profiles/net_1_0.make: Add ONLY_1_0 and ONLY_1_1 defines to fix
507 2003-12-08 Peter Williams <peter@newton.cx>
509 * config-default.make: Don't check for / define
510 ECHO_ESCAPE: the check isn't smart enough and
511 apparently OS X's shell somehow doesn't support
514 * library.make: Use embedded tab instead of
515 $(ECHO_ESCAPE). Fixes OS X build.
517 * executable.make: Same.
519 2003-12-05 Martin Baulig <martin@ximian.com>
521 * profiles/generics.make: Define `GENERICS'.
523 2003-12-05 Martin Baulig <martin@ximian.com>
525 * profiles/net_1_2.make: New profile; uses the .NET 1.2 API's, but
526 without generics and with mcs instead of gmcs.
528 * profiles/bootstrap.make: New profile; already use the newly
529 compiled mcs to compile corlib.
531 2003-12-04 Martin Baulig <martin@ximian.com>
533 * profiles/generics.make: Use gmcs.
535 2003-11-12 Jackson Harper <jackson@ximian.com>
538 * platforms/linux.make: corlib name is now mscorlib.
540 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
542 * profiles/generics.make: add the -2 flag.
544 2003-10-28 Jackson Harper <jackson@ximian.com>
546 * platforms/linux.make: Tell users to read INSTALL.txt not the
547 non-existant README.building.
549 2003-10-22 Dick Porter <dick@ximian.com>
551 * platforms/win32.make:
552 * platforms/linux.make:
553 * rules.make: Added RESGEN platform-specific tool.
555 2003-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
557 * config-default.make: the /nowarn arguments are now set on a per
560 2003-07-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
562 * executable.make: install-local depends on the program too.
564 2003-07-25 Peter Williams <peter@newton.cx>
566 * rules.make (run-test): Make it depend on 'test-local'
567 then 'run-test-local' after 'run-test-recursive'. This way,
568 'make run-test' from the toplevel doesn't recurse through all
569 the directories doing a make test before we run anything.
571 2003-07-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
573 * rules.make: run-test depends now on 'test'.
575 2003-07-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
577 * rules.make: set corlib to PLATFORM_CORLIB if this is defined.
579 2003-07-22 Peter Williams <peter@newton.cx>
581 * rules.make (withmcs): Add this developer utility target.
583 2003-07-20 Peter Williams <peter@newton.cx>
585 * README.platforms: Update docs for changes below.
587 * platforms/win32.make (PLATFORM_CORLIB): Set this variable
588 to 'mscorlib.dll', instead of $(corlib) which everything links
589 against. *Almost* everything should link against our corlib --
590 with the exception of corlib_cmp and corlib_res.
592 * platforms/linux.make: Same here: corlib.dll
594 * rules.make: Define $(corlib) here.
596 2003-07-20 Peter Williams <peter@newton.cx>
598 * config-default.make (TEST_RUNTIME): Use the platform runtime
599 to run tests, by default.
601 * profiles/default.make (TEST_RUNTIME): If our test runtime is
602 mono, use the --debug flag.
604 * executable.make (sourcefile): Add a basename so that we can
605 find the nunit sources and so we behave a bit more like
608 * config-default.make (TEST_HARNESS): Find nunit-console in its
611 2003-07-20 Peter Williams <peter@newton.cx>
613 * library.make ($(response)): Do a "Creating ..." line here.
615 * executable.make ($(response)): Same.
617 * config-default.make: Make warning more forceful.
619 * rules.make: Define a useful 'PLATFORM_MONO_NATIVE' that is
620 set if the platform does not have a native runtime (ie, linux).
621 Also reorder some definitions.
623 2003-07-20 Peter Williams <peter@newton.cx>
625 * Created. See ../ChangeLog for entries earlier than