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