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