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