Commit Graph

161 Commits

Author SHA1 Message Date
Andrew Bachmann
e0e43511c8 remove MakeLocate and MkDir1 which are in our Jambase. (make sure your jam is up to date from svn!)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14015 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-21 00:17:01 +00:00
Andrew Bachmann
200c6baf88 fix mkdir with spaces bug. change target directory based on debug and target platform. remove version variable and its one usage in target directory.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13997 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-20 19:54:37 +00:00
Ingo Weinhold
80cb793d80 Now you can define the environment variable NO_LIBRARY_DEPENDENCIES to
avoid all dependencies on libraries (that have been specified with
LinkSharedOSLibs or a rule that uses it).
This means you can now run a
  NO_LIBRARY_DEPENDENCIES=1 jam MyApp
to build MyApp without updating any library MyApp depends on, even if they
have changed. This is a feature for people who know what they are doing to
speed up development.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13483 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-06 10:03:42 +00:00
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