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