1 2004-12-03 Raja R Harinath <rharinath@novell.com>
3 * profiles/basic.make (MCS): Run the INTERNAL_MCS.
4 (USE_BOOT_COMPILE): Remove.
6 2004-12-03 Raja R Harinath <rharinath@novell.com>
8 * library.make (gacdir_flag): New. Disable /gacdir flag if
9 RUNTIME_HAS_CONSISTENT_GACDIR flag is set.
10 (install-local): Use it.
12 2004-11-30 Raja R Harinath <rharinath@novell.com>
14 * executable.make (makefrag): Make profile-specific.
16 2004-11-26 Martin Baulig <martin@ximian.com>
18 * library.make (run-test-lib, run-test-ondotnet-lib): Added
19 `/output:TestResult-$(PROFILE).log' argument to NUnit.
21 2004-11-26 Raja R Harinath <rharinath@novell.com>
23 * library.make ($(the_lib)): Don't complain if a .mdb file wasn't
24 created (even though it's just a warning).
25 (install-local) [LIBRARY_INSTALL_DIR]: Likewise.
27 (install-local) [!LIBRARY_INSTALL_DIR]: Use $(FRAMEWORK_VERSION).
28 * executable.make ($(PROGRAM)): Likewise.
29 (install-local): Likewise.
30 (PROGRAM_INSTALL_DIR): Define Using $(FRAMEWORK_VERSION).
32 2004-11-26 Raja R Harinath <rharinath@novell.com>
34 * profiles/basic.make (real-profile-check): Prepend ./ when
35 executing basic-profile-check.exe. EXTERNAL_RUNTIME can be empty.
37 2004-11-25 Raja R Harinath <rharinath@novell.com>
39 * platforms/linux.make (EXTERNAL_MCS,EXTERNAL_MBAS,EXTERNAL_RUNTIME):
41 * platforms/win32.make: Likewise.
42 * profiles/basic.make: Use $(EXTERNAL_MCS).
43 * profiles/net_1_1_bootstrap.make: Likewise.
44 * library.make ($(the_lib)): Add support for BUILT_SOURCES.
45 (run-test-lib): Pass $(TEST_HARNESS_FLAGS) to harness. Useful to
46 pass, say /labels, to nunit-console.
48 2004-11-25 Raja R Harinath <rharinath@novell.com>
50 * library.make ($(gacutil)): Fix path.
52 2004-11-23 Raja R Harinath <rharinath@novell.com>
54 * executable.make (NO_INSTALL): New option. Disables installation.
55 * library.make (NO_INSTALL): Likewise.
56 (install-local) [!NO_INSTALL, !LIBRARY_INSTALL_DIR]: Pass both
57 /gacdir and /root options to gacutil.
58 * platforms/linux.make (platform-check): Print the BOOTSTRAP_MCS
59 command that was tried, in case of failure.
60 * profiles/basic.make (NO_TEST, NO_INSTALL): Define.
61 * profiles/net_1_1_bootstrap.make: Likewise.
62 * profiles/net_2_0_bootstrap.make: Likewise.
64 2004-11-22 Raja R Harinath <rharinath@novell.com>
66 * library.make (SN): New define. Use the net_1_1_bootstrap sn.exe.
68 ($(the_lib)): Use them to sign assemblies as they're built.
69 (the_lib_signature_stamp): Remove.
71 * Makefile (DISTFILES): Distribute all the profile make-fragments.
72 (clean-local): Clean up the deps/ directory.
74 2004-11-19 Raja R Harinath <rharinath@novell.com>
76 Orchestrate the bootstrap.
77 * rules.make (INTERNAL_MCS): Look for mcs.exe in profile-specific directory.
78 * profiles/net_1_1_bootstrap.make (BOOTSTRAP_MCS): Use mcs.exe from
80 * profiles/default.make (BOOTSTRAP_MCS): Use mcs.exe from the
81 net_1_1_bootstrap profile.
82 * profiles/net_2_0_bootstrap.make (BOOTSTRAP_MCS): Use mcs.exe
84 (all-local, clean-local): New. Copy mcs.exe from default profile,
85 but customize it to work with 2.0.x libraries.
86 * profiles/net_2_0.make (BOOTSTRAP_MCS): Define approprately for
89 * executable.make (executable_CLEAN_FILES): Clean up more files.
90 ($(PROGRAM)): Move .mdb files too.
92 2004-11-18 Atsushi Enomoto <atsushi@ximian.com>
94 * library.make: Reverted the last fix. It broke windows build (that
95 should be fixed though).
97 2004-11-18 Atsushi Enomoto <atsushi@ximian.com>
99 * library.make: Some minor fix for PLATFORM_PATH_SEPARATOR.
101 2004-11-17 Raja R Harinath <rharinath@novell.com>
103 * executable.make: Improve support for building executable into a
106 2004-11-09 Raja R Harinath <rharinath@novell.com>
108 * profiles/basic.make: New.
109 * profiles/net_2_0.make (PROFILE_MCS_FLAGS): Remove '-2' flag.
110 * profiles/net_1_1_bootstrap.make (NO_SIGN_ASSEMBLY): Set.
112 2004-11-04 Raja R Harinath <rharinath@novell.com>
114 * profiles/net_1_1_bootstrap.make: New profile.
115 * profiles/net_2_0_bootstrap.make: Use in-tree mcs for
116 bootstrapping mscorlib.dll.
117 * platforms/linux.make (platform-check): Make more robust.
118 * rules.make (%-recursive): Propagate error exit from sub-makes
119 even if invoked with 'make -k'.
121 2004-10-29 Raja R Harinath <rharinath@novell.com>
123 * profiles/net_2_0_bootstrap.make (PROFILE_MCS_FLAGS): Remove
124 -langversion:default flag.
126 * rules.make (distdir): Remove.
127 (PROFILE_SUBDIRS): New. Support profile-specific SUBDIRS.
129 (dist-recursive): Define distdir here.
131 2004-10-25 Zoltan Varga <vargaz@freemail.hu>
133 * config-default.make (TEST_RUNTIME): Add TEST_MONO_PATH variable.
135 2004-09-27 Raja R Harinath <rharinath@novell.com>
137 * library.make ($(test_nunit_dep)): Make sure NUnit is built for
138 the profile being tested.
139 (nunit-$(PROFILE).stamp): Rename from nunit.stamp.
140 * config-default.make (TEST_HARNESS): Look for 'nunit-console' in
141 profile-specific directory.
143 2004-09-21 Raja R Harinath <rharinath@novell.com>
145 * profiles/net_2_0_bootstrap.make: New file.
147 * library.make (the_mdb): Fix.
148 (library_CLEAN_FILES): Add the new test results files too.
150 2004-09-14 Raja R Harinath <rharinath@novell.com>
152 * library.make (test_lib, btest_lib): Build separate test
153 assemblies for separate profiles.
154 (dist-local): Don't copy files beginning with '../'.
155 (test_sourcefile, btest_sourcefile): Define in terms of
156 $(test_lib) or $(btest_lib) only if they're overriden.
157 (test_response, test_makefrag): Remove redundant $(PROFILE) in name.
158 (run-test-lib, run-btest-lib): Unify. Give profile-specific name
160 * rules.make (dist-default): Handle any of Makefile, makefile, or
161 GNUmakefile being present.
162 * profiles/net_2_0.make (TEST_RUNTIME): Don't define.
164 2004-08-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
167 * library.make: install/clean .mdb files.
169 2004-07-30 Martin Baulig <martin@ximian.com>
171 * executable.make (EXTRA_SOURCES): New variable to add extra
172 sources to the program.
174 2004-07-30 Raja R Harinath <harinath@blr-harinath.blr.novell.com>
176 * executable.make (PROGRAM_config): New auto-detecting define.
177 Defined if $(PROGRAM).config exists.
178 (install-local): Install $(PROGRAM_config) if it exists.
180 2004-07-21 Lluis Sanchez Gual <lluis@novell.com>
182 * profiles/default.make, profiles/net_2_0.make, profiles/net_1_0.make:
183 Added FRAMEWORK_VERSION var.
185 2004-07-02 Raja R Harinath <rharinath@novell.com>
187 Support for avoiding "sharing violations" while compiling core
188 libraries with an in-tree compiler.
189 * library.make (LIBRARY_USE_INTERMEDIATE_FILE): New toggle.
190 ($(the_lib)): Use it.
192 2004-07-02 Raja R Harinath <rharinath@novell.com>
194 * rules.make (OVERRIDE_BARE_TARGETS): Remove.
195 (OVERRIDE_TARGET_ALL): New control for overriding the default all:
196 rule. If set, 'make all' will run 'all.override' from the client
198 (all): Move commands ...
199 (all.real): ... here. Make ordering assumptions explicit, and
201 (test,run-test,run-test-ondotnet,clean,install,uninstall):
203 (STD_TARGETS): ... this new variable. Make ordering assumption
204 between -recursive and -local targets explicit.
205 (%-recursive): Handle W32 GNU make that has --unix as the first
207 * README.makefiles (Special recursion needs): Update to reflect
209 * library.make (all-local): Build $(the_lib_signature_stamp) when
210 NO_SIGN_ASSEMBLY is defined.
211 ($(gacutil),$(sn)): Consolidate rules.
212 (test-local,run-test-local,run-test-ondotnet-local): Likewise.
214 2004-07-02 Raja R Harinath <rharinath@novell.com>
216 * config-default.make (TEST_RUNTIME): Use 'mono' by default.
217 * platforms/win32.make (TEST_RUNTIME): Remove.
218 * profiles/default.make (TEST_RUNTIME): Remove.
220 2004-06-28 Raja R Harinath <rharinath@novell.com>
222 * platforms/linux.make (RESGEN): Define using $(INTERNAL_RESGEN).
224 2004-06-21 Raja R Harinath <rharinath@novell.com>
226 * executable.make ($(PROGRAM)): Move depend on the makefrags ...
227 (all-local): ... here.
228 * library.make ($(the_lib), $(test_lib), $(btest_lib), all-local):
230 (LIBRARY_SNK): New default define. Allows library to be signed
231 with a key other than mono.snk.
232 ($(the_lib_signature_stamp)): New stamp file created when an
234 (install-local, uninstall-local, maybe-sign-lib): Set MONO_PATH.
236 2004-06-16 Raja R Harinath <rharinath@novell.com>
238 * library.make ($(makefrag),$(test_makefrag),$(btest_makefrag)):
239 Depend on library.make.
240 * executable.make ($(makefrag)): Depend on executable.make.
242 2004-06-16 Atsushi Enomoto <atsushi@ximian.com>
244 * library.make : Added GACDIR. Use cygpath -w on windows.
246 2004-06-14 Raja R Harinath <rharinath@novell.com>
248 * platforms/linux.make (PLATFORM_CHANGE_SEPARATOR_CMD): Define to 'cat'.
249 (PLATFORM_TWEAK_CORLIB_SOURCES): Remove.
250 (platform-check): Avoid bash-ism.
251 * library.make: Simplify uses of $(patsubst x,y,$(foo)) to $(foo:x=y).
252 (core_sourcefile): Rename back to ...
253 (sourcefile): ... this. Remove creation of redundant intermediate file.
254 (response): Change test for optimization, now that
255 PLATFORM_CHANGE_SEPARATOR_CMD is unconditional. Combine with
256 platform-exclude handling.
257 (library_CLEAN_FILES): New variable to specify clean:-able files
258 close to where they're defined.
259 (test_response, btest_response): Simplify.
260 * executable.make (response): Change test for optimization.
261 (executable_CLEAN_FILES): New define.
263 2004-06-14 Raja R Harinath <rharinath@novell.com>
265 * library.make (uninstall-local): Fix typo.
267 2004-06-11 Atsushi Enomoto <atsushi@ximian.com>
269 * library.make : HAVE_CS_TESTS fixie.
271 2004-06-11 Raja R Harinath <rharinath@novell.com>
273 * library.make (HAVE_CS_TESTS, HAVE_VB_TESTS): Allow to be
274 overriden. Useful if the tests sourcefile is generated.
275 (TEST_COMPILE, BTEST_COMPILE): Allow these to be customized too.
277 * platforms/win32.make (PLATFORM_TWEAK_CORLIB_SOURCES): Remove.
279 Support enough features to build mscorlib.dll.
280 * library.make (core_sourcefile): New renamed from $(sourcefile).
281 (PLATFORM_excludes): Auto-detecting define that sees if
282 $(LIBRARY).$(PLATFORM)-excludes file exists.
283 (sourcefile): New. Possibly-built file that removes
284 PLATFORM_excluded files from core_sourcefile.
285 (test_against, test_dep): New. Allow the test assembly to be
286 built against a different library.
287 (test_lib): Allow makefile to override the name of the test
289 (LIBRARY_INSTALL_DIR): If defined, switch to using $(INSTALL_LIB)
290 rather than $(gacutil).
291 (DISTFILES, dist-local): Use core_sourcefile.
292 (clean-local): Remove sourcefile if it was generated.
293 (test_lib, btest_lib): Depend on $(test_dep).
295 2004-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
297 * library.make: fixed PLATFORM_CHANGE_SEPARATOR_CHAR on windows.
299 2004-06-09 Sebastien Pouliot <sebastien@ximian.com>
301 * library.make: Added support to fully sign assemblies when doing a
302 "make install" (thanks to Jackson :-).
304 2004-06-09 Raja R Harinath <rharinath@novell.com>
306 Do away with stampfiles.
307 Introduce support for VB test cases.
308 * library.make (HAVE_CS_TESTS, HAVE_VB_TESTS): New auto-detecting
310 (stampfile, test_stampfile): Remove.
311 (clean-local): Don't mention them.
312 (test-local, run-test-local, run-test-ondotnet-local):
314 ($(makefrag), $(test_makefrag)): Simplify.
315 ($(btest_lib)): New. Support for VB testcases.
317 2004-06-09 Raja R Harinath <rharinath@novell.com>
319 Partial support for writing Visual Basic source files.
320 * rules.make (USE_MBAS_FLAGS,BASCOMPILE,INTERNAL_MBAS): New.
321 * config-default.make (MBAS_FLAGS, DEFAULT_MBAS_FLAGS): New.
322 * profiles/default.make (MBAS): New.
324 2004-06-09 Raja R Harinath <rharinath@novell.com>
326 Do away with stampfiles.
327 * executable.make (stampfile): Remove.
328 (clean-local): Remove mention of $(stampfile).
329 (test-local, run-test-local, run-test-ondotnet-local):
330 Make unconditional. Add dummy rule to prevent other makefiles
331 from defining rules on these.
332 ($(PROGRAM)): Depend directly on $(BUILT_SOURCES).
333 ($(makefrag)): Simplify.
335 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
337 * README.makefiles : added description for run-test-ondotnet.
339 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
341 * Makefile, executable.make, library.make, rules.make :
342 Added new target "run-test-ondotnet" that works what "run-test"
343 used to be on windows (i.e. tests our libs under MS.NET).
345 2004-06-01 Atsushi Enomoto <atsushi@ximian.com>
347 * platforms/win32.make : TEST_RUNTIME should be always mono we can't
348 test our libs against MS.NET runtime. Think about internal call).
350 2004-05-30 Jackson Harper <jackson@ximian.com>
352 * library.make: Install to 2.0 package if building with the
355 2004-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
357 * library.make: reference nunti.core.dll and nunit.util.dll when
360 2004-05-26 Raja R Harinath <rharinath@novell.com>
362 * library.make (clean-local): Add $(CLEAN_FILES) too.
364 2004-05-25 Sebastien Pouliot <sebastien@ximian.com>
366 * library.make: changed case on nunit.framework.dll (lowercase)
368 2004-05-24 Raja R Harinath <rharinath@novell.com>
370 * library.make (LIBRARY_COMPILE): New define.
371 ($(the_lib)): Use $(LIBRARY_COMPILE) to compile $(the_lib).
373 * executable.make (PROGRAM_INSTALL_DIR): Allow makefile to specify
374 a different directory for installation.
375 (install-local, uninstall-local): Use it.
377 2004-05-20 Raja R Harinath <rharinath@novell.com>
379 * profiles/default.make (TEST_RUNTIME): Look in class/lib/default
380 for library to be tested.
381 * rules.make (INTERNAL_RESGEN): New Define.
382 * library.make (run-test-local): Move commands to run-test-lib.
383 Preparartion for allowing creation of addition test dll with .vb
385 * executable.make (PROGRAM_COMPILE): New define.
386 ($(PROGRAM)): Use PROGRAM_COMPILE to compile PROGRAM.
388 2004-05-14 Jackson Harper <jackson@ximian.com>
390 * library.make: Install package files. Get params in magical
393 2004-05-11 Jackson Harper <jackson@ximian.com>
395 * platforms/linux.make:
396 * platforms/win32.make: Define a PLATFORM_PATH_SEPARATOR used for
397 separating paths in env vars. (ie MONO_PATH).
398 * profiles/net_2_0.make: Always use gmcs for building the 2.0
399 libraries. corlib is the first lib built and it will build gmcs.
401 2004-05-11 Jackson Harper <jackson@ximian.com>
403 * library.make: Allow assembly names to be different then their
406 2004-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
408 * library.make: build NUnit if we try to run 'make test' and the dll
411 2004-04-29 Jackson Harper <jackson@ximian.com>
413 * library.make: Fix uninstall
415 2004-04-29 Martin Baulig <martin@ximian.com>
417 * rules.make: Added `INTERNAL_ILASM'.
419 2004-04-29 Jackson Harper <jackson@ximian.com>
421 * library.make: Use RUNTIME instead of PLATFORM_RUNTIME for the
422 gacutil. gacutil needs to be run on our runtime. Make dependancys
425 2004-04-28 Jackson Harper <jackson@ximian.com>
427 * library.make: Use the proper runtime, make sure gacutil is
430 2004-04-28 Jackson Harper <jackson@ximian.com>
432 * library.make: Install these bad actors to the GAC.
434 2004-04-28 Raja R Harinath <rharinath@novell.com>
436 * library.make (test_flags): NUnit.Framework.dll is now in
437 class/lib/$(PROFILE).
439 2004-04-26 Jackson Harper <jackson@ximian.com>
442 * profiles/bootstrap.make:
443 * profiles/default.make: profiles are built in their ownb lib
445 * profiles/net_2_0.make: new .net 2.0 profile.
447 2004-04-22 Martin Baulig <martin@ximian.com>
449 * profiles/net_1_2.make: Removed.
450 * profiles/martin-generics.make: Remove.
452 2004-04-19 Raja R Harinath <rharinath@novell.com>
454 * rules.make (%-recursive): Honor 'make -k'.
456 2004-02-17 Martin Baulig <martin@ximian.com>
458 * profiles/generics.make: Renamed to `martin-generics.make' and
459 added a comment to the file. I'll rename this back when it's
460 ready for public use.
462 2003-12-17 Jackson Harper <jackson@ximian.com>
464 * profiles/default.make:
465 * profiles/net_1_0.make: Add ONLY_1_0 and ONLY_1_1 defines to fix
468 2003-12-08 Peter Williams <peter@newton.cx>
470 * config-default.make: Don't check for / define
471 ECHO_ESCAPE: the check isn't smart enough and
472 apparently OS X's shell somehow doesn't support
475 * library.make: Use embedded tab instead of
476 $(ECHO_ESCAPE). Fixes OS X build.
478 * executable.make: Same.
480 2003-12-05 Martin Baulig <martin@ximian.com>
482 * profiles/generics.make: Define `GENERICS'.
484 2003-12-05 Martin Baulig <martin@ximian.com>
486 * profiles/net_1_2.make: New profile; uses the .NET 1.2 API's, but
487 without generics and with mcs instead of gmcs.
489 * profiles/bootstrap.make: New profile; already use the newly
490 compiled mcs to compile corlib.
492 2003-12-04 Martin Baulig <martin@ximian.com>
494 * profiles/generics.make: Use gmcs.
496 2003-11-12 Jackson Harper <jackson@ximian.com>
499 * platforms/linux.make: corlib name is now mscorlib.
501 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
503 * profiles/generics.make: add the -2 flag.
505 2003-10-28 Jackson Harper <jackson@ximian.com>
507 * platforms/linux.make: Tell users to read INSTALL.txt not the
508 non-existant README.building.
510 2003-10-22 Dick Porter <dick@ximian.com>
512 * platforms/win32.make:
513 * platforms/linux.make:
514 * rules.make: Added RESGEN platform-specific tool.
516 2003-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
518 * config-default.make: the /nowarn arguments are now set on a per
521 2003-07-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
523 * executable.make: install-local depends on the program too.
525 2003-07-25 Peter Williams <peter@newton.cx>
527 * rules.make (run-test): Make it depend on 'test-local'
528 then 'run-test-local' after 'run-test-recursive'. This way,
529 'make run-test' from the toplevel doesn't recurse through all
530 the directories doing a make test before we run anything.
532 2003-07-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
534 * rules.make: run-test depends now on 'test'.
536 2003-07-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
538 * rules.make: set corlib to PLATFORM_CORLIB if this is defined.
540 2003-07-22 Peter Williams <peter@newton.cx>
542 * rules.make (withmcs): Add this developer utility target.
544 2003-07-20 Peter Williams <peter@newton.cx>
546 * README.platforms: Update docs for changes below.
548 * platforms/win32.make (PLATFORM_CORLIB): Set this variable
549 to 'mscorlib.dll', instead of $(corlib) which everything links
550 against. *Almost* everything should link against our corlib --
551 with the exception of corlib_cmp and corlib_res.
553 * platforms/linux.make: Same here: corlib.dll
555 * rules.make: Define $(corlib) here.
557 2003-07-20 Peter Williams <peter@newton.cx>
559 * config-default.make (TEST_RUNTIME): Use the platform runtime
560 to run tests, by default.
562 * profiles/default.make (TEST_RUNTIME): If our test runtime is
563 mono, use the --debug flag.
565 * executable.make (sourcefile): Add a basename so that we can
566 find the nunit sources and so we behave a bit more like
569 * config-default.make (TEST_HARNESS): Find nunit-console in its
572 2003-07-20 Peter Williams <peter@newton.cx>
574 * library.make ($(response)): Do a "Creating ..." line here.
576 * executable.make ($(response)): Same.
578 * config-default.make: Make warning more forceful.
580 * rules.make: Define a useful 'PLATFORM_MONO_NATIVE' that is
581 set if the platform does not have a native runtime (ie, linux).
582 Also reorder some definitions.
584 2003-07-20 Peter Williams <peter@newton.cx>
586 * Created. See ../ChangeLog for entries earlier than