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