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