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