**** Merged from MCS ****
[mono-project.git] / mcs / build / ChangeLog
blob51f479b76ffa67e47488549f2796135193346b57
1 2004-11-09  Raja R Harinath  <rharinath@novell.com>
3         * profiles/basic.make: New.
4         * profiles/net_2_0.make (PROFILE_MCS_FLAGS): Remove '-2' flag.
5         * profiles/net_1_1_bootstrap.make (NO_SIGN_ASSEMBLY): Set.
7 2004-11-04  Raja R Harinath  <rharinath@novell.com>
9         * profiles/net_1_1_bootstrap.make: New profile.
10         * profiles/net_2_0_bootstrap.make: Use in-tree mcs for
11         bootstrapping mscorlib.dll.
12         * platforms/linux.make (platform-check): Make more robust.
13         * rules.make (%-recursive): Propagate error exit from sub-makes
14         even if invoked with 'make -k'.
16 2004-10-29  Raja R Harinath  <rharinath@novell.com>
18         * profiles/net_2_0_bootstrap.make (PROFILE_MCS_FLAGS): Remove
19         -langversion:default flag.
21         * rules.make (distdir): Remove.
22         (PROFILE_SUBDIRS): New.  Support profile-specific SUBDIRS.
23         (DIST_SUBDIRS): New.
24         (dist-recursive): Define distdir here.
26 2004-10-25  Zoltan Varga  <vargaz@freemail.hu>
28         * config-default.make (TEST_RUNTIME): Add TEST_MONO_PATH variable.
30 2004-09-27  Raja R Harinath  <rharinath@novell.com>
32         * library.make ($(test_nunit_dep)): Make sure NUnit is built for
33         the profile being tested.
34         (nunit-$(PROFILE).stamp): Rename from nunit.stamp.
35         * config-default.make (TEST_HARNESS): Look for 'nunit-console' in
36         profile-specific directory.
38 2004-09-21  Raja R Harinath  <rharinath@novell.com>
40         * profiles/net_2_0_bootstrap.make: New file.
42         * library.make (the_mdb): Fix.
43         (library_CLEAN_FILES): Add the new test results files too.
45 2004-09-14  Raja R Harinath  <rharinath@novell.com>
47         * library.make (test_lib, btest_lib): Build separate test
48         assemblies for separate profiles.
49         (dist-local): Don't copy files beginning with '../'.
50         (test_sourcefile, btest_sourcefile): Define in terms of
51         $(test_lib) or $(btest_lib) only if they're overriden.
52         (test_response, test_makefrag): Remove redundant $(PROFILE) in name.
53         (run-test-lib, run-btest-lib): Unify.  Give profile-specific name
54         for output XML file.
55         * rules.make (dist-default): Handle any of Makefile, makefile, or
56         GNUmakefile being present.
57         * profiles/net_2_0.make (TEST_RUNTIME): Don't define.
59 2004-08-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
61         * executable.make:
62         * library.make: install/clean .mdb files.
64 2004-07-30  Martin Baulig  <martin@ximian.com>
66         * executable.make (EXTRA_SOURCES): New variable to add extra
67         sources to the program.
69 2004-07-30  Raja R Harinath  <harinath@blr-harinath.blr.novell.com>
71         * executable.make (PROGRAM_config): New auto-detecting define.
72         Defined if $(PROGRAM).config exists.
73         (install-local): Install $(PROGRAM_config) if it exists.
75 2004-07-21  Lluis Sanchez Gual  <lluis@novell.com>
77         * profiles/default.make, profiles/net_2_0.make, profiles/net_1_0.make:
78           Added FRAMEWORK_VERSION var.
80 2004-07-02  Raja R Harinath  <rharinath@novell.com>
82         Support for avoiding "sharing violations" while compiling core
83         libraries with an in-tree compiler.
84         * library.make (LIBRARY_USE_INTERMEDIATE_FILE): New toggle.
85         ($(the_lib)): Use it.
87 2004-07-02  Raja R Harinath  <rharinath@novell.com>
89         * rules.make (OVERRIDE_BARE_TARGETS): Remove.
90         (OVERRIDE_TARGET_ALL): New control for overriding the default all:
91         rule.  If set, 'make all' will run 'all.override' from the client
92         Makefile.
93         (all): Move commands ...
94         (all.real): ... here.  Make ordering assumptions explicit, and
95         parallel-safe.
96         (test,run-test,run-test-ondotnet,clean,install,uninstall):
97         Consolidate into ...
98         (STD_TARGETS): ... this new variable.  Make ordering assumption
99         between -recursive and -local targets explicit.
100         (%-recursive): Handle W32 GNU make that has --unix as the first
101         argument in $(MAKE).
102         * README.makefiles (Special recursion needs): Update to reflect
103         changes.
104         * library.make (all-local): Build $(the_lib_signature_stamp) when
105         NO_SIGN_ASSEMBLY is defined.
106         ($(gacutil),$(sn)): Consolidate rules.
107         (test-local,run-test-local,run-test-ondotnet-local): Likewise.
109 2004-07-02  Raja R Harinath  <rharinath@novell.com>
110         
111         * config-default.make (TEST_RUNTIME): Use 'mono' by default.
112         * platforms/win32.make (TEST_RUNTIME): Remove.
113         * profiles/default.make (TEST_RUNTIME): Remove.
115 2004-06-28  Raja R Harinath  <rharinath@novell.com>
117         * platforms/linux.make (RESGEN): Define using $(INTERNAL_RESGEN).
119 2004-06-21  Raja R Harinath  <rharinath@novell.com>
121         * executable.make ($(PROGRAM)): Move depend on the makefrags ...
122         (all-local): ... here.
123         * library.make ($(the_lib), $(test_lib), $(btest_lib), all-local):
124         Likewise.
125         (LIBRARY_SNK): New default define.  Allows library to be signed
126         with a key other than mono.snk.
127         ($(the_lib_signature_stamp)): New stamp file created when an
128         assembly is signed.
129         (install-local, uninstall-local, maybe-sign-lib): Set MONO_PATH.
131 2004-06-16  Raja R Harinath  <rharinath@novell.com>
133         * library.make ($(makefrag),$(test_makefrag),$(btest_makefrag)): 
134         Depend on library.make.
135         * executable.make ($(makefrag)): Depend on executable.make.
137 2004-06-16  Atsushi Enomoto  <atsushi@ximian.com>
139         * library.make : Added GACDIR. Use cygpath -w on windows.
141 2004-06-14  Raja R Harinath  <rharinath@novell.com>
143         * platforms/linux.make (PLATFORM_CHANGE_SEPARATOR_CMD): Define to 'cat'.
144         (PLATFORM_TWEAK_CORLIB_SOURCES): Remove.
145         (platform-check): Avoid bash-ism.
146         * library.make: Simplify uses of $(patsubst x,y,$(foo)) to $(foo:x=y).
147         (core_sourcefile): Rename back to ...
148         (sourcefile): ... this.  Remove creation of redundant intermediate file.
149         (response): Change test for optimization, now that
150         PLATFORM_CHANGE_SEPARATOR_CMD is unconditional.  Combine with
151         platform-exclude handling.
152         (library_CLEAN_FILES): New variable to specify clean:-able files
153         close to where they're defined.
154         (test_response, btest_response): Simplify.
155         * executable.make (response): Change test for optimization.
156         (executable_CLEAN_FILES): New define.
158 2004-06-14  Raja R Harinath  <rharinath@novell.com>
160         * library.make (uninstall-local): Fix typo.
162 2004-06-11  Atsushi Enomoto  <atsushi@ximian.com>
164         * library.make : HAVE_CS_TESTS fixie.
166 2004-06-11  Raja R Harinath  <rharinath@novell.com>
168         * library.make (HAVE_CS_TESTS, HAVE_VB_TESTS): Allow to be
169         overriden.  Useful if the tests sourcefile is generated.
170         (TEST_COMPILE, BTEST_COMPILE): Allow these to be customized too.
172         * platforms/win32.make (PLATFORM_TWEAK_CORLIB_SOURCES): Remove.
174         Support enough features to build mscorlib.dll.
175         * library.make (core_sourcefile): New renamed from $(sourcefile).
176         (PLATFORM_excludes): Auto-detecting define that sees if
177         $(LIBRARY).$(PLATFORM)-excludes file exists.
178         (sourcefile): New.  Possibly-built file that removes
179         PLATFORM_excluded files from core_sourcefile.
180         (test_against, test_dep): New.  Allow the test assembly to be
181         built against a different library.
182         (test_lib): Allow makefile to override the name of the test
183         assembly.
184         (LIBRARY_INSTALL_DIR): If defined, switch to using $(INSTALL_LIB)
185         rather than $(gacutil).
186         (DISTFILES, dist-local): Use core_sourcefile.
187         (clean-local): Remove sourcefile if it was generated.
188         (test_lib, btest_lib): Depend on $(test_dep).
190 2004-06-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
192         * library.make: fixed PLATFORM_CHANGE_SEPARATOR_CHAR on windows.
194 2004-06-09  Sebastien Pouliot  <sebastien@ximian.com>
196         * library.make: Added support to fully sign assemblies when doing a
197         "make install" (thanks to Jackson :-).
199 2004-06-09  Raja R Harinath  <rharinath@novell.com>
201         Do away with stampfiles.
202         Introduce support for VB test cases.
203         * library.make (HAVE_CS_TESTS, HAVE_VB_TESTS): New auto-detecting
204         defines.
205         (stampfile, test_stampfile): Remove.
206         (clean-local): Don't mention them.
207         (test-local, run-test-local, run-test-ondotnet-local):
208         Make unconditional.
209         ($(makefrag), $(test_makefrag)): Simplify.
210         ($(btest_lib)): New.  Support for VB testcases.
212 2004-06-09  Raja R Harinath  <rharinath@novell.com>
214         Partial support for writing Visual Basic source files.
215         * rules.make (USE_MBAS_FLAGS,BASCOMPILE,INTERNAL_MBAS): New.
216         * config-default.make (MBAS_FLAGS, DEFAULT_MBAS_FLAGS): New.
217         * profiles/default.make (MBAS): New.
219 2004-06-09  Raja R Harinath  <rharinath@novell.com>
221         Do away with stampfiles.
222         * executable.make (stampfile): Remove.
223         (clean-local): Remove mention of $(stampfile).
224         (test-local, run-test-local, run-test-ondotnet-local):
225         Make unconditional.  Add dummy rule to prevent other makefiles
226         from defining rules on these.
227         ($(PROGRAM)): Depend directly on $(BUILT_SOURCES).
228         ($(makefrag)): Simplify.
230 2004-06-03  Atsushi Enomoto  <atsushi@ximian.com>
232         * README.makefiles : added description for run-test-ondotnet.
234 2004-06-03  Atsushi Enomoto  <atsushi@ximian.com>
236         * Makefile, executable.make, library.make, rules.make :
237           Added new target "run-test-ondotnet" that works what "run-test"
238           used to be on windows (i.e. tests our libs under MS.NET).
240 2004-06-01  Atsushi Enomoto  <atsushi@ximian.com>
242         * platforms/win32.make : TEST_RUNTIME should be always mono we can't
243           test our libs against MS.NET runtime. Think about internal call).
245 2004-05-30  Jackson Harper  <jackson@ximian.com>
247         * library.make: Install to 2.0 package if building with the
248         net_2_0 profile.
249         
250 2004-05-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
252         * library.make: reference nunti.core.dll and nunit.util.dll when
253         building tests.
255 2004-05-26  Raja R Harinath  <rharinath@novell.com>
257         * library.make (clean-local): Add $(CLEAN_FILES) too.
259 2004-05-25  Sebastien Pouliot  <sebastien@ximian.com>
261         * library.make: changed case on nunit.framework.dll (lowercase)
263 2004-05-24  Raja R Harinath  <rharinath@novell.com>
265         * library.make (LIBRARY_COMPILE): New define.
266         ($(the_lib)): Use $(LIBRARY_COMPILE) to compile $(the_lib).
268         * executable.make (PROGRAM_INSTALL_DIR): Allow makefile to specify
269         a different directory for installation.
270         (install-local, uninstall-local): Use it.
272 2004-05-20  Raja R Harinath  <rharinath@novell.com>
274         * profiles/default.make (TEST_RUNTIME): Look in class/lib/default
275         for library to be tested.
276         * rules.make (INTERNAL_RESGEN): New Define.
277         * library.make (run-test-local): Move commands to run-test-lib.
278         Preparartion for allowing creation of addition test dll with .vb
279         testcases.
280         * executable.make (PROGRAM_COMPILE): New define.
281         ($(PROGRAM)): Use PROGRAM_COMPILE to compile PROGRAM.
283 2004-05-14  Jackson Harper  <jackson@ximian.com>
285         * library.make: Install package files. Get params in magical
286         correct order.
287         
288 2004-05-11  Jackson Harper  <jackson@ximian.com>
290         * platforms/linux.make:
291         * platforms/win32.make: Define a PLATFORM_PATH_SEPARATOR used for
292         separating paths in env vars. (ie MONO_PATH).
293         * profiles/net_2_0.make: Always use gmcs for building the 2.0
294         libraries. corlib is the first lib built and it will build gmcs.
295         
296 2004-05-11  Jackson Harper  <jackson@ximian.com>
298         * library.make: Allow assembly names to be different then their
299         .sources file names.
300         
301 2004-05-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
303         * library.make: build NUnit if we try to run 'make test' and the dll
304         is not found.
306 2004-04-29  Jackson Harper  <jackson@ximian.com>
308         * library.make: Fix uninstall
309         
310 2004-04-29  Martin Baulig  <martin@ximian.com>
312         * rules.make: Added `INTERNAL_ILASM'.
314 2004-04-29  Jackson Harper  <jackson@ximian.com>
316         * library.make: Use RUNTIME instead of PLATFORM_RUNTIME for the
317         gacutil. gacutil needs to be run on our runtime. Make dependancys
318         more sane.
319         
320 2004-04-28  Jackson Harper  <jackson@ximian.com>
322         * library.make: Use the proper runtime, make sure gacutil is
323         built.
324         
325 2004-04-28  Jackson Harper  <jackson@ximian.com>
327         * library.make: Install these bad actors to the GAC.
328         
329 2004-04-28  Raja R Harinath  <rharinath@novell.com>
331         * library.make (test_flags): NUnit.Framework.dll is now in
332         class/lib/$(PROFILE).
334 2004-04-26  Jackson Harper  <jackson@ximian.com>
336         * library.make:
337         * profiles/bootstrap.make:
338         * profiles/default.make: profiles are built in their ownb lib
339         directory now.
340         * profiles/net_2_0.make: new .net 2.0 profile.
341         
342 2004-04-22  Martin Baulig  <martin@ximian.com>
344         * profiles/net_1_2.make: Removed.
345         * profiles/martin-generics.make: Remove.
347 2004-04-19  Raja R Harinath  <rharinath@novell.com>
349         * rules.make (%-recursive): Honor 'make -k'.
351 2004-02-17  Martin Baulig  <martin@ximian.com>
353         * profiles/generics.make: Renamed to `martin-generics.make' and
354         added a comment to the file.  I'll rename this back when it's
355         ready for public use.
357 2003-12-17  Jackson Harper <jackson@ximian.com>
359         * profiles/default.make:
360         * profiles/net_1_0.make: Add ONLY_1_0 and ONLY_1_1 defines to fix
361         the build
362         
363 2003-12-08  Peter Williams  <peter@newton.cx>
365         * config-default.make: Don't check for / define
366         ECHO_ESCAPE: the check isn't smart enough and
367         apparently OS X's shell somehow doesn't support
368         escape characters.
370         * library.make: Use embedded tab instead of 
371         $(ECHO_ESCAPE). Fixes OS X build.
372         
373         * executable.make: Same.
374         
375 2003-12-05  Martin Baulig  <martin@ximian.com>
377         * profiles/generics.make: Define `GENERICS'.
379 2003-12-05  Martin Baulig  <martin@ximian.com>
381         * profiles/net_1_2.make: New profile; uses the .NET 1.2 API's, but
382         without generics and with mcs instead of gmcs.
384         * profiles/bootstrap.make: New profile; already use the newly
385         compiled mcs to compile corlib.
387 2003-12-04  Martin Baulig  <martin@ximian.com>
389         * profiles/generics.make: Use gmcs.
391 2003-11-12 Jackson Harper <jackson@ximian.com>
393         * rules.make: 
394         * platforms/linux.make: corlib name is now mscorlib.
395         
396 2003-11-09 Ben Maurer  <bmaurer@users.sourceforge.net>
398         * profiles/generics.make: add the -2 flag.
400 2003-10-28 Jackson Harper <jackson@ximian.com>
402         * platforms/linux.make: Tell users to read INSTALL.txt not the
403         non-existant README.building.
404         
405 2003-10-22  Dick Porter  <dick@ximian.com>
407         * platforms/win32.make:
408         * platforms/linux.make:
409         * rules.make: Added RESGEN platform-specific tool.
411 2003-08-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
413         * config-default.make: the /nowarn arguments are now set on a per
414         library basis.
416 2003-07-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
418         * executable.make: install-local depends on the program too.
420 2003-07-25  Peter Williams <peter@newton.cx>
422         * rules.make (run-test): Make it depend on 'test-local'
423         then 'run-test-local' after 'run-test-recursive'. This way,
424         'make run-test' from the toplevel doesn't recurse through all
425         the directories doing a make test before we run anything.
427 2003-07-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
429         * rules.make: run-test depends now on 'test'.
431 2003-07-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
433         * rules.make: set corlib to PLATFORM_CORLIB if this is defined.
435 2003-07-22  Peter Williams  <peter@newton.cx>
437         * rules.make (withmcs): Add this developer utility target.
439 2003-07-20  Peter Williams  <peter@newton.cx>
441         * README.platforms: Update docs for changes below.
443         * platforms/win32.make (PLATFORM_CORLIB): Set this variable
444         to 'mscorlib.dll', instead of $(corlib) which everything links
445         against. *Almost* everything should link against our corlib --
446         with the exception of corlib_cmp and corlib_res.
448         * platforms/linux.make: Same here: corlib.dll
450         * rules.make: Define $(corlib) here.
452 2003-07-20  Peter Williams  <peter@newton.cx>
454         * config-default.make (TEST_RUNTIME): Use the platform runtime
455         to run tests, by default.
457         * profiles/default.make (TEST_RUNTIME): If our test runtime is
458         mono, use the --debug flag.
460         * executable.make (sourcefile): Add a basename so that we can
461         find the nunit sources and so we behave a bit more like
462         library.make
464         * config-default.make (TEST_HARNESS): Find nunit-console in its
465         new home.
467 2003-07-20  Peter Williams  <peter@newton.cx>
469         * library.make ($(response)): Do a "Creating ..." line here.
471         * executable.make ($(response)): Same.
473         * config-default.make: Make warning more forceful.
475         * rules.make: Define a useful 'PLATFORM_MONO_NATIVE' that is
476         set if the platform does not have a native runtime (ie, linux).
477         Also reorder some definitions.
479 2003-07-20  Peter Williams  <peter@newton.cx>
481         * Created. See ../ChangeLog for entries earlier than
482         this.