1 2004-12-03 Raja R Harinath <rharinath@novell.com>
3 * library.make (gacdir_flag): New. Disable /gacdir flag if
4 RUNTIME_HAS_CONSISTENT_GACDIR flag is set.
5 (install-local): Use it.
7 2004-11-30 Raja R Harinath <rharinath@novell.com>
9 * executable.make (makefrag): Make profile-specific.
11 2004-11-26 Martin Baulig <martin@ximian.com>
13 * library.make (run-test-lib, run-test-ondotnet-lib): Added
14 `/output:TestResult-$(PROFILE).log' argument to NUnit.
16 2004-11-26 Raja R Harinath <rharinath@novell.com>
18 * library.make ($(the_lib)): Don't complain if a .mdb file wasn't
19 created (even though it's just a warning).
20 (install-local) [LIBRARY_INSTALL_DIR]: Likewise.
22 (install-local) [!LIBRARY_INSTALL_DIR]: Use $(FRAMEWORK_VERSION).
23 * executable.make ($(PROGRAM)): Likewise.
24 (install-local): Likewise.
25 (PROGRAM_INSTALL_DIR): Define Using $(FRAMEWORK_VERSION).
27 2004-11-26 Raja R Harinath <rharinath@novell.com>
29 * profiles/basic.make (real-profile-check): Prepend ./ when
30 executing basic-profile-check.exe. EXTERNAL_RUNTIME can be empty.
32 2004-11-25 Raja R Harinath <rharinath@novell.com>
34 * platforms/linux.make (EXTERNAL_MCS,EXTERNAL_MBAS,EXTERNAL_RUNTIME):
36 * platforms/win32.make: Likewise.
37 * profiles/basic.make: Use $(EXTERNAL_MCS).
38 * profiles/net_1_1_bootstrap.make: Likewise.
39 * library.make ($(the_lib)): Add support for BUILT_SOURCES.
40 (run-test-lib): Pass $(TEST_HARNESS_FLAGS) to harness. Useful to
41 pass, say /labels, to nunit-console.
43 2004-11-25 Raja R Harinath <rharinath@novell.com>
45 * library.make ($(gacutil)): Fix path.
47 2004-11-23 Raja R Harinath <rharinath@novell.com>
49 * executable.make (NO_INSTALL): New option. Disables installation.
50 * library.make (NO_INSTALL): Likewise.
51 (install-local) [!NO_INSTALL, !LIBRARY_INSTALL_DIR]: Pass both
52 /gacdir and /root options to gacutil.
53 * platforms/linux.make (platform-check): Print the BOOTSTRAP_MCS
54 command that was tried, in case of failure.
55 * profiles/basic.make (NO_TEST, NO_INSTALL): Define.
56 * profiles/net_1_1_bootstrap.make: Likewise.
57 * profiles/net_2_0_bootstrap.make: Likewise.
59 2004-11-22 Raja R Harinath <rharinath@novell.com>
61 * library.make (SN): New define. Use the net_1_1_bootstrap sn.exe.
63 ($(the_lib)): Use them to sign assemblies as they're built.
64 (the_lib_signature_stamp): Remove.
66 * Makefile (DISTFILES): Distribute all the profile make-fragments.
67 (clean-local): Clean up the deps/ directory.
69 2004-11-19 Raja R Harinath <rharinath@novell.com>
71 Orchestrate the bootstrap.
72 * rules.make (INTERNAL_MCS): Look for mcs.exe in profile-specific directory.
73 * profiles/net_1_1_bootstrap.make (BOOTSTRAP_MCS): Use mcs.exe from
75 * profiles/default.make (BOOTSTRAP_MCS): Use mcs.exe from the
76 net_1_1_bootstrap profile.
77 * profiles/net_2_0_bootstrap.make (BOOTSTRAP_MCS): Use mcs.exe
79 (all-local, clean-local): New. Copy mcs.exe from default profile,
80 but customize it to work with 2.0.x libraries.
81 * profiles/net_2_0.make (BOOTSTRAP_MCS): Define approprately for
84 * executable.make (executable_CLEAN_FILES): Clean up more files.
85 ($(PROGRAM)): Move .mdb files too.
87 2004-11-18 Atsushi Enomoto <atsushi@ximian.com>
89 * library.make: Reverted the last fix. It broke windows build (that
90 should be fixed though).
92 2004-11-18 Atsushi Enomoto <atsushi@ximian.com>
94 * library.make: Some minor fix for PLATFORM_PATH_SEPARATOR.
96 2004-11-17 Raja R Harinath <rharinath@novell.com>
98 * executable.make: Improve support for building executable into a
101 2004-11-09 Raja R Harinath <rharinath@novell.com>
103 * profiles/basic.make: New.
104 * profiles/net_2_0.make (PROFILE_MCS_FLAGS): Remove '-2' flag.
105 * profiles/net_1_1_bootstrap.make (NO_SIGN_ASSEMBLY): Set.
107 2004-11-04 Raja R Harinath <rharinath@novell.com>
109 * profiles/net_1_1_bootstrap.make: New profile.
110 * profiles/net_2_0_bootstrap.make: Use in-tree mcs for
111 bootstrapping mscorlib.dll.
112 * platforms/linux.make (platform-check): Make more robust.
113 * rules.make (%-recursive): Propagate error exit from sub-makes
114 even if invoked with 'make -k'.
116 2004-10-29 Raja R Harinath <rharinath@novell.com>
118 * profiles/net_2_0_bootstrap.make (PROFILE_MCS_FLAGS): Remove
119 -langversion:default flag.
121 * rules.make (distdir): Remove.
122 (PROFILE_SUBDIRS): New. Support profile-specific SUBDIRS.
124 (dist-recursive): Define distdir here.
126 2004-10-25 Zoltan Varga <vargaz@freemail.hu>
128 * config-default.make (TEST_RUNTIME): Add TEST_MONO_PATH variable.
130 2004-09-27 Raja R Harinath <rharinath@novell.com>
132 * library.make ($(test_nunit_dep)): Make sure NUnit is built for
133 the profile being tested.
134 (nunit-$(PROFILE).stamp): Rename from nunit.stamp.
135 * config-default.make (TEST_HARNESS): Look for 'nunit-console' in
136 profile-specific directory.
138 2004-09-21 Raja R Harinath <rharinath@novell.com>
140 * profiles/net_2_0_bootstrap.make: New file.
142 * library.make (the_mdb): Fix.
143 (library_CLEAN_FILES): Add the new test results files too.
145 2004-09-14 Raja R Harinath <rharinath@novell.com>
147 * library.make (test_lib, btest_lib): Build separate test
148 assemblies for separate profiles.
149 (dist-local): Don't copy files beginning with '../'.
150 (test_sourcefile, btest_sourcefile): Define in terms of
151 $(test_lib) or $(btest_lib) only if they're overriden.
152 (test_response, test_makefrag): Remove redundant $(PROFILE) in name.
153 (run-test-lib, run-btest-lib): Unify. Give profile-specific name
155 * rules.make (dist-default): Handle any of Makefile, makefile, or
156 GNUmakefile being present.
157 * profiles/net_2_0.make (TEST_RUNTIME): Don't define.
159 2004-08-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
162 * library.make: install/clean .mdb files.
164 2004-07-30 Martin Baulig <martin@ximian.com>
166 * executable.make (EXTRA_SOURCES): New variable to add extra
167 sources to the program.
169 2004-07-30 Raja R Harinath <harinath@blr-harinath.blr.novell.com>
171 * executable.make (PROGRAM_config): New auto-detecting define.
172 Defined if $(PROGRAM).config exists.
173 (install-local): Install $(PROGRAM_config) if it exists.
175 2004-07-21 Lluis Sanchez Gual <lluis@novell.com>
177 * profiles/default.make, profiles/net_2_0.make, profiles/net_1_0.make:
178 Added FRAMEWORK_VERSION var.
180 2004-07-02 Raja R Harinath <rharinath@novell.com>
182 Support for avoiding "sharing violations" while compiling core
183 libraries with an in-tree compiler.
184 * library.make (LIBRARY_USE_INTERMEDIATE_FILE): New toggle.
185 ($(the_lib)): Use it.
187 2004-07-02 Raja R Harinath <rharinath@novell.com>
189 * rules.make (OVERRIDE_BARE_TARGETS): Remove.
190 (OVERRIDE_TARGET_ALL): New control for overriding the default all:
191 rule. If set, 'make all' will run 'all.override' from the client
193 (all): Move commands ...
194 (all.real): ... here. Make ordering assumptions explicit, and
196 (test,run-test,run-test-ondotnet,clean,install,uninstall):
198 (STD_TARGETS): ... this new variable. Make ordering assumption
199 between -recursive and -local targets explicit.
200 (%-recursive): Handle W32 GNU make that has --unix as the first
202 * README.makefiles (Special recursion needs): Update to reflect
204 * library.make (all-local): Build $(the_lib_signature_stamp) when
205 NO_SIGN_ASSEMBLY is defined.
206 ($(gacutil),$(sn)): Consolidate rules.
207 (test-local,run-test-local,run-test-ondotnet-local): Likewise.
209 2004-07-02 Raja R Harinath <rharinath@novell.com>
211 * config-default.make (TEST_RUNTIME): Use 'mono' by default.
212 * platforms/win32.make (TEST_RUNTIME): Remove.
213 * profiles/default.make (TEST_RUNTIME): Remove.
215 2004-06-28 Raja R Harinath <rharinath@novell.com>
217 * platforms/linux.make (RESGEN): Define using $(INTERNAL_RESGEN).
219 2004-06-21 Raja R Harinath <rharinath@novell.com>
221 * executable.make ($(PROGRAM)): Move depend on the makefrags ...
222 (all-local): ... here.
223 * library.make ($(the_lib), $(test_lib), $(btest_lib), all-local):
225 (LIBRARY_SNK): New default define. Allows library to be signed
226 with a key other than mono.snk.
227 ($(the_lib_signature_stamp)): New stamp file created when an
229 (install-local, uninstall-local, maybe-sign-lib): Set MONO_PATH.
231 2004-06-16 Raja R Harinath <rharinath@novell.com>
233 * library.make ($(makefrag),$(test_makefrag),$(btest_makefrag)):
234 Depend on library.make.
235 * executable.make ($(makefrag)): Depend on executable.make.
237 2004-06-16 Atsushi Enomoto <atsushi@ximian.com>
239 * library.make : Added GACDIR. Use cygpath -w on windows.
241 2004-06-14 Raja R Harinath <rharinath@novell.com>
243 * platforms/linux.make (PLATFORM_CHANGE_SEPARATOR_CMD): Define to 'cat'.
244 (PLATFORM_TWEAK_CORLIB_SOURCES): Remove.
245 (platform-check): Avoid bash-ism.
246 * library.make: Simplify uses of $(patsubst x,y,$(foo)) to $(foo:x=y).
247 (core_sourcefile): Rename back to ...
248 (sourcefile): ... this. Remove creation of redundant intermediate file.
249 (response): Change test for optimization, now that
250 PLATFORM_CHANGE_SEPARATOR_CMD is unconditional. Combine with
251 platform-exclude handling.
252 (library_CLEAN_FILES): New variable to specify clean:-able files
253 close to where they're defined.
254 (test_response, btest_response): Simplify.
255 * executable.make (response): Change test for optimization.
256 (executable_CLEAN_FILES): New define.
258 2004-06-14 Raja R Harinath <rharinath@novell.com>
260 * library.make (uninstall-local): Fix typo.
262 2004-06-11 Atsushi Enomoto <atsushi@ximian.com>
264 * library.make : HAVE_CS_TESTS fixie.
266 2004-06-11 Raja R Harinath <rharinath@novell.com>
268 * library.make (HAVE_CS_TESTS, HAVE_VB_TESTS): Allow to be
269 overriden. Useful if the tests sourcefile is generated.
270 (TEST_COMPILE, BTEST_COMPILE): Allow these to be customized too.
272 * platforms/win32.make (PLATFORM_TWEAK_CORLIB_SOURCES): Remove.
274 Support enough features to build mscorlib.dll.
275 * library.make (core_sourcefile): New renamed from $(sourcefile).
276 (PLATFORM_excludes): Auto-detecting define that sees if
277 $(LIBRARY).$(PLATFORM)-excludes file exists.
278 (sourcefile): New. Possibly-built file that removes
279 PLATFORM_excluded files from core_sourcefile.
280 (test_against, test_dep): New. Allow the test assembly to be
281 built against a different library.
282 (test_lib): Allow makefile to override the name of the test
284 (LIBRARY_INSTALL_DIR): If defined, switch to using $(INSTALL_LIB)
285 rather than $(gacutil).
286 (DISTFILES, dist-local): Use core_sourcefile.
287 (clean-local): Remove sourcefile if it was generated.
288 (test_lib, btest_lib): Depend on $(test_dep).
290 2004-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
292 * library.make: fixed PLATFORM_CHANGE_SEPARATOR_CHAR on windows.
294 2004-06-09 Sebastien Pouliot <sebastien@ximian.com>
296 * library.make: Added support to fully sign assemblies when doing a
297 "make install" (thanks to Jackson :-).
299 2004-06-09 Raja R Harinath <rharinath@novell.com>
301 Do away with stampfiles.
302 Introduce support for VB test cases.
303 * library.make (HAVE_CS_TESTS, HAVE_VB_TESTS): New auto-detecting
305 (stampfile, test_stampfile): Remove.
306 (clean-local): Don't mention them.
307 (test-local, run-test-local, run-test-ondotnet-local):
309 ($(makefrag), $(test_makefrag)): Simplify.
310 ($(btest_lib)): New. Support for VB testcases.
312 2004-06-09 Raja R Harinath <rharinath@novell.com>
314 Partial support for writing Visual Basic source files.
315 * rules.make (USE_MBAS_FLAGS,BASCOMPILE,INTERNAL_MBAS): New.
316 * config-default.make (MBAS_FLAGS, DEFAULT_MBAS_FLAGS): New.
317 * profiles/default.make (MBAS): New.
319 2004-06-09 Raja R Harinath <rharinath@novell.com>
321 Do away with stampfiles.
322 * executable.make (stampfile): Remove.
323 (clean-local): Remove mention of $(stampfile).
324 (test-local, run-test-local, run-test-ondotnet-local):
325 Make unconditional. Add dummy rule to prevent other makefiles
326 from defining rules on these.
327 ($(PROGRAM)): Depend directly on $(BUILT_SOURCES).
328 ($(makefrag)): Simplify.
330 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
332 * README.makefiles : added description for run-test-ondotnet.
334 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
336 * Makefile, executable.make, library.make, rules.make :
337 Added new target "run-test-ondotnet" that works what "run-test"
338 used to be on windows (i.e. tests our libs under MS.NET).
340 2004-06-01 Atsushi Enomoto <atsushi@ximian.com>
342 * platforms/win32.make : TEST_RUNTIME should be always mono we can't
343 test our libs against MS.NET runtime. Think about internal call).
345 2004-05-30 Jackson Harper <jackson@ximian.com>
347 * library.make: Install to 2.0 package if building with the
350 2004-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
352 * library.make: reference nunti.core.dll and nunit.util.dll when
355 2004-05-26 Raja R Harinath <rharinath@novell.com>
357 * library.make (clean-local): Add $(CLEAN_FILES) too.
359 2004-05-25 Sebastien Pouliot <sebastien@ximian.com>
361 * library.make: changed case on nunit.framework.dll (lowercase)
363 2004-05-24 Raja R Harinath <rharinath@novell.com>
365 * library.make (LIBRARY_COMPILE): New define.
366 ($(the_lib)): Use $(LIBRARY_COMPILE) to compile $(the_lib).
368 * executable.make (PROGRAM_INSTALL_DIR): Allow makefile to specify
369 a different directory for installation.
370 (install-local, uninstall-local): Use it.
372 2004-05-20 Raja R Harinath <rharinath@novell.com>
374 * profiles/default.make (TEST_RUNTIME): Look in class/lib/default
375 for library to be tested.
376 * rules.make (INTERNAL_RESGEN): New Define.
377 * library.make (run-test-local): Move commands to run-test-lib.
378 Preparartion for allowing creation of addition test dll with .vb
380 * executable.make (PROGRAM_COMPILE): New define.
381 ($(PROGRAM)): Use PROGRAM_COMPILE to compile PROGRAM.
383 2004-05-14 Jackson Harper <jackson@ximian.com>
385 * library.make: Install package files. Get params in magical
388 2004-05-11 Jackson Harper <jackson@ximian.com>
390 * platforms/linux.make:
391 * platforms/win32.make: Define a PLATFORM_PATH_SEPARATOR used for
392 separating paths in env vars. (ie MONO_PATH).
393 * profiles/net_2_0.make: Always use gmcs for building the 2.0
394 libraries. corlib is the first lib built and it will build gmcs.
396 2004-05-11 Jackson Harper <jackson@ximian.com>
398 * library.make: Allow assembly names to be different then their
401 2004-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
403 * library.make: build NUnit if we try to run 'make test' and the dll
406 2004-04-29 Jackson Harper <jackson@ximian.com>
408 * library.make: Fix uninstall
410 2004-04-29 Martin Baulig <martin@ximian.com>
412 * rules.make: Added `INTERNAL_ILASM'.
414 2004-04-29 Jackson Harper <jackson@ximian.com>
416 * library.make: Use RUNTIME instead of PLATFORM_RUNTIME for the
417 gacutil. gacutil needs to be run on our runtime. Make dependancys
420 2004-04-28 Jackson Harper <jackson@ximian.com>
422 * library.make: Use the proper runtime, make sure gacutil is
425 2004-04-28 Jackson Harper <jackson@ximian.com>
427 * library.make: Install these bad actors to the GAC.
429 2004-04-28 Raja R Harinath <rharinath@novell.com>
431 * library.make (test_flags): NUnit.Framework.dll is now in
432 class/lib/$(PROFILE).
434 2004-04-26 Jackson Harper <jackson@ximian.com>
437 * profiles/bootstrap.make:
438 * profiles/default.make: profiles are built in their ownb lib
440 * profiles/net_2_0.make: new .net 2.0 profile.
442 2004-04-22 Martin Baulig <martin@ximian.com>
444 * profiles/net_1_2.make: Removed.
445 * profiles/martin-generics.make: Remove.
447 2004-04-19 Raja R Harinath <rharinath@novell.com>
449 * rules.make (%-recursive): Honor 'make -k'.
451 2004-02-17 Martin Baulig <martin@ximian.com>
453 * profiles/generics.make: Renamed to `martin-generics.make' and
454 added a comment to the file. I'll rename this back when it's
455 ready for public use.
457 2003-12-17 Jackson Harper <jackson@ximian.com>
459 * profiles/default.make:
460 * profiles/net_1_0.make: Add ONLY_1_0 and ONLY_1_1 defines to fix
463 2003-12-08 Peter Williams <peter@newton.cx>
465 * config-default.make: Don't check for / define
466 ECHO_ESCAPE: the check isn't smart enough and
467 apparently OS X's shell somehow doesn't support
470 * library.make: Use embedded tab instead of
471 $(ECHO_ESCAPE). Fixes OS X build.
473 * executable.make: Same.
475 2003-12-05 Martin Baulig <martin@ximian.com>
477 * profiles/generics.make: Define `GENERICS'.
479 2003-12-05 Martin Baulig <martin@ximian.com>
481 * profiles/net_1_2.make: New profile; uses the .NET 1.2 API's, but
482 without generics and with mcs instead of gmcs.
484 * profiles/bootstrap.make: New profile; already use the newly
485 compiled mcs to compile corlib.
487 2003-12-04 Martin Baulig <martin@ximian.com>
489 * profiles/generics.make: Use gmcs.
491 2003-11-12 Jackson Harper <jackson@ximian.com>
494 * platforms/linux.make: corlib name is now mscorlib.
496 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
498 * profiles/generics.make: add the -2 flag.
500 2003-10-28 Jackson Harper <jackson@ximian.com>
502 * platforms/linux.make: Tell users to read INSTALL.txt not the
503 non-existant README.building.
505 2003-10-22 Dick Porter <dick@ximian.com>
507 * platforms/win32.make:
508 * platforms/linux.make:
509 * rules.make: Added RESGEN platform-specific tool.
511 2003-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
513 * config-default.make: the /nowarn arguments are now set on a per
516 2003-07-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
518 * executable.make: install-local depends on the program too.
520 2003-07-25 Peter Williams <peter@newton.cx>
522 * rules.make (run-test): Make it depend on 'test-local'
523 then 'run-test-local' after 'run-test-recursive'. This way,
524 'make run-test' from the toplevel doesn't recurse through all
525 the directories doing a make test before we run anything.
527 2003-07-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
529 * rules.make: run-test depends now on 'test'.
531 2003-07-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
533 * rules.make: set corlib to PLATFORM_CORLIB if this is defined.
535 2003-07-22 Peter Williams <peter@newton.cx>
537 * rules.make (withmcs): Add this developer utility target.
539 2003-07-20 Peter Williams <peter@newton.cx>
541 * README.platforms: Update docs for changes below.
543 * platforms/win32.make (PLATFORM_CORLIB): Set this variable
544 to 'mscorlib.dll', instead of $(corlib) which everything links
545 against. *Almost* everything should link against our corlib --
546 with the exception of corlib_cmp and corlib_res.
548 * platforms/linux.make: Same here: corlib.dll
550 * rules.make: Define $(corlib) here.
552 2003-07-20 Peter Williams <peter@newton.cx>
554 * config-default.make (TEST_RUNTIME): Use the platform runtime
555 to run tests, by default.
557 * profiles/default.make (TEST_RUNTIME): If our test runtime is
558 mono, use the --debug flag.
560 * executable.make (sourcefile): Add a basename so that we can
561 find the nunit sources and so we behave a bit more like
564 * config-default.make (TEST_HARNESS): Find nunit-console in its
567 2003-07-20 Peter Williams <peter@newton.cx>
569 * library.make ($(response)): Do a "Creating ..." line here.
571 * executable.make ($(response)): Same.
573 * config-default.make: Make warning more forceful.
575 * rules.make: Define a useful 'PLATFORM_MONO_NATIVE' that is
576 set if the platform does not have a native runtime (ie, linux).
577 Also reorder some definitions.
579 2003-07-20 Peter Williams <peter@newton.cx>
581 * Created. See ../ChangeLog for entries earlier than