Commit Graph

145 Commits

Author SHA1 Message Date
Ingo Weinhold 16df67022a Fixed UseArchHeaders.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11337 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-11 04:46:14 +00:00
Philippe Houdoin bc10030ef0 Added lib[b]netapi.so to NETWORK_LIBS.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11123 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-29 15:06:22 +00:00
Ingo Weinhold b8ab94faaa An even nicer solution for the UnarchiveObjects actions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11058 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 02:07:39 +00:00
Axel Dörfler 271174f273 Fixed the UnarchiveObjects rule so that it can handle any extensions (and
not just .o - newer GCC releases seem to have .oS objects in libgcc.a).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11057 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 01:48:50 +00:00
Axel Dörfler b1e5b60ccf Divided BuildConfig into three files: BuildConfig, Timezones, and libgccObjects.
That makes fine tuning any of them a nicer experience.
You have to rerun ./configure in order to build anything.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11056 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 01:34:37 +00:00
Axel Dörfler b217d989e7 Removed now unnecessary comment.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10799 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 15:39:34 +00:00
Ingo Weinhold d5807053ee * Now the DEBUG_PRINTF variable can be set to cause the macro
DEBUG_PRINTF to be defined.
* Fixed KernelAddon rule: Now not the file but the target kernel.so is
  specified for linking the add-on against, which results in proper
  dependencies. Axel: Want to clarify the ToDo comment?


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10754 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 21:32:51 +00:00
Jérôme Duval 025d0733f2 It seems libRK and libCanna don't like this CCFLAGS position
Hope it doesn't break anything


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10526 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-23 21:30:32 +00:00
Axel Dörfler 4d74cda31c __HAIKU__ is now always defined for the kernel build rules.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10505 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-20 13:52:57 +00:00
Matthew Wilber c407191357 Added rule for building screen savers
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10391 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-11 21:58:09 +00:00
shatty 2506bbb6f3 utilize SELECT_UNAME_ETC_LIB
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10283 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-29 00:19:29 +00:00
shatty a104c31b99 define __HAIKU__ for haiku target platform
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10282 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-28 23:30:28 +00:00
shatty 39a01fbb29 allow resources as a fourth argument to the App rule, similar to the BinCommand
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10144 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 02:31:30 +00:00
shatty 6040be9931 use NETWORK_LIBS for linking, define BUILDING_R5_LIBNET if necessary
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10059 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-20 21:10:54 +00:00
Ingo Weinhold 081debe878 Fixed treatment of source files in UseArchObjectHeaders and SourceHdrs. Grist/object suffix were not set correctly.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10026 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-19 15:42:06 +00:00
Ingo Weinhold 94a49b214b Fixed SetupKernel. SourceHdrs is best invoked on source files, otherwise
HDRSEARCH won't be set on the sources which may cause header dependencies
to be missing.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10010 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-18 15:59:02 +00:00
shatty 4bb1944270 remove global activation of COMPILE_FOR_R5 based on TARGET_PLATFORM ; require TARGET_PLATFORM to be set
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9919 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-11 10:52:14 +00:00
Jérôme Duval 69f792c6bc added COMPILE_FOR_R5 flag for C too
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9705 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-01 14:16:34 +00:00
Ingo Weinhold c0e501e020 Pulled the subdirectory specific part out of SetupKernel and changed the remaining functionality to really apply to objects. This does now really give us those headers and flags whereever we use a *Kernel* rule, unlike before. Added the root dir of the private headers to the general header search dirs. This simplifies some things a bit (like using syscalls.h).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9630 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-29 01:27:11 +00:00
Ingo Weinhold df48dfeda2 Generally enable RTTI in the kernel -- by linking against libgcc.a we get it for free. Better recompile the complete kernel or you might get linker errors when using old objects with missing type_info. For the boot loader we'll have to explicitly disable RTTI though -- respective commits follow...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9564 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-28 16:01:16 +00:00
shatty a17b9c0c08 improved platform targeting
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9497 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-25 08:44:06 +00:00
shatty 894d1636cf define ARCH_ppc for TARGET_CPU ppc, ARCH_x86 for TARGET_CPU x86
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9473 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-24 09:08:02 +00:00
shatty b560211bcf use LocalDepends for packages instead of Depends
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9472 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-24 02:57:22 +00:00
shatty be1aef42d3 when target platform is r5, define COMPILE_FOR_R5
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9388 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-18 03:01:19 +00:00
Axel Dörfler 53cf6d7a5c Added a BUILD_LIBSTDC++ variable for apps that have to run in the build
environment and have to link against libstc++.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8903 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-10 18:27:29 +00:00
Ingo Weinhold 121af366ad Renamed FObjectsDir to FCurrentObjectsDir and introduced a new FObjectsDir.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8690 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-28 20:03:01 +00:00
Axel Dörfler c3f13647f6 Removes grist from StdBinCommands targets. You're now easily able to build
specific commands only.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8555 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-13 16:20:16 +00:00
Ingo Weinhold 6f43f04d50 Removed LinkStaticOSLibs. It wasn't used, and LinkSharedOSLibs is the rule that rulez anyway. ;-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8546 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-10 21:51:13 +00:00
Axel Dörfler 3c71865a51 The UnarchiveObjects rule now works with R5's "ar" as well.
Now uses jam's ":D" variable expansion instead of "dirname".


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8529 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-02 18:31:08 +00:00
Axel Dörfler 705fc998ca Adds grist to the LIBGCC_OBJECTS files.
Added UnarchiveObjects rule that dearchives "ar"-archives.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8311 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-05 18:34:35 +00:00
Jérôme Duval cec8c8b59e moved from .cpp.h to .hpp for bison generated header, still compatible with R5 bison
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8208 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-27 23:37:06 +00:00
DarkWyrm 9ec866ccb4 Added a directory to the FT_LIB build rule to account for LXW stream support added in 2.1.8
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8127 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-22 14:18:32 +00:00
Ingo Weinhold 79b4983458 Refactored rule SetupObjectsDir. New rule FObjectsDir.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7997 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-15 22:13:34 +00:00
beveloper 2abad45e2d Allow compiling unit tests on Zeta. Instead of fixing the PostMessage()
issues, they deprecated that nice function. This will enable it again.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7937 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-12 22:09:38 +00:00
Axel Dörfler 600203b105 Added the ability to link against static libraries for both, the R5KernelAddon
and the KernelAddon rule.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7798 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 13:55:34 +00:00
Axel Dörfler 99b8dab3b9 Added the "app" directory to the kernel includes to be able to access
AppDefs.h (for B_QUERY_UPDATE, etc.).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7796 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 13:35:31 +00:00
Jérôme Duval 11fa368294 BinCommand and StdBinCommand rules now accept a resource file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7715 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-01 09:10:21 +00:00
Stefano Ceccherini aa19f785d4 Added the __INTEL__ define in the Jamrules. That way, it's easier to compile on platform different from BeOS (i.e. linux)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7623 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-20 07:23:18 +00:00
Axel Dörfler 811903d10c Added a rule that builds a kernel add-on which links against our kernel.
That makes it possible to use functions not available in the original R5
kernel.
Might be a hack, but it seems to work.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7620 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-19 23:59:41 +00:00
beveloper e91f3ca1a7 Added a new Jamfile rule, called SubIncludeGPL, which can be used to conditionally
include GPL licensed add-ons into the build. As GPL licensed add-ons may not be
used with non GPL compatible applications, this rule normally is not invoked when
building the tree. However, if the user is sure that he only uses GPL compatible
software, he can use the new ./configure option --include-gpl-addons to enable
the including of GPL licensed addons that are integrated by SubIncludeGPL instead
of SubInclude.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6919 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-06 22:39:28 +00:00
Axel Dörfler ea7627e5a8 I believe these must be defined for the kernel build. I have no idea
why they weren't yet - BTW this fixes the boot_loader build.
If anyone has a better idea about _KERNEL_MODE, please yell!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6597 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-15 18:07:11 +00:00
Philippe Houdoin 8042d2a0f8 More space in paths awareness.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6343 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 08:17:04 +00:00
Philippe Houdoin 15716fddcb Space in path awareness...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6156 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-19 22:16:16 +00:00
shatty 82bec102a8 grist is required for the non-zipped files in order to distinguish between the README.html for neomagic vs. nvidia, for example
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5953 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-07 03:43:28 +00:00
shatty bacf687270 fix for constantly rebuilding app_server
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5836 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-30 22:26:26 +00:00
Ingo Weinhold c06f365f26 * Added jam 2.5 rc3 MakeLocate rule.
* Fixed the Package* rules.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5740 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-23 17:23:18 +00:00
shatty 5c4135222d fix local depends in Copy and zip up symlinks properly in PackageInstallZip
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5738 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-23 04:02:41 +00:00
shatty 51fe1be4f7 tracker-friendly install script
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5732 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-22 22:17:38 +00:00
shatty 9b7a4b5d84 simple alpha/beta tester packages version 1
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5705 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-18 16:46:57 +00:00
Ingo Weinhold 7669b69fd4 Added a new flag to the parameters of the *SymLink rules specifying
whether or not the symlink shall be made a dependency of the pseudo target
`files' (i.e. will be made by default) and shall be removed upon `jam
clean'.
Fixed the symlink installation rules to always pass `false' for this param.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5538 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-02 21:59:35 +00:00