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