212368234520e0823b01700e6b9aa5266722b230
[mono.git] / mcs / build / ChangeLog
1 2008-02-18  Raja R Harinath  <harinath@hurrynot.org>
2
3         * rules.make (%/.stamp): Unify all directory creation targets here.
4
5 2008-02-17  Raja R Harinath  <harinath@hurrynot.org>
6
7         * profiles/net_2_1_bootstrap.make: New.
8         * profiles/net_2_1_raw.make: New.  The untuned 2.1 profile.
9         * profiles/net_2_1.make: New.  The tuned 2.1 profile.
10         * Makefile (PROFILES): Update.
11
12 2007-12-06  Atsushi Enomoto  <atsushi@ximian.com>
13
14         * profiles/net_3_5.make : fixed net_2_0 path.
15
16 2007-12-03  Marek Safar  <marek.safar@gmail.com>
17
18         * Makefile.make: Distribute 3.5 profile
19         
20 2007-11-08  Wade Berrier  <wberrier@novell.com>
21
22         * config-default.make: add sysconfdir dir (for mconfig/config.xml)
23
24 2007-11-01  Marek Safar  <marek.safar@gmail.com>
25
26         * corcompare.make: Build corcompare into same directory.
27         
28 2007-10-27  Marek Safar  <marek.safar@gmail.com>
29
30         * profiles/net_2_0_bootstrap.make: Fixed generics compiler name.
31         
32 2007-10-27  Marek Safar  <marek.safar@gmail.com>
33
34         * rules.make: Changed gmcs location.
35         
36 2007-10-27  Marek Safar  <marek.safar@gmail.com>
37
38         * executable.make: Added KEEP_OUTPUT_FILE_COPY to avoid move and copy
39         back compiler executables.
40
41 2007-09-21  Raja R Harinath  <harinath@gmail.com>
42
43         * Makefile (PROFILES): Remove 'atomic' profiles.
44         * profiles/atomic.make, profiles/bootstrap.make: Remove.
45
46 2007-09-04  Wade Berrier  <wberrier@novell.com>
47
48         * library.make: Glob for .sources for all profiles.
49         Use tools/removecomments.sh to account for '#include' and
50         comments, which are only used in the jvm profile at this point
51
52 2007-09-01  Jb Evain  <jbevain@novell.com>
53
54         * Makefile: consider the net_2_1 profile.
55
56 2007-08-12  Marek Safar  <marek.safar@gmail.com>
57
58         * library.make: Includes new `corcompare' target.
59         
60         * corcompare.make: I got tired of hacking corcompare stuff again and
61         again.
62         
63 2007-08-11  Jb Evain  <jbevain@novell.com>
64
65         * profiles/net_2_1: allow 2.1 assemblies in the GAC.
66
67 2007-07-27  Jb Evain  <jbevain@novell.com>
68
69         * profiles/net_2_1: use smcs to compile the .net 2.1 assemblies.
70
71 2007-07-23  Raja R Harinath  <rharinath@novell.com>
72
73         * library.make (install-local) [GAC]: If LIBRARY_PACKAGE is set to
74         'none' don't install a symlink from a package directory into the gac.
75
76 2007-07-11  Jb Evain  <jbevain@novell.com>
77
78         * profiles/net_2_1.make: work on the 2_1 profile.
79
80 2007-06-12  Marek Safar  <marek.safar@gmail.com>
81
82         * rules.make: Added FRAMEWORK_VERSION_MAJOR.
83
84 2007-05-11  Raja R Harinath  <rharinath@novell.com>
85
86         * Makefile (dist-local): Remove special-case code.
87         * rules.make ($(depsdir)): New rule to create the dependencies
88         directory on demand.
89         * library.make, executable.make: Make generated files depend on
90         $(depsdir).
91         * profiles/basic.make: Likewise.
92
93         * profiles/net_2_0_bootstrap.make: Move rules for mcs.exe to
94         mcs/Makefile.
95         * library.make (the_libdir, build_libdir): New.  Create these
96         directories on demand instead of worrying about keeping the list
97         of profiles uptodate.
98         * executable.make (prog_dir): Likewise.
99
100 2007-03-17  Marek Sieradzki  <marek.sieradzki@gmail.com>
101
102         * library.make: Show correct log (TestResult-ondotnet-PROFILE...) for
103         make run-test-ondotnet.
104
105 Fri Nov 24 18:38:31 CET 2006 Paolo Molaro <lupus@ximian.com>
106
107         * library.make: added ability to pass flags to the mono runtime when
108         running the test suite.
109
110 2006-09-06  Kornél Pál  <kornelpal@gmail.com>
111
112         * TestConfiguration.cs: Moved to Npgsql.
113
114 2006-09-05  Kornél Pál  <kornelpal@hotmail.com>
115
116         * config-default.make: Use UTF-8 as the default encoding for compilers.
117
118 2006-09-04  Raja R Harinath  <rharinath@novell.com>
119
120         * library.make (TEST_HARNESS_VERBOSE): New user toggle.  If
121         defined, NUnit will print the names of the unit tests as they are
122         run.  Can be used to narrow down infloops.
123         (TEST_HARNESS_EXCLUDE): Provide a way to override the list of
124         excluded unit test categories.
125
126 2006-04-11  Raja R Harinath  <rharinath@novell.com>
127
128         * profiles/default.make (BOOTSTRAP_PROFILE): Define.
129         * profiles/net_2_0.make (BOOTSTRAP_PROFILE): Define.
130         * rules.make (INTERNAL_RESGEN): Pick from bootstrap profile.
131
132 2006-01-19  Raja R Harinath  <rharinath@novell.com>
133
134         * library.make (test_lib): Don't allow to be overridden.
135         (test_against, test_dep): Remove.
136
137 2006-01-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
138
139         * executable.make: allow installing a different .config file for
140         executables such as nunit-console.exe that should use a different one
141         depending on the profile.
142
143 2006-01-05  Raja R Harinath  <rharinath@novell.com>
144
145         * library.make (run-test-lib, run-test-ondotnet-lib): Workaround a
146         sed limitation when printing the testsuite log.
147
148 2005-12-22  Raja R Harinath  <rharinath@novell.com>
149
150         * library.make (lib_dir): Define to 'compat' if LIBRARY_COMPAT is
151         defined, 'lib' otherwise.
152         (the_lib): Use it to decide where to place the output library.
153         (LIBRARY_PACKAGE): New define.  Install development symlinks for
154         compat libraries in a different directory.
155
156 2005-12-03  Kornél Pál  <kornelpal@hotmail.com>
157
158         * config-default.make: Corrected default CODEPAGE comment to ISO-8859-1
159           (Latin 1).
160
161 2005-11-22  Vladislav Spivak <spivak@mainsoft.com>
162         * Missed dependency. 
163         <profile>.sources file is supporting #include directive
164         Usually it includes common .sources file.
165         Let's make it dependency of <profile>.sources
166
167 2005-10-03  Raja R Harinath  <rharinath@novell.com>
168
169         * profiles/basic.make (monolite_flag, use_monolite): New.  Used to
170         determine if we need to compile with 'monolite' rather than with
171         an external mcs.
172         (do-profile-check): Simplify.  Remove corlib version testing
173         scripts.  Delegate that work to the mono runtime itself.  Split
174         off 'monolite' handling into ...
175         (do-profile-check-monolite): ... this.
176
177 2005-09-27  Kornél Pál  <kornelpal@hotmail.com>
178
179         * config-default.make: Added CODEPAGE that is the default encoding used by
180           compilers.
181         * rules.make (USE_MCS_FLAGS, USE_MBAS_FLAGS): Added /codepage.
182
183 2005-09-22  Raja R Harinath  <rharinath@novell.com>
184
185         * Makefile (BUILT_FILES): New.
186         (all-local ...): Depend on them.
187         (clean-local): Relete them.
188         (common/Consts.cs): New rule.
189         (COMMON_SRCS): Don't distribute common/Consts.cs.
190
191 2005-09-12  Raja R Harinath  <rharinath@novell.com>
192
193         * profiles/basic.make (do-profile-check): Quote sed expression.
194
195 2005-09-06  Raja R Harinath  <rharinath@novell.com>
196
197         * profiles/net_1_1_bootstrap.make: Remove special-handling on Win32.
198         * profiles/default.make: Likewise.
199
200 2005-08-26  Kornél Pál  <kornelpal@hotmail.com>
201
202         * Makefile: Added Consts.cs.in. Removed MonoVersion.cs.
203
204 2005-08-23  Raja R Harinath  <rharinath@novell.com>
205
206         * profiles/basic.make (do-profile-check): Set MONO_PATH to
207         monolite directory when running disassembler.
208
209 2005-08-22  Raja R Harinath  <rharinath@novell.com>
210
211         * Makefile (DISTFILES): Move files in common/ to ...
212         (COMMON_SRCS): ... this.  Add Consts.cs, MonoVersion.cs and
213         TestConfiguration.cs.
214
215 2005-08-19  Raja R Harinath  <rharinath@novell.com>
216
217         * profiles/basic.make (do-profile-check): Add some debugging output.
218         Handle disassemblers that print corlib version in hex.
219
220 2005-07-26  Raja R Harinath  <rharinath@novell.com>
221
222         * executable.make, library.make: Use unix-style commandline options.
223         * profiles/basic.make (FRAMEWORK_VERSION): Set.
224         * profiles/net_1_1_bootstrap.make (FRAMEWORK_VERSION): Likewise.
225
226 2005-07-22  Raja R Harinath  <rharinath@novell.com>
227
228         * profiles/basic.make (do-profile-check): Make the "silent"
229         compilation check even more silent.  Refuse to use monolite if the
230         corlib version of monolite/mscorlib.dll doesn't match the corlib
231         version of the source.
232
233 2005-06-15  Raja R Harinath  <rharinath@novell.com>
234
235         * executable.make (dist-local): Copy from library.make.
236
237 2005-05-23  Raja R Harinath  <rharinath@novell.com>
238
239         * rules.make (STD_TARGETS): Make them all go through an
240         indirection.
241         (all): Indirect through do-all.
242         (all.real): Remove.
243         (do-%): New pattern fallback.  Performs the standard behaviour:
244         %-recursive, and then %-local.
245         (do-run-test): New.  Make '-k' more useful.
246         Reported by Ritvik Mayank.
247
248 2005-05-10  Raja R Harinath  <rharinath@novell.com>
249
250         * library.make (dist-fixup): Fix typo.
251
252 2005-05-06  Raja R Harinath  <rharinath@novell.com>
253
254         * library.make (LIBRARY_NEEDS_PREPROCESSING): New control.
255         (build_lib): Name of library built.  Default to $(the_lib) unless
256         preprocessing.
257         ($(build_lib)): Rename from '$(the_lib)'.
258         ($(makefrag)): Emit dependencies on $(build_lib).
259
260 2005-05-04  Zoltan Varga  <vargaz@freemail.hu>
261
262         * rules.make config-default.make: Use the install-sh script from the mono
263         directory by default.
264
265 2005-04-29  Ben Maurer  <bmaurer@ximian.com>
266
267         * profiles/basic.make: The test for mcs was broken on jails where
268         we got a warning due to /proc not being mounted. Remove hackish wc
269         usage.
270
271 2005-04-25  Raja R Harinath  <rharinath@novell.com>
272
273         * config-default.make (RUNTIME): Set to 'false'.
274         Reported by Ben Maurer.
275         * profiles/basic.make (MCS): Revert changes below.
276         * platforms/linux.make (ILDISASM): Define.
277         * platforms/win32.make (ILDIsASM): Likewise.
278
279 2005-04-23  Ben Maurer  <bmaurer@ximian.com>
280
281         * profiles/basic.make: Ensure that make dist works even if you
282         only have an old mono rpm installed. Essential for the new build
283         system.
284
285 2005-04-21  Raja R Harinath  <rharinath@novell.com>
286
287         * rules.make (INTERNAL_ILASM): Update.
288
289 2005-04-14  Raja R Harinath  <rharinath@novell.com>
290
291         * library.make (dist-local): Include all ChangeLogs in the tarball.
292
293 2005-04-08  Raja R Harinath  <rharinath@novell.com>
294
295         * profiles/basic.make (do-profile-check): Handle some possible
296         timestamp problems.  Hopefully fix #74280.
297
298 2005-03-30  Zoltan Varga  <vargaz@freemail.hu>
299
300         * rules.make (INSTALL_DATA): Pass -c to install.
301
302 2005-03-18  Raja R Harinath  <rharinath@novell.com>
303
304         * library.make (TEST_FILES, $(test_response), $(btest_response)):
305         Be more robust to empty lines in test sources file.
306
307 2005-03-14  Raja R Harinath  <rharinath@novell.com>
308
309         * executable.make (install-local): Depend on all-local even when
310         NO_INSTALL is defined.
311         * library.make: Minor cleanups to match executable.make.
312         (gacutil): Use net_1_1_bootstrap/gacutil.exe.
313         * profiles/basic.make (no-install): Remove.
314         * profiles/net_1_1_bootstrap.make (no-install): Likewise.
315
316 2005-02-22  Raja R Harinath  <rharinath@novell.com>
317
318         * library.make (BUILT_SOURCES_cmdline): Don't define if
319         BUILT_SOURCES is empty.
320
321 2005-02-21  Michal Moskal  <malekith@pld-linux.org>
322             Raja R Harinath  <rharinath@novell.com>
323
324         * config-default.make (exec_prefix, libdir): New.
325         * library.make (libdir): Remove.
326         * executable.make (PROGRAM_INSTALL_DIR): Define in terms of
327         $(libdir).
328
329 2005-02-15  Raja R Harinath  <rharinath@novell.com>
330
331         * platforms/win32.make (RESGEN): Point to in-tree version of
332         resgen.exe.  The .NET 1.1 SDK doesn't appear to come with one.
333
334 2005-02-10  Raja R Harinath  <rharinath@novell.com>
335
336         * library.make (DISTFILES): Add $(btest_sourcefile).
337
338 2005-02-02  Raja R Harinath  <rharinath@novell.com>
339
340         * library.make (run-test-lib): Use $(LOCAL_TEST_HARNESS_FLAGS).
341         (run-test-ondotnet-lib): Use $(LOCAL_TEST_HARNESS_ONDOTNET_FLAGS).
342
343 2005-02-01  Zoltan Varga  <vargaz@freemail.hu>
344
345         * library.make (run-test-lib): Exclude InetAccess tests.
346
347 2005-02-30  Sebastien Pouliot  <sebastien@ximian.com>
348
349         * library.make: Exclude CAS category from run-test-ondotnet.
350
351 2005-01-31  Sebastien Pouliot  <sebastien@ximian.com>
352
353         * library.make: Exclude CAS category when running unit tests with 
354         Mono (they can be run manually using --security). Added a define
355         for WINDOWS (only on Windows) to be used for declarative security
356         attributes ONLY.
357
358 2005-01-24  Raja R Harinath  <rharinath@novell.com>
359
360         * library.make (run-test-lib, run-test-ondotnet-lib): Print out
361         the log.
362
363 2005-01-16 Nick Drochak  <ndrochak@ieee.org>
364
365         * library.make: /exclude for nunit needs a comma separated list
366
367 2005-01-14  Atsushi Enomoto  <atsushi@ximian.com>
368
369         * library.make : output TestResult-ondotnet-(profile).log instead of
370           TestResult-(profile).log for run-test-ondotnet.
371
372 2005-01-13  Raja R Harinath  <rharinath@novell.com>
373
374         * profiles/default.make (MBAS) [!PLATFORM_MONO_NATIVE]: Use
375         $(EXTERNAL_MBAS).
376         Reported by Nick Drochak.
377
378 2005-01-03  Nick Drochak  <ndrochak@ieee.org>
379
380         * library.make: Ingore tests that are not meant to be run on MS DotNet
381
382 2004-12-14  Raja R Harinath  <rharinath@novell.com>
383
384         * profiles/basic.make (do-profile-check): Rename from
385         'real-profile-check'.  Rewrite slightly to use 'make' to build the
386         sanity check.
387         (clean-profile): Remove the files.
388
389 2004-12-08  Raja R Harinath  <rharinath@novell.com>
390
391         * profiles/basic.make (real-profile-check): Update to new location
392         of secret stash of bootstrap files.
393
394 2004-12-07  Raja R Harinath  <rharinath@novell.com>
395
396         * executable.make (uninstall-local): Remove .config file too.
397         * library.make (uninstall-local): Don't error out if GACUTIL fails.
398
399 2004-12-07  Raja R Harinath  <rharinath@novell.com>
400
401         * library.make (BUILT_SOURCES_cmdline): Use
402         PLATFORM_CHANGE_SEPARATOR_CMD on BUILT_SOURCES too.
403         ($(the_lib)): Use it.
404
405 2004-12-04  Atsushi Enomoto  <atsushi@ximian.com>
406
407         * library.make,
408           profiles/default.make,
409           profiles/basic.make : use PLATFORM_PATH_SEPARATOR.
410
411 2004-12-03  Raja R Harinath  <rharinath@novell.com>
412
413         * profiles/basic.make (MCS): Run the INTERNAL_MCS.
414         (USE_BOOT_COMPILE): Remove.
415
416 2004-12-03  Raja R Harinath  <rharinath@novell.com>
417
418         * library.make (gacdir_flag): New.  Disable /gacdir flag if
419         RUNTIME_HAS_CONSISTENT_GACDIR flag is set.
420         (install-local): Use it.
421
422 2004-11-30  Raja R Harinath  <rharinath@novell.com>
423
424         * executable.make (makefrag): Make profile-specific.
425
426 2004-11-26  Martin Baulig  <martin@ximian.com>
427
428         * library.make (run-test-lib, run-test-ondotnet-lib): Added
429         `/output:TestResult-$(PROFILE).log' argument to NUnit.
430
431 2004-11-26  Raja R Harinath  <rharinath@novell.com>
432
433         * library.make ($(the_lib)): Don't complain if a .mdb file wasn't
434         created (even though it's just a warning).
435         (install-local) [LIBRARY_INSTALL_DIR]: Likewise.
436         (PACKAGE): Remove.
437         (install-local) [!LIBRARY_INSTALL_DIR]: Use $(FRAMEWORK_VERSION).
438         * executable.make ($(PROGRAM)): Likewise.
439         (install-local): Likewise.
440         (PROGRAM_INSTALL_DIR): Define Using $(FRAMEWORK_VERSION).
441
442 2004-11-26  Raja R Harinath  <rharinath@novell.com>
443
444         * profiles/basic.make (real-profile-check): Prepend ./ when
445         executing basic-profile-check.exe.  EXTERNAL_RUNTIME can be empty.
446
447 2004-11-25  Raja R Harinath  <rharinath@novell.com>
448
449         * platforms/linux.make (EXTERNAL_MCS,EXTERNAL_MBAS,EXTERNAL_RUNTIME):
450         New.
451         * platforms/win32.make: Likewise.
452         * profiles/basic.make: Use $(EXTERNAL_MCS).
453         * profiles/net_1_1_bootstrap.make: Likewise.
454         * library.make ($(the_lib)): Add support for BUILT_SOURCES.
455         (run-test-lib): Pass $(TEST_HARNESS_FLAGS) to harness.  Useful to
456         pass, say /labels, to nunit-console.
457
458 2004-11-25  Raja R Harinath  <rharinath@novell.com>
459
460         * library.make ($(gacutil)): Fix path.
461
462 2004-11-23  Raja R Harinath  <rharinath@novell.com>
463
464         * executable.make (NO_INSTALL): New option.  Disables installation.
465         * library.make (NO_INSTALL): Likewise.
466         (install-local) [!NO_INSTALL, !LIBRARY_INSTALL_DIR]: Pass both
467         /gacdir and /root options to gacutil.
468         * platforms/linux.make (platform-check): Print the BOOTSTRAP_MCS
469         command that was tried, in case of failure.     
470         * profiles/basic.make (NO_TEST, NO_INSTALL): Define.
471         * profiles/net_1_1_bootstrap.make: Likewise.
472         * profiles/net_2_0_bootstrap.make: Likewise.
473
474 2004-11-22  Raja R Harinath  <rharinath@novell.com>
475
476         * library.make (SN): New define.  Use the net_1_1_bootstrap sn.exe.
477         (SNFLAGS): New.
478         ($(the_lib)): Use them to sign assemblies as they're built.
479         (the_lib_signature_stamp): Remove.
480
481         * Makefile (DISTFILES): Distribute all the profile make-fragments.
482         (clean-local): Clean up the deps/ directory.
483
484 2004-11-19  Raja R Harinath  <rharinath@novell.com>
485
486         Orchestrate the bootstrap.
487         * rules.make (INTERNAL_MCS): Look for mcs.exe in profile-specific directory.
488         * profiles/net_1_1_bootstrap.make (BOOTSTRAP_MCS): Use mcs.exe from
489         basic profile.  
490         * profiles/default.make (BOOTSTRAP_MCS): Use mcs.exe from the
491         net_1_1_bootstrap profile.
492         * profiles/net_2_0_bootstrap.make (BOOTSTRAP_MCS): Use mcs.exe
493         from default profile.
494         (all-local, clean-local): New.  Copy mcs.exe from default profile,
495         but customize it to work with 2.0.x libraries.
496         * profiles/net_2_0.make (BOOTSTRAP_MCS): Define approprately for
497         building corlib.
498
499         * executable.make (executable_CLEAN_FILES): Clean up more files.
500         ($(PROGRAM)): Move .mdb files too.
501
502 2004-11-18  Atsushi Enomoto  <atsushi@ximian.com>
503
504         * library.make: Reverted the last fix. It broke windows build (that
505           should be fixed though).
506
507 2004-11-18  Atsushi Enomoto  <atsushi@ximian.com>
508
509         * library.make: Some minor fix for PLATFORM_PATH_SEPARATOR.
510
511 2004-11-17  Raja R Harinath  <rharinath@novell.com>
512
513         * executable.make: Improve support for building executable into a
514         different directory.
515
516 2004-11-09  Raja R Harinath  <rharinath@novell.com>
517
518         * profiles/basic.make: New.
519         * profiles/net_2_0.make (PROFILE_MCS_FLAGS): Remove '-2' flag.
520         * profiles/net_1_1_bootstrap.make (NO_SIGN_ASSEMBLY): Set.
521
522 2004-11-04  Raja R Harinath  <rharinath@novell.com>
523
524         * profiles/net_1_1_bootstrap.make: New profile.
525         * profiles/net_2_0_bootstrap.make: Use in-tree mcs for
526         bootstrapping mscorlib.dll.
527         * platforms/linux.make (platform-check): Make more robust.
528         * rules.make (%-recursive): Propagate error exit from sub-makes
529         even if invoked with 'make -k'.
530
531 2004-10-29  Raja R Harinath  <rharinath@novell.com>
532
533         * profiles/net_2_0_bootstrap.make (PROFILE_MCS_FLAGS): Remove
534         -langversion:default flag.
535
536         * rules.make (distdir): Remove.
537         (PROFILE_SUBDIRS): New.  Support profile-specific SUBDIRS.
538         (DIST_SUBDIRS): New.
539         (dist-recursive): Define distdir here.
540
541 2004-10-25  Zoltan Varga  <vargaz@freemail.hu>
542
543         * config-default.make (TEST_RUNTIME): Add TEST_MONO_PATH variable.
544
545 2004-09-27  Raja R Harinath  <rharinath@novell.com>
546
547         * library.make ($(test_nunit_dep)): Make sure NUnit is built for
548         the profile being tested.
549         (nunit-$(PROFILE).stamp): Rename from nunit.stamp.
550         * config-default.make (TEST_HARNESS): Look for 'nunit-console' in
551         profile-specific directory.
552
553 2004-09-21  Raja R Harinath  <rharinath@novell.com>
554
555         * profiles/net_2_0_bootstrap.make: New file.
556
557         * library.make (the_mdb): Fix.
558         (library_CLEAN_FILES): Add the new test results files too.
559
560 2004-09-14  Raja R Harinath  <rharinath@novell.com>
561
562         * library.make (test_lib, btest_lib): Build separate test
563         assemblies for separate profiles.
564         (dist-local): Don't copy files beginning with '../'.
565         (test_sourcefile, btest_sourcefile): Define in terms of
566         $(test_lib) or $(btest_lib) only if they're overriden.
567         (test_response, test_makefrag): Remove redundant $(PROFILE) in name.
568         (run-test-lib, run-btest-lib): Unify.  Give profile-specific name
569         for output XML file.
570         * rules.make (dist-default): Handle any of Makefile, makefile, or
571         GNUmakefile being present.
572         * profiles/net_2_0.make (TEST_RUNTIME): Don't define.
573
574 2004-08-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
575
576         * executable.make:
577         * library.make: install/clean .mdb files.
578
579 2004-07-30  Martin Baulig  <martin@ximian.com>
580
581         * executable.make (EXTRA_SOURCES): New variable to add extra
582         sources to the program.
583
584 2004-07-30  Raja R Harinath  <harinath@blr-harinath.blr.novell.com>
585
586         * executable.make (PROGRAM_config): New auto-detecting define.
587         Defined if $(PROGRAM).config exists.
588         (install-local): Install $(PROGRAM_config) if it exists.
589
590 2004-07-21  Lluis Sanchez Gual  <lluis@novell.com>
591
592         * profiles/default.make, profiles/net_2_0.make, profiles/net_1_0.make:
593           Added FRAMEWORK_VERSION var.
594
595 2004-07-02  Raja R Harinath  <rharinath@novell.com>
596
597         Support for avoiding "sharing violations" while compiling core
598         libraries with an in-tree compiler.
599         * library.make (LIBRARY_USE_INTERMEDIATE_FILE): New toggle.
600         ($(the_lib)): Use it.
601
602 2004-07-02  Raja R Harinath  <rharinath@novell.com>
603
604         * rules.make (OVERRIDE_BARE_TARGETS): Remove.
605         (OVERRIDE_TARGET_ALL): New control for overriding the default all:
606         rule.  If set, 'make all' will run 'all.override' from the client
607         Makefile.
608         (all): Move commands ...
609         (all.real): ... here.  Make ordering assumptions explicit, and
610         parallel-safe.
611         (test,run-test,run-test-ondotnet,clean,install,uninstall):
612         Consolidate into ...
613         (STD_TARGETS): ... this new variable.  Make ordering assumption
614         between -recursive and -local targets explicit.
615         (%-recursive): Handle W32 GNU make that has --unix as the first
616         argument in $(MAKE).
617         * README.makefiles (Special recursion needs): Update to reflect
618         changes.
619         * library.make (all-local): Build $(the_lib_signature_stamp) when
620         NO_SIGN_ASSEMBLY is defined.
621         ($(gacutil),$(sn)): Consolidate rules.
622         (test-local,run-test-local,run-test-ondotnet-local): Likewise.
623
624 2004-07-02  Raja R Harinath  <rharinath@novell.com>
625         
626         * config-default.make (TEST_RUNTIME): Use 'mono' by default.
627         * platforms/win32.make (TEST_RUNTIME): Remove.
628         * profiles/default.make (TEST_RUNTIME): Remove.
629
630 2004-06-28  Raja R Harinath  <rharinath@novell.com>
631
632         * platforms/linux.make (RESGEN): Define using $(INTERNAL_RESGEN).
633
634 2004-06-21  Raja R Harinath  <rharinath@novell.com>
635
636         * executable.make ($(PROGRAM)): Move depend on the makefrags ...
637         (all-local): ... here.
638         * library.make ($(the_lib), $(test_lib), $(btest_lib), all-local):
639         Likewise.
640         (LIBRARY_SNK): New default define.  Allows library to be signed
641         with a key other than mono.snk.
642         ($(the_lib_signature_stamp)): New stamp file created when an
643         assembly is signed.
644         (install-local, uninstall-local, maybe-sign-lib): Set MONO_PATH.
645
646 2004-06-16  Raja R Harinath  <rharinath@novell.com>
647
648         * library.make ($(makefrag),$(test_makefrag),$(btest_makefrag)): 
649         Depend on library.make.
650         * executable.make ($(makefrag)): Depend on executable.make.
651
652 2004-06-16  Atsushi Enomoto  <atsushi@ximian.com>
653
654         * library.make : Added GACDIR. Use cygpath -w on windows.
655
656 2004-06-14  Raja R Harinath  <rharinath@novell.com>
657
658         * platforms/linux.make (PLATFORM_CHANGE_SEPARATOR_CMD): Define to 'cat'.
659         (PLATFORM_TWEAK_CORLIB_SOURCES): Remove.
660         (platform-check): Avoid bash-ism.
661         * library.make: Simplify uses of $(patsubst x,y,$(foo)) to $(foo:x=y).
662         (core_sourcefile): Rename back to ...
663         (sourcefile): ... this.  Remove creation of redundant intermediate file.
664         (response): Change test for optimization, now that
665         PLATFORM_CHANGE_SEPARATOR_CMD is unconditional.  Combine with
666         platform-exclude handling.
667         (library_CLEAN_FILES): New variable to specify clean:-able files
668         close to where they're defined.
669         (test_response, btest_response): Simplify.
670         * executable.make (response): Change test for optimization.
671         (executable_CLEAN_FILES): New define.
672
673 2004-06-14  Raja R Harinath  <rharinath@novell.com>
674
675         * library.make (uninstall-local): Fix typo.
676
677 2004-06-11  Atsushi Enomoto  <atsushi@ximian.com>
678
679         * library.make : HAVE_CS_TESTS fixie.
680
681 2004-06-11  Raja R Harinath  <rharinath@novell.com>
682
683         * library.make (HAVE_CS_TESTS, HAVE_VB_TESTS): Allow to be
684         overriden.  Useful if the tests sourcefile is generated.
685         (TEST_COMPILE, BTEST_COMPILE): Allow these to be customized too.
686
687         * platforms/win32.make (PLATFORM_TWEAK_CORLIB_SOURCES): Remove.
688
689         Support enough features to build mscorlib.dll.
690         * library.make (core_sourcefile): New renamed from $(sourcefile).
691         (PLATFORM_excludes): Auto-detecting define that sees if
692         $(LIBRARY).$(PLATFORM)-excludes file exists.
693         (sourcefile): New.  Possibly-built file that removes
694         PLATFORM_excluded files from core_sourcefile.
695         (test_against, test_dep): New.  Allow the test assembly to be
696         built against a different library.
697         (test_lib): Allow makefile to override the name of the test
698         assembly.
699         (LIBRARY_INSTALL_DIR): If defined, switch to using $(INSTALL_LIB)
700         rather than $(gacutil).
701         (DISTFILES, dist-local): Use core_sourcefile.
702         (clean-local): Remove sourcefile if it was generated.
703         (test_lib, btest_lib): Depend on $(test_dep).
704
705 2004-06-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
706
707         * library.make: fixed PLATFORM_CHANGE_SEPARATOR_CHAR on windows.
708
709 2004-06-09  Sebastien Pouliot  <sebastien@ximian.com>
710
711         * library.make: Added support to fully sign assemblies when doing a
712         "make install" (thanks to Jackson :-).
713
714 2004-06-09  Raja R Harinath  <rharinath@novell.com>
715
716         Do away with stampfiles.
717         Introduce support for VB test cases.
718         * library.make (HAVE_CS_TESTS, HAVE_VB_TESTS): New auto-detecting
719         defines.
720         (stampfile, test_stampfile): Remove.
721         (clean-local): Don't mention them.
722         (test-local, run-test-local, run-test-ondotnet-local):
723         Make unconditional.
724         ($(makefrag), $(test_makefrag)): Simplify.
725         ($(btest_lib)): New.  Support for VB testcases.
726
727 2004-06-09  Raja R Harinath  <rharinath@novell.com>
728
729         Partial support for writing Visual Basic source files.
730         * rules.make (USE_MBAS_FLAGS,BASCOMPILE,INTERNAL_MBAS): New.
731         * config-default.make (MBAS_FLAGS, DEFAULT_MBAS_FLAGS): New.
732         * profiles/default.make (MBAS): New.
733
734 2004-06-09  Raja R Harinath  <rharinath@novell.com>
735
736         Do away with stampfiles.
737         * executable.make (stampfile): Remove.
738         (clean-local): Remove mention of $(stampfile).
739         (test-local, run-test-local, run-test-ondotnet-local):
740         Make unconditional.  Add dummy rule to prevent other makefiles
741         from defining rules on these.
742         ($(PROGRAM)): Depend directly on $(BUILT_SOURCES).
743         ($(makefrag)): Simplify.
744
745 2004-06-03  Atsushi Enomoto  <atsushi@ximian.com>
746
747         * README.makefiles : added description for run-test-ondotnet.
748
749 2004-06-03  Atsushi Enomoto  <atsushi@ximian.com>
750
751         * Makefile, executable.make, library.make, rules.make :
752           Added new target "run-test-ondotnet" that works what "run-test"
753           used to be on windows (i.e. tests our libs under MS.NET).
754
755 2004-06-01  Atsushi Enomoto  <atsushi@ximian.com>
756
757         * platforms/win32.make : TEST_RUNTIME should be always mono we can't
758           test our libs against MS.NET runtime. Think about internal call).
759
760 2004-05-30  Jackson Harper  <jackson@ximian.com>
761
762         * library.make: Install to 2.0 package if building with the
763         net_2_0 profile.
764         
765 2004-05-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
766
767         * library.make: reference nunti.core.dll and nunit.util.dll when
768         building tests.
769
770 2004-05-26  Raja R Harinath  <rharinath@novell.com>
771
772         * library.make (clean-local): Add $(CLEAN_FILES) too.
773
774 2004-05-25  Sebastien Pouliot  <sebastien@ximian.com>
775
776         * library.make: changed case on nunit.framework.dll (lowercase)
777
778 2004-05-24  Raja R Harinath  <rharinath@novell.com>
779
780         * library.make (LIBRARY_COMPILE): New define.
781         ($(the_lib)): Use $(LIBRARY_COMPILE) to compile $(the_lib).
782
783         * executable.make (PROGRAM_INSTALL_DIR): Allow makefile to specify
784         a different directory for installation.
785         (install-local, uninstall-local): Use it.
786
787 2004-05-20  Raja R Harinath  <rharinath@novell.com>
788
789         * profiles/default.make (TEST_RUNTIME): Look in class/lib/default
790         for library to be tested.
791         * rules.make (INTERNAL_RESGEN): New Define.
792         * library.make (run-test-local): Move commands to run-test-lib.
793         Preparartion for allowing creation of addition test dll with .vb
794         testcases.
795         * executable.make (PROGRAM_COMPILE): New define.
796         ($(PROGRAM)): Use PROGRAM_COMPILE to compile PROGRAM.
797
798 2004-05-14  Jackson Harper  <jackson@ximian.com>
799
800         * library.make: Install package files. Get params in magical
801         correct order.
802         
803 2004-05-11  Jackson Harper  <jackson@ximian.com>
804
805         * platforms/linux.make:
806         * platforms/win32.make: Define a PLATFORM_PATH_SEPARATOR used for
807         separating paths in env vars. (ie MONO_PATH).
808         * profiles/net_2_0.make: Always use gmcs for building the 2.0
809         libraries. corlib is the first lib built and it will build gmcs.
810         
811 2004-05-11  Jackson Harper  <jackson@ximian.com>
812
813         * library.make: Allow assembly names to be different then their
814         .sources file names.
815         
816 2004-05-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
817
818         * library.make: build NUnit if we try to run 'make test' and the dll
819         is not found.
820
821 2004-04-29  Jackson Harper  <jackson@ximian.com>
822
823         * library.make: Fix uninstall
824         
825 2004-04-29  Martin Baulig  <martin@ximian.com>
826
827         * rules.make: Added `INTERNAL_ILASM'.
828
829 2004-04-29  Jackson Harper  <jackson@ximian.com>
830
831         * library.make: Use RUNTIME instead of PLATFORM_RUNTIME for the
832         gacutil. gacutil needs to be run on our runtime. Make dependancys
833         more sane.
834         
835 2004-04-28  Jackson Harper  <jackson@ximian.com>
836
837         * library.make: Use the proper runtime, make sure gacutil is
838         built.
839         
840 2004-04-28  Jackson Harper  <jackson@ximian.com>
841
842         * library.make: Install these bad actors to the GAC.
843         
844 2004-04-28  Raja R Harinath  <rharinath@novell.com>
845
846         * library.make (test_flags): NUnit.Framework.dll is now in
847         class/lib/$(PROFILE).
848
849 2004-04-26  Jackson Harper  <jackson@ximian.com>
850
851         * library.make:
852         * profiles/bootstrap.make:
853         * profiles/default.make: profiles are built in their ownb lib
854         directory now.
855         * profiles/net_2_0.make: new .net 2.0 profile.
856         
857 2004-04-22  Martin Baulig  <martin@ximian.com>
858
859         * profiles/net_1_2.make: Removed.
860         * profiles/martin-generics.make: Remove.
861
862 2004-04-19  Raja R Harinath  <rharinath@novell.com>
863
864         * rules.make (%-recursive): Honor 'make -k'.
865
866 2004-02-17  Martin Baulig  <martin@ximian.com>
867
868         * profiles/generics.make: Renamed to `martin-generics.make' and
869         added a comment to the file.  I'll rename this back when it's
870         ready for public use.
871
872 2003-12-17  Jackson Harper <jackson@ximian.com>
873
874         * profiles/default.make:
875         * profiles/net_1_0.make: Add ONLY_1_0 and ONLY_1_1 defines to fix
876         the build
877         
878 2003-12-08  Peter Williams  <peter@newton.cx>
879
880         * config-default.make: Don't check for / define
881         ECHO_ESCAPE: the check isn't smart enough and
882         apparently OS X's shell somehow doesn't support
883         escape characters.
884
885         * library.make: Use embedded tab instead of 
886         $(ECHO_ESCAPE). Fixes OS X build.
887         
888         * executable.make: Same.
889         
890 2003-12-05  Martin Baulig  <martin@ximian.com>
891
892         * profiles/generics.make: Define `GENERICS'.
893
894 2003-12-05  Martin Baulig  <martin@ximian.com>
895
896         * profiles/net_1_2.make: New profile; uses the .NET 1.2 API's, but
897         without generics and with mcs instead of gmcs.
898
899         * profiles/bootstrap.make: New profile; already use the newly
900         compiled mcs to compile corlib.
901
902 2003-12-04  Martin Baulig  <martin@ximian.com>
903
904         * profiles/generics.make: Use gmcs.
905
906 2003-11-12 Jackson Harper <jackson@ximian.com>
907
908         * rules.make: 
909         * platforms/linux.make: corlib name is now mscorlib.
910         
911 2003-11-09 Ben Maurer  <bmaurer@users.sourceforge.net>
912
913         * profiles/generics.make: add the -2 flag.
914
915 2003-10-28 Jackson Harper <jackson@ximian.com>
916
917         * platforms/linux.make: Tell users to read INSTALL.txt not the
918         non-existant README.building.
919         
920 2003-10-22  Dick Porter  <dick@ximian.com>
921
922         * platforms/win32.make:
923         * platforms/linux.make:
924         * rules.make: Added RESGEN platform-specific tool.
925
926 2003-08-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
927
928         * config-default.make: the /nowarn arguments are now set on a per
929         library basis.
930
931 2003-07-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
932
933         * executable.make: install-local depends on the program too.
934
935 2003-07-25  Peter Williams <peter@newton.cx>
936
937         * rules.make (run-test): Make it depend on 'test-local'
938         then 'run-test-local' after 'run-test-recursive'. This way,
939         'make run-test' from the toplevel doesn't recurse through all
940         the directories doing a make test before we run anything.
941
942 2003-07-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
943
944         * rules.make: run-test depends now on 'test'.
945
946 2003-07-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
947
948         * rules.make: set corlib to PLATFORM_CORLIB if this is defined.
949
950 2003-07-22  Peter Williams  <peter@newton.cx>
951
952         * rules.make (withmcs): Add this developer utility target.
953
954 2003-07-20  Peter Williams  <peter@newton.cx>
955
956         * README.platforms: Update docs for changes below.
957
958         * platforms/win32.make (PLATFORM_CORLIB): Set this variable
959         to 'mscorlib.dll', instead of $(corlib) which everything links
960         against. *Almost* everything should link against our corlib --
961         with the exception of corlib_cmp and corlib_res.
962
963         * platforms/linux.make: Same here: corlib.dll
964
965         * rules.make: Define $(corlib) here.
966
967 2003-07-20  Peter Williams  <peter@newton.cx>
968
969         * config-default.make (TEST_RUNTIME): Use the platform runtime
970         to run tests, by default.
971
972         * profiles/default.make (TEST_RUNTIME): If our test runtime is
973         mono, use the --debug flag.
974
975         * executable.make (sourcefile): Add a basename so that we can
976         find the nunit sources and so we behave a bit more like
977         library.make
978
979         * config-default.make (TEST_HARNESS): Find nunit-console in its
980         new home.
981
982 2003-07-20  Peter Williams  <peter@newton.cx>
983
984         * library.make ($(response)): Do a "Creating ..." line here.
985
986         * executable.make ($(response)): Same.
987
988         * config-default.make: Make warning more forceful.
989
990         * rules.make: Define a useful 'PLATFORM_MONO_NATIVE' that is
991         set if the platform does not have a native runtime (ie, linux).
992         Also reorder some definitions.
993
994 2003-07-20  Peter Williams  <peter@newton.cx>
995
996         * Created. See ../ChangeLog for entries earlier than
997         this.
998