1 2004-11-26 Martin Baulig <martin@ximian.com>
3 * library.make (run-test-lib, run-test-ondotnet-lib): Added
4 `/output:TestResult-$(PROFILE).log' argument to NUnit.
6 2004-11-26 Raja R Harinath <rharinath@novell.com>
8 * library.make ($(the_lib)): Don't complain if a .mdb file wasn't
9 created (even though it's just a warning).
10 (install-local) [LIBRARY_INSTALL_DIR]: Likewise.
12 (install-local) [!LIBRARY_INSTALL_DIR]: Use $(FRAMEWORK_VERSION).
13 * executable.make ($(PROGRAM)): Likewise.
14 (install-local): Likewise.
15 (PROGRAM_INSTALL_DIR): Define Using $(FRAMEWORK_VERSION).
17 2004-11-26 Raja R Harinath <rharinath@novell.com>
19 * profiles/basic.make (real-profile-check): Prepend ./ when
20 executing basic-profile-check.exe. EXTERNAL_RUNTIME can be empty.
22 2004-11-25 Raja R Harinath <rharinath@novell.com>
24 * platforms/linux.make (EXTERNAL_MCS,EXTERNAL_MBAS,EXTERNAL_RUNTIME):
26 * platforms/win32.make: Likewise.
27 * profiles/basic.make: Use $(EXTERNAL_MCS).
28 * profiles/net_1_1_bootstrap.make: Likewise.
29 * library.make ($(the_lib)): Add support for BUILT_SOURCES.
30 (run-test-lib): Pass $(TEST_HARNESS_FLAGS) to harness. Useful to
31 pass, say /labels, to nunit-console.
33 2004-11-25 Raja R Harinath <rharinath@novell.com>
35 * library.make ($(gacutil)): Fix path.
37 2004-11-23 Raja R Harinath <rharinath@novell.com>
39 * executable.make (NO_INSTALL): New option. Disables installation.
40 * library.make (NO_INSTALL): Likewise.
41 (install-local) [!NO_INSTALL, !LIBRARY_INSTALL_DIR]: Pass both
42 /gacdir and /root options to gacutil.
43 * platforms/linux.make (platform-check): Print the BOOTSTRAP_MCS
44 command that was tried, in case of failure.
45 * profiles/basic.make (NO_TEST, NO_INSTALL): Define.
46 * profiles/net_1_1_bootstrap.make: Likewise.
47 * profiles/net_2_0_bootstrap.make: Likewise.
49 2004-11-22 Raja R Harinath <rharinath@novell.com>
51 * library.make (SN): New define. Use the net_1_1_bootstrap sn.exe.
53 ($(the_lib)): Use them to sign assemblies as they're built.
54 (the_lib_signature_stamp): Remove.
56 * Makefile (DISTFILES): Distribute all the profile make-fragments.
57 (clean-local): Clean up the deps/ directory.
59 2004-11-19 Raja R Harinath <rharinath@novell.com>
61 Orchestrate the bootstrap.
62 * rules.make (INTERNAL_MCS): Look for mcs.exe in profile-specific directory.
63 * profiles/net_1_1_bootstrap.make (BOOTSTRAP_MCS): Use mcs.exe from
65 * profiles/default.make (BOOTSTRAP_MCS): Use mcs.exe from the
66 net_1_1_bootstrap profile.
67 * profiles/net_2_0_bootstrap.make (BOOTSTRAP_MCS): Use mcs.exe
69 (all-local, clean-local): New. Copy mcs.exe from default profile,
70 but customize it to work with 2.0.x libraries.
71 * profiles/net_2_0.make (BOOTSTRAP_MCS): Define approprately for
74 * executable.make (executable_CLEAN_FILES): Clean up more files.
75 ($(PROGRAM)): Move .mdb files too.
77 2004-11-18 Atsushi Enomoto <atsushi@ximian.com>
79 * library.make: Reverted the last fix. It broke windows build (that
80 should be fixed though).
82 2004-11-18 Atsushi Enomoto <atsushi@ximian.com>
84 * library.make: Some minor fix for PLATFORM_PATH_SEPARATOR.
86 2004-11-17 Raja R Harinath <rharinath@novell.com>
88 * executable.make: Improve support for building executable into a
91 2004-11-09 Raja R Harinath <rharinath@novell.com>
93 * profiles/basic.make: New.
94 * profiles/net_2_0.make (PROFILE_MCS_FLAGS): Remove '-2' flag.
95 * profiles/net_1_1_bootstrap.make (NO_SIGN_ASSEMBLY): Set.
97 2004-11-04 Raja R Harinath <rharinath@novell.com>
99 * profiles/net_1_1_bootstrap.make: New profile.
100 * profiles/net_2_0_bootstrap.make: Use in-tree mcs for
101 bootstrapping mscorlib.dll.
102 * platforms/linux.make (platform-check): Make more robust.
103 * rules.make (%-recursive): Propagate error exit from sub-makes
104 even if invoked with 'make -k'.
106 2004-10-29 Raja R Harinath <rharinath@novell.com>
108 * profiles/net_2_0_bootstrap.make (PROFILE_MCS_FLAGS): Remove
109 -langversion:default flag.
111 * rules.make (distdir): Remove.
112 (PROFILE_SUBDIRS): New. Support profile-specific SUBDIRS.
114 (dist-recursive): Define distdir here.
116 2004-10-25 Zoltan Varga <vargaz@freemail.hu>
118 * config-default.make (TEST_RUNTIME): Add TEST_MONO_PATH variable.
120 2004-09-27 Raja R Harinath <rharinath@novell.com>
122 * library.make ($(test_nunit_dep)): Make sure NUnit is built for
123 the profile being tested.
124 (nunit-$(PROFILE).stamp): Rename from nunit.stamp.
125 * config-default.make (TEST_HARNESS): Look for 'nunit-console' in
126 profile-specific directory.
128 2004-09-21 Raja R Harinath <rharinath@novell.com>
130 * profiles/net_2_0_bootstrap.make: New file.
132 * library.make (the_mdb): Fix.
133 (library_CLEAN_FILES): Add the new test results files too.
135 2004-09-14 Raja R Harinath <rharinath@novell.com>
137 * library.make (test_lib, btest_lib): Build separate test
138 assemblies for separate profiles.
139 (dist-local): Don't copy files beginning with '../'.
140 (test_sourcefile, btest_sourcefile): Define in terms of
141 $(test_lib) or $(btest_lib) only if they're overriden.
142 (test_response, test_makefrag): Remove redundant $(PROFILE) in name.
143 (run-test-lib, run-btest-lib): Unify. Give profile-specific name
145 * rules.make (dist-default): Handle any of Makefile, makefile, or
146 GNUmakefile being present.
147 * profiles/net_2_0.make (TEST_RUNTIME): Don't define.
149 2004-08-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
152 * library.make: install/clean .mdb files.
154 2004-07-30 Martin Baulig <martin@ximian.com>
156 * executable.make (EXTRA_SOURCES): New variable to add extra
157 sources to the program.
159 2004-07-30 Raja R Harinath <harinath@blr-harinath.blr.novell.com>
161 * executable.make (PROGRAM_config): New auto-detecting define.
162 Defined if $(PROGRAM).config exists.
163 (install-local): Install $(PROGRAM_config) if it exists.
165 2004-07-21 Lluis Sanchez Gual <lluis@novell.com>
167 * profiles/default.make, profiles/net_2_0.make, profiles/net_1_0.make:
168 Added FRAMEWORK_VERSION var.
170 2004-07-02 Raja R Harinath <rharinath@novell.com>
172 Support for avoiding "sharing violations" while compiling core
173 libraries with an in-tree compiler.
174 * library.make (LIBRARY_USE_INTERMEDIATE_FILE): New toggle.
175 ($(the_lib)): Use it.
177 2004-07-02 Raja R Harinath <rharinath@novell.com>
179 * rules.make (OVERRIDE_BARE_TARGETS): Remove.
180 (OVERRIDE_TARGET_ALL): New control for overriding the default all:
181 rule. If set, 'make all' will run 'all.override' from the client
183 (all): Move commands ...
184 (all.real): ... here. Make ordering assumptions explicit, and
186 (test,run-test,run-test-ondotnet,clean,install,uninstall):
188 (STD_TARGETS): ... this new variable. Make ordering assumption
189 between -recursive and -local targets explicit.
190 (%-recursive): Handle W32 GNU make that has --unix as the first
192 * README.makefiles (Special recursion needs): Update to reflect
194 * library.make (all-local): Build $(the_lib_signature_stamp) when
195 NO_SIGN_ASSEMBLY is defined.
196 ($(gacutil),$(sn)): Consolidate rules.
197 (test-local,run-test-local,run-test-ondotnet-local): Likewise.
199 2004-07-02 Raja R Harinath <rharinath@novell.com>
201 * config-default.make (TEST_RUNTIME): Use 'mono' by default.
202 * platforms/win32.make (TEST_RUNTIME): Remove.
203 * profiles/default.make (TEST_RUNTIME): Remove.
205 2004-06-28 Raja R Harinath <rharinath@novell.com>
207 * platforms/linux.make (RESGEN): Define using $(INTERNAL_RESGEN).
209 2004-06-21 Raja R Harinath <rharinath@novell.com>
211 * executable.make ($(PROGRAM)): Move depend on the makefrags ...
212 (all-local): ... here.
213 * library.make ($(the_lib), $(test_lib), $(btest_lib), all-local):
215 (LIBRARY_SNK): New default define. Allows library to be signed
216 with a key other than mono.snk.
217 ($(the_lib_signature_stamp)): New stamp file created when an
219 (install-local, uninstall-local, maybe-sign-lib): Set MONO_PATH.
221 2004-06-16 Raja R Harinath <rharinath@novell.com>
223 * library.make ($(makefrag),$(test_makefrag),$(btest_makefrag)):
224 Depend on library.make.
225 * executable.make ($(makefrag)): Depend on executable.make.
227 2004-06-16 Atsushi Enomoto <atsushi@ximian.com>
229 * library.make : Added GACDIR. Use cygpath -w on windows.
231 2004-06-14 Raja R Harinath <rharinath@novell.com>
233 * platforms/linux.make (PLATFORM_CHANGE_SEPARATOR_CMD): Define to 'cat'.
234 (PLATFORM_TWEAK_CORLIB_SOURCES): Remove.
235 (platform-check): Avoid bash-ism.
236 * library.make: Simplify uses of $(patsubst x,y,$(foo)) to $(foo:x=y).
237 (core_sourcefile): Rename back to ...
238 (sourcefile): ... this. Remove creation of redundant intermediate file.
239 (response): Change test for optimization, now that
240 PLATFORM_CHANGE_SEPARATOR_CMD is unconditional. Combine with
241 platform-exclude handling.
242 (library_CLEAN_FILES): New variable to specify clean:-able files
243 close to where they're defined.
244 (test_response, btest_response): Simplify.
245 * executable.make (response): Change test for optimization.
246 (executable_CLEAN_FILES): New define.
248 2004-06-14 Raja R Harinath <rharinath@novell.com>
250 * library.make (uninstall-local): Fix typo.
252 2004-06-11 Atsushi Enomoto <atsushi@ximian.com>
254 * library.make : HAVE_CS_TESTS fixie.
256 2004-06-11 Raja R Harinath <rharinath@novell.com>
258 * library.make (HAVE_CS_TESTS, HAVE_VB_TESTS): Allow to be
259 overriden. Useful if the tests sourcefile is generated.
260 (TEST_COMPILE, BTEST_COMPILE): Allow these to be customized too.
262 * platforms/win32.make (PLATFORM_TWEAK_CORLIB_SOURCES): Remove.
264 Support enough features to build mscorlib.dll.
265 * library.make (core_sourcefile): New renamed from $(sourcefile).
266 (PLATFORM_excludes): Auto-detecting define that sees if
267 $(LIBRARY).$(PLATFORM)-excludes file exists.
268 (sourcefile): New. Possibly-built file that removes
269 PLATFORM_excluded files from core_sourcefile.
270 (test_against, test_dep): New. Allow the test assembly to be
271 built against a different library.
272 (test_lib): Allow makefile to override the name of the test
274 (LIBRARY_INSTALL_DIR): If defined, switch to using $(INSTALL_LIB)
275 rather than $(gacutil).
276 (DISTFILES, dist-local): Use core_sourcefile.
277 (clean-local): Remove sourcefile if it was generated.
278 (test_lib, btest_lib): Depend on $(test_dep).
280 2004-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
282 * library.make: fixed PLATFORM_CHANGE_SEPARATOR_CHAR on windows.
284 2004-06-09 Sebastien Pouliot <sebastien@ximian.com>
286 * library.make: Added support to fully sign assemblies when doing a
287 "make install" (thanks to Jackson :-).
289 2004-06-09 Raja R Harinath <rharinath@novell.com>
291 Do away with stampfiles.
292 Introduce support for VB test cases.
293 * library.make (HAVE_CS_TESTS, HAVE_VB_TESTS): New auto-detecting
295 (stampfile, test_stampfile): Remove.
296 (clean-local): Don't mention them.
297 (test-local, run-test-local, run-test-ondotnet-local):
299 ($(makefrag), $(test_makefrag)): Simplify.
300 ($(btest_lib)): New. Support for VB testcases.
302 2004-06-09 Raja R Harinath <rharinath@novell.com>
304 Partial support for writing Visual Basic source files.
305 * rules.make (USE_MBAS_FLAGS,BASCOMPILE,INTERNAL_MBAS): New.
306 * config-default.make (MBAS_FLAGS, DEFAULT_MBAS_FLAGS): New.
307 * profiles/default.make (MBAS): New.
309 2004-06-09 Raja R Harinath <rharinath@novell.com>
311 Do away with stampfiles.
312 * executable.make (stampfile): Remove.
313 (clean-local): Remove mention of $(stampfile).
314 (test-local, run-test-local, run-test-ondotnet-local):
315 Make unconditional. Add dummy rule to prevent other makefiles
316 from defining rules on these.
317 ($(PROGRAM)): Depend directly on $(BUILT_SOURCES).
318 ($(makefrag)): Simplify.
320 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
322 * README.makefiles : added description for run-test-ondotnet.
324 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
326 * Makefile, executable.make, library.make, rules.make :
327 Added new target "run-test-ondotnet" that works what "run-test"
328 used to be on windows (i.e. tests our libs under MS.NET).
330 2004-06-01 Atsushi Enomoto <atsushi@ximian.com>
332 * platforms/win32.make : TEST_RUNTIME should be always mono we can't
333 test our libs against MS.NET runtime. Think about internal call).
335 2004-05-30 Jackson Harper <jackson@ximian.com>
337 * library.make: Install to 2.0 package if building with the
340 2004-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
342 * library.make: reference nunti.core.dll and nunit.util.dll when
345 2004-05-26 Raja R Harinath <rharinath@novell.com>
347 * library.make (clean-local): Add $(CLEAN_FILES) too.
349 2004-05-25 Sebastien Pouliot <sebastien@ximian.com>
351 * library.make: changed case on nunit.framework.dll (lowercase)
353 2004-05-24 Raja R Harinath <rharinath@novell.com>
355 * library.make (LIBRARY_COMPILE): New define.
356 ($(the_lib)): Use $(LIBRARY_COMPILE) to compile $(the_lib).
358 * executable.make (PROGRAM_INSTALL_DIR): Allow makefile to specify
359 a different directory for installation.
360 (install-local, uninstall-local): Use it.
362 2004-05-20 Raja R Harinath <rharinath@novell.com>
364 * profiles/default.make (TEST_RUNTIME): Look in class/lib/default
365 for library to be tested.
366 * rules.make (INTERNAL_RESGEN): New Define.
367 * library.make (run-test-local): Move commands to run-test-lib.
368 Preparartion for allowing creation of addition test dll with .vb
370 * executable.make (PROGRAM_COMPILE): New define.
371 ($(PROGRAM)): Use PROGRAM_COMPILE to compile PROGRAM.
373 2004-05-14 Jackson Harper <jackson@ximian.com>
375 * library.make: Install package files. Get params in magical
378 2004-05-11 Jackson Harper <jackson@ximian.com>
380 * platforms/linux.make:
381 * platforms/win32.make: Define a PLATFORM_PATH_SEPARATOR used for
382 separating paths in env vars. (ie MONO_PATH).
383 * profiles/net_2_0.make: Always use gmcs for building the 2.0
384 libraries. corlib is the first lib built and it will build gmcs.
386 2004-05-11 Jackson Harper <jackson@ximian.com>
388 * library.make: Allow assembly names to be different then their
391 2004-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
393 * library.make: build NUnit if we try to run 'make test' and the dll
396 2004-04-29 Jackson Harper <jackson@ximian.com>
398 * library.make: Fix uninstall
400 2004-04-29 Martin Baulig <martin@ximian.com>
402 * rules.make: Added `INTERNAL_ILASM'.
404 2004-04-29 Jackson Harper <jackson@ximian.com>
406 * library.make: Use RUNTIME instead of PLATFORM_RUNTIME for the
407 gacutil. gacutil needs to be run on our runtime. Make dependancys
410 2004-04-28 Jackson Harper <jackson@ximian.com>
412 * library.make: Use the proper runtime, make sure gacutil is
415 2004-04-28 Jackson Harper <jackson@ximian.com>
417 * library.make: Install these bad actors to the GAC.
419 2004-04-28 Raja R Harinath <rharinath@novell.com>
421 * library.make (test_flags): NUnit.Framework.dll is now in
422 class/lib/$(PROFILE).
424 2004-04-26 Jackson Harper <jackson@ximian.com>
427 * profiles/bootstrap.make:
428 * profiles/default.make: profiles are built in their ownb lib
430 * profiles/net_2_0.make: new .net 2.0 profile.
432 2004-04-22 Martin Baulig <martin@ximian.com>
434 * profiles/net_1_2.make: Removed.
435 * profiles/martin-generics.make: Remove.
437 2004-04-19 Raja R Harinath <rharinath@novell.com>
439 * rules.make (%-recursive): Honor 'make -k'.
441 2004-02-17 Martin Baulig <martin@ximian.com>
443 * profiles/generics.make: Renamed to `martin-generics.make' and
444 added a comment to the file. I'll rename this back when it's
445 ready for public use.
447 2003-12-17 Jackson Harper <jackson@ximian.com>
449 * profiles/default.make:
450 * profiles/net_1_0.make: Add ONLY_1_0 and ONLY_1_1 defines to fix
453 2003-12-08 Peter Williams <peter@newton.cx>
455 * config-default.make: Don't check for / define
456 ECHO_ESCAPE: the check isn't smart enough and
457 apparently OS X's shell somehow doesn't support
460 * library.make: Use embedded tab instead of
461 $(ECHO_ESCAPE). Fixes OS X build.
463 * executable.make: Same.
465 2003-12-05 Martin Baulig <martin@ximian.com>
467 * profiles/generics.make: Define `GENERICS'.
469 2003-12-05 Martin Baulig <martin@ximian.com>
471 * profiles/net_1_2.make: New profile; uses the .NET 1.2 API's, but
472 without generics and with mcs instead of gmcs.
474 * profiles/bootstrap.make: New profile; already use the newly
475 compiled mcs to compile corlib.
477 2003-12-04 Martin Baulig <martin@ximian.com>
479 * profiles/generics.make: Use gmcs.
481 2003-11-12 Jackson Harper <jackson@ximian.com>
484 * platforms/linux.make: corlib name is now mscorlib.
486 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
488 * profiles/generics.make: add the -2 flag.
490 2003-10-28 Jackson Harper <jackson@ximian.com>
492 * platforms/linux.make: Tell users to read INSTALL.txt not the
493 non-existant README.building.
495 2003-10-22 Dick Porter <dick@ximian.com>
497 * platforms/win32.make:
498 * platforms/linux.make:
499 * rules.make: Added RESGEN platform-specific tool.
501 2003-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
503 * config-default.make: the /nowarn arguments are now set on a per
506 2003-07-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
508 * executable.make: install-local depends on the program too.
510 2003-07-25 Peter Williams <peter@newton.cx>
512 * rules.make (run-test): Make it depend on 'test-local'
513 then 'run-test-local' after 'run-test-recursive'. This way,
514 'make run-test' from the toplevel doesn't recurse through all
515 the directories doing a make test before we run anything.
517 2003-07-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
519 * rules.make: run-test depends now on 'test'.
521 2003-07-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
523 * rules.make: set corlib to PLATFORM_CORLIB if this is defined.
525 2003-07-22 Peter Williams <peter@newton.cx>
527 * rules.make (withmcs): Add this developer utility target.
529 2003-07-20 Peter Williams <peter@newton.cx>
531 * README.platforms: Update docs for changes below.
533 * platforms/win32.make (PLATFORM_CORLIB): Set this variable
534 to 'mscorlib.dll', instead of $(corlib) which everything links
535 against. *Almost* everything should link against our corlib --
536 with the exception of corlib_cmp and corlib_res.
538 * platforms/linux.make: Same here: corlib.dll
540 * rules.make: Define $(corlib) here.
542 2003-07-20 Peter Williams <peter@newton.cx>
544 * config-default.make (TEST_RUNTIME): Use the platform runtime
545 to run tests, by default.
547 * profiles/default.make (TEST_RUNTIME): If our test runtime is
548 mono, use the --debug flag.
550 * executable.make (sourcefile): Add a basename so that we can
551 find the nunit sources and so we behave a bit more like
554 * config-default.make (TEST_HARNESS): Find nunit-console in its
557 2003-07-20 Peter Williams <peter@newton.cx>
559 * library.make ($(response)): Do a "Creating ..." line here.
561 * executable.make ($(response)): Same.
563 * config-default.make: Make warning more forceful.
565 * rules.make: Define a useful 'PLATFORM_MONO_NATIVE' that is
566 set if the platform does not have a native runtime (ie, linux).
567 Also reorder some definitions.
569 2003-07-20 Peter Williams <peter@newton.cx>
571 * Created. See ../ChangeLog for entries earlier than