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