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