[Gd-chatter] r10741 - in trunk/fundev/sources/lib/run-time: pentium-freebsd pentium-linux
housel at gwydiondylan.org
housel at gwydiondylan.org
Tue May 16 06:37:22 CEST 2006
Author: housel
Date: Tue May 16 06:37:20 2006
New Revision: 10741
Modified:
trunk/fundev/sources/lib/run-time/pentium-freebsd/x86-freebsd-build.jam
trunk/fundev/sources/lib/run-time/pentium-linux/x86-linux-build.jam
Log:
Bug: 7003
Implement support for the C-Source-Files: LID keyword on FreeBSD and
Linux.
* fundev/sources/lib/run-time/pentium-freebsd/x86-freebsd.build.jam
(DylanLibraryCSources): Re-implement (based on the Win32 jamfiles).
* fundev/sources/lib/run-time/pentium-linux/x86-linux.build.jam
(DylanLibraryCSources): Re-implement (based on the Win32 jamfiles).
Modified: trunk/fundev/sources/lib/run-time/pentium-freebsd/x86-freebsd-build.jam
==============================================================================
--- trunk/fundev/sources/lib/run-time/pentium-freebsd/x86-freebsd-build.jam (original)
+++ trunk/fundev/sources/lib/run-time/pentium-freebsd/x86-freebsd-build.jam Tue May 16 06:37:20 2006
@@ -218,8 +218,22 @@
#Echo DylanLibraryCSources $(image) ":" $(sources) ;
# Link C source files into the shared library.
-
- Exit DylanLibraryCSources $(image) is not yet implemented ;
+ if ! $(SYSTEM) {
+ local _dll = [ FDLLName $(image) ] ;
+ local _exe = [ FEXEName $(image) ] ;
+
+ local _i ;
+ for _i in [ FGristFiles $(sources) ] {
+ SEARCH on $(_i) = $(SEARCH_SOURCE) ;
+ local _obj = [ FGristFiles $(_i:S=$(SUFOBJ)) ] ;
+ MakeLocate $(_obj) : $(LOCATE_TARGET) ;
+
+ Cc $(_obj) : $(_i) ;
+
+ LinkDLL $(_dll) : $(_obj) ;
+ LinkEXE $(_exe) : $(_obj) ;
+ }
+ }
}
rule DylanLibraryCHeaders image : headers {
Modified: trunk/fundev/sources/lib/run-time/pentium-linux/x86-linux-build.jam
==============================================================================
--- trunk/fundev/sources/lib/run-time/pentium-linux/x86-linux-build.jam (original)
+++ trunk/fundev/sources/lib/run-time/pentium-linux/x86-linux-build.jam Tue May 16 06:37:20 2006
@@ -218,8 +218,22 @@
#Echo DylanLibraryCSources $(image) ":" $(sources) ;
# Link C source files into the shared library.
-
- Exit DylanLibraryCSources $(image) is not yet implemented ;
+ if ! $(SYSTEM) {
+ local _dll = [ FDLLName $(image) ] ;
+ local _exe = [ FEXEName $(image) ] ;
+
+ local _i ;
+ for _i in [ FGristFiles $(sources) ] {
+ SEARCH on $(_i) = $(SEARCH_SOURCE) ;
+ local _obj = [ FGristFiles $(_i:S=$(SUFOBJ)) ] ;
+ MakeLocate $(_obj) : $(LOCATE_TARGET) ;
+
+ Cc $(_obj) : $(_i) ;
+
+ LinkDLL $(_dll) : $(_obj) ;
+ LinkEXE $(_exe) : $(_obj) ;
+ }
+ }
}
rule DylanLibraryCHeaders image : headers {
More information about the chatter
mailing list