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