1 2004-12-08 Raja R Harinath <rharinath@novell.com>
3 * profiles/basic.make (real-profile-check): Update to new location
4 of secret stash of bootstrap files.
6 2004-12-07 Raja R Harinath <rharinath@novell.com>
8 * executable.make (uninstall-local): Remove .config file too.
9 * library.make (uninstall-local): Don't error out if GACUTIL fails.
11 2004-12-07 Raja R Harinath <rharinath@novell.com>
13 * library.make (BUILT_SOURCES_cmdline): Use
14 PLATFORM_CHANGE_SEPARATOR_CMD on BUILT_SOURCES too.
17 2004-12-04 Atsushi Enomoto <atsushi@ximian.com>
20 profiles/default.make,
21 profiles/basic.make : use PLATFORM_PATH_SEPARATOR.
23 2004-12-03 Raja R Harinath <rharinath@novell.com>
25 * profiles/basic.make (MCS): Run the INTERNAL_MCS.
26 (USE_BOOT_COMPILE): Remove.
28 2004-12-03 Raja R Harinath <rharinath@novell.com>
30 * library.make (gacdir_flag): New. Disable /gacdir flag if
31 RUNTIME_HAS_CONSISTENT_GACDIR flag is set.
32 (install-local): Use it.
34 2004-11-30 Raja R Harinath <rharinath@novell.com>
36 * executable.make (makefrag): Make profile-specific.
38 2004-11-26 Martin Baulig <martin@ximian.com>
40 * library.make (run-test-lib, run-test-ondotnet-lib): Added
41 `/output:TestResult-$(PROFILE).log' argument to NUnit.
43 2004-11-26 Raja R Harinath <rharinath@novell.com>
45 * library.make ($(the_lib)): Don't complain if a .mdb file wasn't
46 created (even though it's just a warning).
47 (install-local) [LIBRARY_INSTALL_DIR]: Likewise.
49 (install-local) [!LIBRARY_INSTALL_DIR]: Use $(FRAMEWORK_VERSION).
50 * executable.make ($(PROGRAM)): Likewise.
51 (install-local): Likewise.
52 (PROGRAM_INSTALL_DIR): Define Using $(FRAMEWORK_VERSION).
54 2004-11-26 Raja R Harinath <rharinath@novell.com>
56 * profiles/basic.make (real-profile-check): Prepend ./ when
57 executing basic-profile-check.exe. EXTERNAL_RUNTIME can be empty.
59 2004-11-25 Raja R Harinath <rharinath@novell.com>
61 * platforms/linux.make (EXTERNAL_MCS,EXTERNAL_MBAS,EXTERNAL_RUNTIME):
63 * platforms/win32.make: Likewise.
64 * profiles/basic.make: Use $(EXTERNAL_MCS).
65 * profiles/net_1_1_bootstrap.make: Likewise.
66 * library.make ($(the_lib)): Add support for BUILT_SOURCES.
67 (run-test-lib): Pass $(TEST_HARNESS_FLAGS) to harness. Useful to
68 pass, say /labels, to nunit-console.
70 2004-11-25 Raja R Harinath <rharinath@novell.com>
72 * library.make ($(gacutil)): Fix path.
74 2004-11-23 Raja R Harinath <rharinath@novell.com>
76 * executable.make (NO_INSTALL): New option. Disables installation.
77 * library.make (NO_INSTALL): Likewise.
78 (install-local) [!NO_INSTALL, !LIBRARY_INSTALL_DIR]: Pass both
79 /gacdir and /root options to gacutil.
80 * platforms/linux.make (platform-check): Print the BOOTSTRAP_MCS
81 command that was tried, in case of failure.
82 * profiles/basic.make (NO_TEST, NO_INSTALL): Define.
83 * profiles/net_1_1_bootstrap.make: Likewise.
84 * profiles/net_2_0_bootstrap.make: Likewise.
86 2004-11-22 Raja R Harinath <rharinath@novell.com>
88 * library.make (SN): New define. Use the net_1_1_bootstrap sn.exe.
90 ($(the_lib)): Use them to sign assemblies as they're built.
91 (the_lib_signature_stamp): Remove.
93 * Makefile (DISTFILES): Distribute all the profile make-fragments.
94 (clean-local): Clean up the deps/ directory.
96 2004-11-19 Raja R Harinath <rharinath@novell.com>
98 Orchestrate the bootstrap.
99 * rules.make (INTERNAL_MCS): Look for mcs.exe in profile-specific directory.
100 * profiles/net_1_1_bootstrap.make (BOOTSTRAP_MCS): Use mcs.exe from
102 * profiles/default.make (BOOTSTRAP_MCS): Use mcs.exe from the
103 net_1_1_bootstrap profile.
104 * profiles/net_2_0_bootstrap.make (BOOTSTRAP_MCS): Use mcs.exe
105 from default profile.
106 (all-local, clean-local): New. Copy mcs.exe from default profile,
107 but customize it to work with 2.0.x libraries.
108 * profiles/net_2_0.make (BOOTSTRAP_MCS): Define approprately for
111 * executable.make (executable_CLEAN_FILES): Clean up more files.
112 ($(PROGRAM)): Move .mdb files too.
114 2004-11-18 Atsushi Enomoto <atsushi@ximian.com>
116 * library.make: Reverted the last fix. It broke windows build (that
117 should be fixed though).
119 2004-11-18 Atsushi Enomoto <atsushi@ximian.com>
121 * library.make: Some minor fix for PLATFORM_PATH_SEPARATOR.
123 2004-11-17 Raja R Harinath <rharinath@novell.com>
125 * executable.make: Improve support for building executable into a
128 2004-11-09 Raja R Harinath <rharinath@novell.com>
130 * profiles/basic.make: New.
131 * profiles/net_2_0.make (PROFILE_MCS_FLAGS): Remove '-2' flag.
132 * profiles/net_1_1_bootstrap.make (NO_SIGN_ASSEMBLY): Set.
134 2004-11-04 Raja R Harinath <rharinath@novell.com>
136 * profiles/net_1_1_bootstrap.make: New profile.
137 * profiles/net_2_0_bootstrap.make: Use in-tree mcs for
138 bootstrapping mscorlib.dll.
139 * platforms/linux.make (platform-check): Make more robust.
140 * rules.make (%-recursive): Propagate error exit from sub-makes
141 even if invoked with 'make -k'.
143 2004-10-29 Raja R Harinath <rharinath@novell.com>
145 * profiles/net_2_0_bootstrap.make (PROFILE_MCS_FLAGS): Remove
146 -langversion:default flag.
148 * rules.make (distdir): Remove.
149 (PROFILE_SUBDIRS): New. Support profile-specific SUBDIRS.
151 (dist-recursive): Define distdir here.
153 2004-10-25 Zoltan Varga <vargaz@freemail.hu>
155 * config-default.make (TEST_RUNTIME): Add TEST_MONO_PATH variable.
157 2004-09-27 Raja R Harinath <rharinath@novell.com>
159 * library.make ($(test_nunit_dep)): Make sure NUnit is built for
160 the profile being tested.
161 (nunit-$(PROFILE).stamp): Rename from nunit.stamp.
162 * config-default.make (TEST_HARNESS): Look for 'nunit-console' in
163 profile-specific directory.
165 2004-09-21 Raja R Harinath <rharinath@novell.com>
167 * profiles/net_2_0_bootstrap.make: New file.
169 * library.make (the_mdb): Fix.
170 (library_CLEAN_FILES): Add the new test results files too.
172 2004-09-14 Raja R Harinath <rharinath@novell.com>
174 * library.make (test_lib, btest_lib): Build separate test
175 assemblies for separate profiles.
176 (dist-local): Don't copy files beginning with '../'.
177 (test_sourcefile, btest_sourcefile): Define in terms of
178 $(test_lib) or $(btest_lib) only if they're overriden.
179 (test_response, test_makefrag): Remove redundant $(PROFILE) in name.
180 (run-test-lib, run-btest-lib): Unify. Give profile-specific name
182 * rules.make (dist-default): Handle any of Makefile, makefile, or
183 GNUmakefile being present.
184 * profiles/net_2_0.make (TEST_RUNTIME): Don't define.
186 2004-08-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
189 * library.make: install/clean .mdb files.
191 2004-07-30 Martin Baulig <martin@ximian.com>
193 * executable.make (EXTRA_SOURCES): New variable to add extra
194 sources to the program.
196 2004-07-30 Raja R Harinath <harinath@blr-harinath.blr.novell.com>
198 * executable.make (PROGRAM_config): New auto-detecting define.
199 Defined if $(PROGRAM).config exists.
200 (install-local): Install $(PROGRAM_config) if it exists.
202 2004-07-21 Lluis Sanchez Gual <lluis@novell.com>
204 * profiles/default.make, profiles/net_2_0.make, profiles/net_1_0.make:
205 Added FRAMEWORK_VERSION var.
207 2004-07-02 Raja R Harinath <rharinath@novell.com>
209 Support for avoiding "sharing violations" while compiling core
210 libraries with an in-tree compiler.
211 * library.make (LIBRARY_USE_INTERMEDIATE_FILE): New toggle.
212 ($(the_lib)): Use it.
214 2004-07-02 Raja R Harinath <rharinath@novell.com>
216 * rules.make (OVERRIDE_BARE_TARGETS): Remove.
217 (OVERRIDE_TARGET_ALL): New control for overriding the default all:
218 rule. If set, 'make all' will run 'all.override' from the client
220 (all): Move commands ...
221 (all.real): ... here. Make ordering assumptions explicit, and
223 (test,run-test,run-test-ondotnet,clean,install,uninstall):
225 (STD_TARGETS): ... this new variable. Make ordering assumption
226 between -recursive and -local targets explicit.
227 (%-recursive): Handle W32 GNU make that has --unix as the first
229 * README.makefiles (Special recursion needs): Update to reflect
231 * library.make (all-local): Build $(the_lib_signature_stamp) when
232 NO_SIGN_ASSEMBLY is defined.
233 ($(gacutil),$(sn)): Consolidate rules.
234 (test-local,run-test-local,run-test-ondotnet-local): Likewise.
236 2004-07-02 Raja R Harinath <rharinath@novell.com>
238 * config-default.make (TEST_RUNTIME): Use 'mono' by default.
239 * platforms/win32.make (TEST_RUNTIME): Remove.
240 * profiles/default.make (TEST_RUNTIME): Remove.
242 2004-06-28 Raja R Harinath <rharinath@novell.com>
244 * platforms/linux.make (RESGEN): Define using $(INTERNAL_RESGEN).
246 2004-06-21 Raja R Harinath <rharinath@novell.com>
248 * executable.make ($(PROGRAM)): Move depend on the makefrags ...
249 (all-local): ... here.
250 * library.make ($(the_lib), $(test_lib), $(btest_lib), all-local):
252 (LIBRARY_SNK): New default define. Allows library to be signed
253 with a key other than mono.snk.
254 ($(the_lib_signature_stamp)): New stamp file created when an
256 (install-local, uninstall-local, maybe-sign-lib): Set MONO_PATH.
258 2004-06-16 Raja R Harinath <rharinath@novell.com>
260 * library.make ($(makefrag),$(test_makefrag),$(btest_makefrag)):
261 Depend on library.make.
262 * executable.make ($(makefrag)): Depend on executable.make.
264 2004-06-16 Atsushi Enomoto <atsushi@ximian.com>
266 * library.make : Added GACDIR. Use cygpath -w on windows.
268 2004-06-14 Raja R Harinath <rharinath@novell.com>
270 * platforms/linux.make (PLATFORM_CHANGE_SEPARATOR_CMD): Define to 'cat'.
271 (PLATFORM_TWEAK_CORLIB_SOURCES): Remove.
272 (platform-check): Avoid bash-ism.
273 * library.make: Simplify uses of $(patsubst x,y,$(foo)) to $(foo:x=y).
274 (core_sourcefile): Rename back to ...
275 (sourcefile): ... this. Remove creation of redundant intermediate file.
276 (response): Change test for optimization, now that
277 PLATFORM_CHANGE_SEPARATOR_CMD is unconditional. Combine with
278 platform-exclude handling.
279 (library_CLEAN_FILES): New variable to specify clean:-able files
280 close to where they're defined.
281 (test_response, btest_response): Simplify.
282 * executable.make (response): Change test for optimization.
283 (executable_CLEAN_FILES): New define.
285 2004-06-14 Raja R Harinath <rharinath@novell.com>
287 * library.make (uninstall-local): Fix typo.
289 2004-06-11 Atsushi Enomoto <atsushi@ximian.com>
291 * library.make : HAVE_CS_TESTS fixie.
293 2004-06-11 Raja R Harinath <rharinath@novell.com>
295 * library.make (HAVE_CS_TESTS, HAVE_VB_TESTS): Allow to be
296 overriden. Useful if the tests sourcefile is generated.
297 (TEST_COMPILE, BTEST_COMPILE): Allow these to be customized too.
299 * platforms/win32.make (PLATFORM_TWEAK_CORLIB_SOURCES): Remove.
301 Support enough features to build mscorlib.dll.
302 * library.make (core_sourcefile): New renamed from $(sourcefile).
303 (PLATFORM_excludes): Auto-detecting define that sees if
304 $(LIBRARY).$(PLATFORM)-excludes file exists.
305 (sourcefile): New. Possibly-built file that removes
306 PLATFORM_excluded files from core_sourcefile.
307 (test_against, test_dep): New. Allow the test assembly to be
308 built against a different library.
309 (test_lib): Allow makefile to override the name of the test
311 (LIBRARY_INSTALL_DIR): If defined, switch to using $(INSTALL_LIB)
312 rather than $(gacutil).
313 (DISTFILES, dist-local): Use core_sourcefile.
314 (clean-local): Remove sourcefile if it was generated.
315 (test_lib, btest_lib): Depend on $(test_dep).
317 2004-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
319 * library.make: fixed PLATFORM_CHANGE_SEPARATOR_CHAR on windows.
321 2004-06-09 Sebastien Pouliot <sebastien@ximian.com>
323 * library.make: Added support to fully sign assemblies when doing a
324 "make install" (thanks to Jackson :-).
326 2004-06-09 Raja R Harinath <rharinath@novell.com>
328 Do away with stampfiles.
329 Introduce support for VB test cases.
330 * library.make (HAVE_CS_TESTS, HAVE_VB_TESTS): New auto-detecting
332 (stampfile, test_stampfile): Remove.
333 (clean-local): Don't mention them.
334 (test-local, run-test-local, run-test-ondotnet-local):
336 ($(makefrag), $(test_makefrag)): Simplify.
337 ($(btest_lib)): New. Support for VB testcases.
339 2004-06-09 Raja R Harinath <rharinath@novell.com>
341 Partial support for writing Visual Basic source files.
342 * rules.make (USE_MBAS_FLAGS,BASCOMPILE,INTERNAL_MBAS): New.
343 * config-default.make (MBAS_FLAGS, DEFAULT_MBAS_FLAGS): New.
344 * profiles/default.make (MBAS): New.
346 2004-06-09 Raja R Harinath <rharinath@novell.com>
348 Do away with stampfiles.
349 * executable.make (stampfile): Remove.
350 (clean-local): Remove mention of $(stampfile).
351 (test-local, run-test-local, run-test-ondotnet-local):
352 Make unconditional. Add dummy rule to prevent other makefiles
353 from defining rules on these.
354 ($(PROGRAM)): Depend directly on $(BUILT_SOURCES).
355 ($(makefrag)): Simplify.
357 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
359 * README.makefiles : added description for run-test-ondotnet.
361 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
363 * Makefile, executable.make, library.make, rules.make :
364 Added new target "run-test-ondotnet" that works what "run-test"
365 used to be on windows (i.e. tests our libs under MS.NET).
367 2004-06-01 Atsushi Enomoto <atsushi@ximian.com>
369 * platforms/win32.make : TEST_RUNTIME should be always mono we can't
370 test our libs against MS.NET runtime. Think about internal call).
372 2004-05-30 Jackson Harper <jackson@ximian.com>
374 * library.make: Install to 2.0 package if building with the
377 2004-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
379 * library.make: reference nunti.core.dll and nunit.util.dll when
382 2004-05-26 Raja R Harinath <rharinath@novell.com>
384 * library.make (clean-local): Add $(CLEAN_FILES) too.
386 2004-05-25 Sebastien Pouliot <sebastien@ximian.com>
388 * library.make: changed case on nunit.framework.dll (lowercase)
390 2004-05-24 Raja R Harinath <rharinath@novell.com>
392 * library.make (LIBRARY_COMPILE): New define.
393 ($(the_lib)): Use $(LIBRARY_COMPILE) to compile $(the_lib).
395 * executable.make (PROGRAM_INSTALL_DIR): Allow makefile to specify
396 a different directory for installation.
397 (install-local, uninstall-local): Use it.
399 2004-05-20 Raja R Harinath <rharinath@novell.com>
401 * profiles/default.make (TEST_RUNTIME): Look in class/lib/default
402 for library to be tested.
403 * rules.make (INTERNAL_RESGEN): New Define.
404 * library.make (run-test-local): Move commands to run-test-lib.
405 Preparartion for allowing creation of addition test dll with .vb
407 * executable.make (PROGRAM_COMPILE): New define.
408 ($(PROGRAM)): Use PROGRAM_COMPILE to compile PROGRAM.
410 2004-05-14 Jackson Harper <jackson@ximian.com>
412 * library.make: Install package files. Get params in magical
415 2004-05-11 Jackson Harper <jackson@ximian.com>
417 * platforms/linux.make:
418 * platforms/win32.make: Define a PLATFORM_PATH_SEPARATOR used for
419 separating paths in env vars. (ie MONO_PATH).
420 * profiles/net_2_0.make: Always use gmcs for building the 2.0
421 libraries. corlib is the first lib built and it will build gmcs.
423 2004-05-11 Jackson Harper <jackson@ximian.com>
425 * library.make: Allow assembly names to be different then their
428 2004-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
430 * library.make: build NUnit if we try to run 'make test' and the dll
433 2004-04-29 Jackson Harper <jackson@ximian.com>
435 * library.make: Fix uninstall
437 2004-04-29 Martin Baulig <martin@ximian.com>
439 * rules.make: Added `INTERNAL_ILASM'.
441 2004-04-29 Jackson Harper <jackson@ximian.com>
443 * library.make: Use RUNTIME instead of PLATFORM_RUNTIME for the
444 gacutil. gacutil needs to be run on our runtime. Make dependancys
447 2004-04-28 Jackson Harper <jackson@ximian.com>
449 * library.make: Use the proper runtime, make sure gacutil is
452 2004-04-28 Jackson Harper <jackson@ximian.com>
454 * library.make: Install these bad actors to the GAC.
456 2004-04-28 Raja R Harinath <rharinath@novell.com>
458 * library.make (test_flags): NUnit.Framework.dll is now in
459 class/lib/$(PROFILE).
461 2004-04-26 Jackson Harper <jackson@ximian.com>
464 * profiles/bootstrap.make:
465 * profiles/default.make: profiles are built in their ownb lib
467 * profiles/net_2_0.make: new .net 2.0 profile.
469 2004-04-22 Martin Baulig <martin@ximian.com>
471 * profiles/net_1_2.make: Removed.
472 * profiles/martin-generics.make: Remove.
474 2004-04-19 Raja R Harinath <rharinath@novell.com>
476 * rules.make (%-recursive): Honor 'make -k'.
478 2004-02-17 Martin Baulig <martin@ximian.com>
480 * profiles/generics.make: Renamed to `martin-generics.make' and
481 added a comment to the file. I'll rename this back when it's
482 ready for public use.
484 2003-12-17 Jackson Harper <jackson@ximian.com>
486 * profiles/default.make:
487 * profiles/net_1_0.make: Add ONLY_1_0 and ONLY_1_1 defines to fix
490 2003-12-08 Peter Williams <peter@newton.cx>
492 * config-default.make: Don't check for / define
493 ECHO_ESCAPE: the check isn't smart enough and
494 apparently OS X's shell somehow doesn't support
497 * library.make: Use embedded tab instead of
498 $(ECHO_ESCAPE). Fixes OS X build.
500 * executable.make: Same.
502 2003-12-05 Martin Baulig <martin@ximian.com>
504 * profiles/generics.make: Define `GENERICS'.
506 2003-12-05 Martin Baulig <martin@ximian.com>
508 * profiles/net_1_2.make: New profile; uses the .NET 1.2 API's, but
509 without generics and with mcs instead of gmcs.
511 * profiles/bootstrap.make: New profile; already use the newly
512 compiled mcs to compile corlib.
514 2003-12-04 Martin Baulig <martin@ximian.com>
516 * profiles/generics.make: Use gmcs.
518 2003-11-12 Jackson Harper <jackson@ximian.com>
521 * platforms/linux.make: corlib name is now mscorlib.
523 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
525 * profiles/generics.make: add the -2 flag.
527 2003-10-28 Jackson Harper <jackson@ximian.com>
529 * platforms/linux.make: Tell users to read INSTALL.txt not the
530 non-existant README.building.
532 2003-10-22 Dick Porter <dick@ximian.com>
534 * platforms/win32.make:
535 * platforms/linux.make:
536 * rules.make: Added RESGEN platform-specific tool.
538 2003-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
540 * config-default.make: the /nowarn arguments are now set on a per
543 2003-07-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
545 * executable.make: install-local depends on the program too.
547 2003-07-25 Peter Williams <peter@newton.cx>
549 * rules.make (run-test): Make it depend on 'test-local'
550 then 'run-test-local' after 'run-test-recursive'. This way,
551 'make run-test' from the toplevel doesn't recurse through all
552 the directories doing a make test before we run anything.
554 2003-07-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
556 * rules.make: run-test depends now on 'test'.
558 2003-07-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
560 * rules.make: set corlib to PLATFORM_CORLIB if this is defined.
562 2003-07-22 Peter Williams <peter@newton.cx>
564 * rules.make (withmcs): Add this developer utility target.
566 2003-07-20 Peter Williams <peter@newton.cx>
568 * README.platforms: Update docs for changes below.
570 * platforms/win32.make (PLATFORM_CORLIB): Set this variable
571 to 'mscorlib.dll', instead of $(corlib) which everything links
572 against. *Almost* everything should link against our corlib --
573 with the exception of corlib_cmp and corlib_res.
575 * platforms/linux.make: Same here: corlib.dll
577 * rules.make: Define $(corlib) here.
579 2003-07-20 Peter Williams <peter@newton.cx>
581 * config-default.make (TEST_RUNTIME): Use the platform runtime
582 to run tests, by default.
584 * profiles/default.make (TEST_RUNTIME): If our test runtime is
585 mono, use the --debug flag.
587 * executable.make (sourcefile): Add a basename so that we can
588 find the nunit sources and so we behave a bit more like
591 * config-default.make (TEST_HARNESS): Find nunit-console in its
594 2003-07-20 Peter Williams <peter@newton.cx>
596 * library.make ($(response)): Do a "Creating ..." line here.
598 * executable.make ($(response)): Same.
600 * config-default.make: Make warning more forceful.
602 * rules.make: Define a useful 'PLATFORM_MONO_NATIVE' that is
603 set if the platform does not have a native runtime (ie, linux).
604 Also reorder some definitions.
606 2003-07-20 Peter Williams <peter@newton.cx>
608 * Created. See ../ChangeLog for entries earlier than