Ingo Weinhold
8c17a26b5c
The configure script now sets the variable GCC_RAW_VERSION which is
...
parsed in Jamrules into a list (`.' and `-' are considered delimiters)
written into GCC_VERSION. E.g. for the GeekGadgets compiler expect
GCC_VERSION to be set to `2 9 beos 000224'. So, GCC_VERSION[1] should
contain the major version, GCC_VERSION[2] the middle one.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4997 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-12 17:47:07 +00:00
Axel Dörfler
b8b44e7a12
Added the platform depending headers to the SetupKernel headers.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4971 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-07 23:18:37 +00:00
Ingo Weinhold
b8baf385d1
Just another fix to LinkSharedOSLibs: Jam's :B selector does, per definition, not include the suffix. That's why the checks for *.a and *.so wouldn't work.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4692 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-15 19:58:57 +00:00
Ingo Weinhold
728b5725a8
ObjectDefines is safe to be called on one file at ones only. So is
...
ObjectHdrs.
* Introduced a rule ObjectsDefines which is safe to be invoke with more
than one file and replaced ObjectDefines where it was used wrongly.
* Fixed SourceHdrs which used ObjectHdrs wrongly.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4626 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-11 20:48:05 +00:00
Ingo Weinhold
e9230d05d0
Fixed the target directory for static libs distributed with the system. Is develop/lib/<platform> now, as is under R5. Added an optional third parameter to StaticLibrary, which specifies the target directory for the library -- defaults to the just fixed standard directory.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4625 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-11 20:04:13 +00:00
Ingo Weinhold
f1e077f831
Since we enable KEEPOBJS, the Library rules doesn't make the libraries a dependency of "lib". Since the StaticLibrary rules is supposed to build the static libs distributed with the system, we explicitly add the missing dependency there.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4501 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-04 19:12:09 +00:00
Ingo Weinhold
65c62a0145
Semantical changes to the DEBUG and WARNINGS variables. Both do always have a value now; 0 or 1. WARNINGS defaults to 1, i.e. warnings are enabled by default, now.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4382 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-26 23:16:05 +00:00
shatty
d5b07cf2d9
fixed destination directory for translators
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4283 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-16 01:00:08 +00:00
Ingo Weinhold
505554b417
Added variables for etc and fonts dir.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4144 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-30 21:12:06 +00:00
Ingo Weinhold
007eb5f23c
Added "-soname=_APP_" to the linker flags of the high-level rules building applications. Also added a third parameter, <libraries>, where it was missing.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3995 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-16 20:56:37 +00:00
Ingo Weinhold
a8cd071927
LinkSharedOSLibs now strips the grist <nogrist> off targets. Otherwise one couldn't use target names that don't have a grist (like applications, against which their add-ons need to link).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3961 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-13 15:23:45 +00:00
Axel Dörfler
e29d853358
Renamed OBOS_BOOT_LIB to OBOS_BOOT_PLATFORM
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3647 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-24 22:54:28 +00:00
Ingo Weinhold
9fcaa61d04
Added a BuildPlatformTest rule for building tests that shall run on the build platform..
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3638 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-24 16:44:00 +00:00
Ingo Weinhold
966528dcbc
Added the implementation of UsePublicHeaders again.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3630 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-23 16:55:05 +00:00
Ingo Weinhold
57ec89d1b5
Removed definition of AR as 'ar t'. Default is 'ar ru', which should be just fine. If anyone experiences problems don't hesitate to tell me.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3558 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-17 18:30:05 +00:00
Ingo Weinhold
7bc56df125
CP = copyattr --data, under BeOS. Added general installation rules OBOSInstall, OBOSInstall{Abs,Rel}SymLink.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3556 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-17 18:13:22 +00:00
Ingo Weinhold
2dd47f63b5
Missing grist in SetupKernel.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3258 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-19 23:49:30 +00:00
Ingo Weinhold
c8aa252a8d
Fixed Depends in MergeObjectFromObjects
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3257 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-19 23:07:08 +00:00
Axel Dörfler
98cc804c5d
Added KERNEL_C++FLAGS to define -fno-exceptions and -fno-rtti for kernel
...
objects automatically.
Also added a new OBOS_BOOT_LIB variable - might be changed again in the
future, though.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3254 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-18 16:16:09 +00:00
Ingo Weinhold
dbf96817af
Added a rule R5KernelStaticLibrary.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3253 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-17 15:51:28 +00:00
Axel Dörfler
dd22481e7a
The DEFINES variable doesn't contain the "D" from the option name (-D...).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3234 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-13 02:25:12 +00:00
Ingo Weinhold
5dc4e1ef10
Renamed SystemMain to BuildPlatformMain and adjusted it to use the build platform headers for compilation.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3208 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-11 17:28:24 +00:00
Ingo Weinhold
09c5682d91
The platform dependent header dir is explicitly included now. Changed the libgcc.a handling a bit. Re-run configure!
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3178 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-05 22:07:33 +00:00
Axel Dörfler
c9882d9e80
TARGET_CPU can now be set externally if needed.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3168 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 17:01:03 +00:00
Axel Dörfler
1f622a7b2e
The Jamrules now support different build platforms (at least in theory).
...
The PPC version can now be built - but of course, it doesn't work yet.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3167 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 16:39:41 +00:00
DarkWyrm
0f434a0aad
The mother of all commits. :P
...
Unremoved zlib and added libpng to public libs (C'mon DW, make up your mind... ;^)
Added screenshot support to app_server
Added full keyboard message support to app_server
Added UseLibraryHeaders and LibraryHeaders rules to jamrules
Updated ColorUtils to convert uint32 colors to rgb_colors
BAppServerLink now autolocks client-server communications on the client side (as it should)
app_server now also juliennes and makes french fries. Yum.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3045 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-30 00:17:50 +00:00
Ingo Weinhold
83b3b0dff1
Added optional libraries parameter to Addon rule.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2817 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-24 00:35:09 +00:00
Ingo Weinhold
6af7607485
Uh, rc does not always append .rsrc to the output file, but only if it is missing. Adjusted ResComp actions.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2741 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-17 17:15:14 +00:00
Ingo Weinhold
8d3308d9aa
* Added a Bison and a LexC++ rule.
...
* Override the Jambase version of the Object rule to optionally generate
intermediate .cpp instead of .c files for .y and .l input. The
GENERATE_C++ variable must be set to enable that behavior.
* Added a ResComp rule using the shiny new rc to compile .rdef files into
.rsrc files.
* Adjusted AddResources to accept both, .rsrc and .rdef files. The rule
also grists the input files now, avoiding problems with equally named
resource files in different directories.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2739 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-17 17:08:34 +00:00
Philippe Houdoin
f790124713
Allow to link shared objects against the pseudo image name _APP_ and _KERNEL_.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2456 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-14 21:44:58 +00:00
Axel Dörfler
a8687de4ad
Added a _ASSEMBLER define in the assembler rule, so that we can differentiate
...
in a header if it was included from assembler or not (if anybody knows a better
way how to solve this, feel free to speak, I haven't found anything :).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2367 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-06 08:30:40 +00:00
Ingo Weinhold
9b60a208f3
Worked around a Jam problem: The ObjectHdrs rule doesn't adjust the HDRSEARCH variable and thus header files may not be found while header scanning.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2202 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-09 12:43:02 +00:00
beveloper
0ff867c242
if you specify DEBUG as environment variable, the DEBUG macro
...
will be defined with the same value.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2101 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-28 14:06:11 +00:00
Ingo Weinhold
fbd28219aa
Merged in FreeType 2.1.2 -> 2.1.3 differences. Resolved conflicts.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2041 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-20 21:40:01 +00:00
Ingo Weinhold
4ff6d49f35
Added setting of the variables for header and jamfile cache files and moved BuildConfig into build/.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2026 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-20 00:46:04 +00:00
Ingo Weinhold
54b7cbe14d
Now MergeObjectFromObjects adds grist to the to be merged objects.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1992 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-18 01:21:30 +00:00
shatty
cfc7b456d2
added missing E-mail header and updated os_includes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1965 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-16 21:58:48 +00:00
Ingo Weinhold
dd9f80626c
* Removed invocations of SetupIncludes for the unit tests and removed the
...
`-nostdinc' flag from the CCFLAGS and C++FLAGS in R5Objects. The R5 tests
must be compiled with the system header.
* Introduced SetupR5Includes which simply clears HDRS.
* Fixed rule Filter.
* Removed some unnecessary `""' in CCFLAGS and C++FLAGS assignments.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1948 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-15 20:22:35 +00:00
Ingo Weinhold
d391d2eb6e
Added AbsSymLink rule.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1941 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-14 23:09:18 +00:00
Axel Dörfler
807212446d
Added new rules MergeObject, MergeObjectFromObjects, and KernelMergeObject.
...
Fixed the syntax comment in KernelLd.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1840 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-04 18:52:21 +00:00
beveloper
089a062916
avoid building too long command lines (still not perfect)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1778 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-30 02:13:21 +00:00
beveloper
3b4190ab3f
simplified, since SetupIncludes can now be called multiple times
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1707 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 22:12:48 +00:00
Daniel Reinhold
28d2a30e96
oops.. accidentally overwrote changes by Marcus -- they're back in now
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1693 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 20:23:12 +00:00
Daniel Reinhold
be36cedec2
added system private header 'libroot' so that headers/private/kernel doesn't become filled with non-kernel library stuff
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1692 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 20:13:01 +00:00
beveloper
c00c7b2eed
changed once again to better handle global include directories
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1690 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 19:40:17 +00:00
beveloper
5906bda96f
a bad hack to get cppunit testlibrary build
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1658 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 16:19:25 +00:00
beveloper
a6c008e1b9
modified to build without external BeOS headers on the host system
...
(well, nearly)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1627 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 19:23:01 +00:00
Ingo Weinhold
21df594501
* MakeLocateObjects: The comment implied that the supplied file names
...
needed to be gristed, but actually all invocations supplied ungristed
files. The rule does add grist itself now.
* Added SharedLibraryFromObjects rule.
* Fixed a serious bug in ObjectReference.
* Added rules and variables needed for building the FreeType2 library.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1489 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-12 15:15:38 +00:00
shatty
1419ae2b19
changed ordering of SetVersion and MimeSet to fix application version nuking.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1316 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-30 21:16:18 +00:00
beveloper
405439be5c
unified Bochs debugging option
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1304 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-30 02:23:36 +00:00