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