Commit Graph

208 Commits

Author SHA1 Message Date
Ingo Weinhold
ad3ffd1227 BuildPlatformMain now uses the original DEFINES. Otherwise we e.g. get __HAIKU__ although compiling under R5.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13420 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-04 11:14:31 +00:00
Philippe Houdoin
0017390797 Add dependency to the pseudotarget 'obj' to improve MergeObjectFromObjects rule.
Thanks to Ingo for the hint.
 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13286 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-26 21:52:51 +00:00
Jérôme Duval
0e16d351bf Reverted Jambase to keep jam compatibility
StaticLibraryFromObjects is a copy-paste of LibraryFromObjects without grist on source files


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13199 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-17 11:41:18 +00:00
Jérôme Duval
1cc148a946 added opengl to SetupInclude
StaticLibrary now accepts static libraries to include (note that jam should be rebuilt)
LibraryFromObjects doesn't FGristFiles now, but Library does


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13119 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-14 15:22:55 +00:00
Jérôme Duval
18c3ce0778 added a resource parameter to Preference rule
updated Jamfiles to take this into account


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12993 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-07 16:19:59 +00:00
Jérôme Duval
f35b607dd6 docbook files go in objects dir
added a doc_files target
spaces in directory names don't please path xsltproc syntax


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12667 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-15 01:44:35 +00:00
Jérôme Duval
95086a3efd added Man2Doc rules
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12657 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-13 15:42:21 +00:00
Andrew Bachmann
1ac083d932 add NETAPI_LIB and use it to build HP JetDirect printer transport
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12541 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-02 22:19:07 +00:00
Axel Dörfler
d67e6bc8a2 Fixed the build of several network apps under R5:
- removed libnetapi.so from $NETWORK_LIBS - it's not used by anyone anyway,
  and it's definitely not necessary to link against it by default.
  Note, this might cause problems in some of the mail add-ons; I haven't
  tested this.
- route/ping/... now also link against $SELECT_UNAME_ETC_LIB

makehdimage should now work again under all BeOS platforms.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12325 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-12 04:22:55 +00:00
Ingo Weinhold
99801d4a88 * Added variables KERNEL_C++_SUPPORT_LIBS and STL_HEADERS to aid support
for building under Linux.
* Tried to get the header setup into a shape that would allow us to build
  under Linux with gcc 3.x. But I give up for the moment. The C++ support
  headers don't seem to be separate from the STL headers, which makes it
  virtually impossible to use our STL together with gcc 3.x.
  Worse, I don't even think, how we build under BeOS at the moment is
  correct. The _G_config.h (glibc configuration) header is included from
  some public headers, but is itself not made available. This causes the
  R5 header to be used, which belongs to a completely different glibc
  version. But when building our libroot we use the new header. I wouldn't
  be surprised, if that could cause all kinds of subtle problems. Maybe
  even the STL string problem I encountered recently.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11607 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-06 17:03:29 +00:00
Axel Dörfler
979afc6fa4 Exchanged -no-fpic with -fno-pic - AFAICT these should be the same, but
GCC/ppc only understands the latter (more correct) version.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11578 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-05 14:11:02 +00:00
Ingo Weinhold
3844cf706a * New variable DEBUG_FLAGS which can be used to specify the gcc debug
flags to be used. Defaults to -g. You might want to use -ggdb with
  gcc 3.x.
* Added variable C++_SUPPORT_LIBS. Is set to sup++ for gcc 3.x.
* ResComp can be built under BeOS only at the moment.
* Define _NO_INLINE_ASM when building for the build platform. Is not
  strictly necessary under BeOS, but helps under Linux.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11561 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-03 23:15:44 +00:00
Ingo Weinhold
8dc98d6d85 BuildPlatformMain has a new boolean parameter to disable resetting the header search paths.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11546 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-03 00:38:19 +00:00
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
Ingo Weinhold
2fbd706501 Added another parameter to the *MergeObject* rules, through which libraries/objects to be merged can be passed, whose names won't be gristed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5239 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-02 22:41:27 +00:00
Ingo Weinhold
60c9c40fc9 Whoa, it seems I completely forgot to check that in.
* Changed StaticLibrary and SharedLibrary to allow grist for the
  library name. It will be appended to the constructed name.
* Changed the default of the third parameter of StaticLibrary to
  the objects directory. Moreover the literal string STATIC_LIBRARY_DIR
  can be supplied in which case the respective directory in the distro
  tree is used. Other values are used unmodified.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5214 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-30 20:43:32 +00:00
Axel Dörfler
bbb6f2d463 Lets the boot loader compile under GCC 3 (and possibly other C++ kernel
components).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4999 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-12 21:04:53 +00:00
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