Commit Graph

172 Commits

Author SHA1 Message Date
Ingo Weinhold
af28904ff3 Fixed setting the target specific LINKFLAGS in Addon and SharedLibrary. Added the rule KernelAddon for, guess what, kernel add-ons. :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@222 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 16:38:21 +00:00
Ingo Weinhold
9fc6b2e18b Added rules SimpleTest, PrependObjectHdrs and Filter. The latter one is not
longer needed though.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@181 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-13 20:37:40 +00:00
Ingo Weinhold
08125d0764 * Commented out SetupIncludes in StaticLibrary.
* Added rules ObjectReference and ObjectReferences which allow for using
  another identifier referring to an object. In particular useful in
  combination with...
* Added *.o case in UserObject rule. It does simply nothing. This lets
  you add objects to the list of sources for Objects or Main rules. Very
  nice, if you want to (re-)use an object built in another directory.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@178 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-13 16:50:16 +00:00
David Reid
13be49117f Use the new drivers dir for headers.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@170 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 23:29:42 +00:00
Ingo Weinhold
2a83bfb482 Adjusted the KernelConfigSection and WriteConfigFile rules. Now the former eats arbitrary targets. Adjusted KernelLd to make use of it.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@165 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 22:53:42 +00:00
Ingo Weinhold
1eb18edf5f Fixed the "" I accidentially introduced in the KernelLd. Also removed them
from $(LINKLIBS), but wrapped $(NEEDLIBS) instead.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@162 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 21:16:33 +00:00
Ingo Weinhold
0931b8f939 * Wrapped filenames in all actions in "".
* Added Chmod1 to wrap the filename in "".
* Added rule RelSymLink that makes it easier to create a relative symlink
  between two targets.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@143 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 18:46:53 +00:00
beveloper
e5dc2d93a3 Adding suport to see warnings at compile time.
I'm not sure if this is added in the correct way, please fix it.
As many files generate warnigs, it's inactive by default.

To compile with enabled warnings, execute jam like this:

$ WARNINGS=true jam


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@141 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 16:47:41 +00:00
David Reid
c63f4a88da I'd prefer to use <support/Errors.h> but that doesn't work and the
easiest way to fix it was to use <Errors.h> and simply include the
header path in our build line.

Can someone on the buidl team please try and tell us what path's
are/aren't being used? No doubt it'll take about 100 messages and
a lot of violent arguing, but then maybe sanity will prevail? :)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@106 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 22:27:03 +00:00
Ingo Weinhold
f06de7f34f Added BinCommand and StdBinCommands rules.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@99 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 22:10:01 +00:00
David Reid
8059752e33 Add posix to kernel objects.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@81 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 14:58:03 +00:00
Ingo Weinhold
d25a77b4fe Added UsePosixHeaders and UsePosixObjectHeaders rules and added the POSIX headers in SetupIncludes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@80 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 11:58:30 +00:00
Ingo Weinhold
f63877e7f7 No SetupIncludes in Server rule.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@49 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 19:25:15 +00:00
Ingo Weinhold
78599cf01d Changed build target directory to \*.R1 and simplified AddResources rule.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@45 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 17:54:11 +00:00
Ingo Weinhold
7d7f280ed3 * Uncommented SetupIncludes in Addon. Same reason as with the others.
* Reintroduced Axel's fix to the public header dirs.
* Pulled the functionality to set the headers on object files out of
  Use*Headers and put it into new rules Use*ObjectHeaders. The usage differed
  too much.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@42 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 16:35:13 +00:00
Axel Dörfler
acea35dd63 That was too fast: "os" is added in the sub-Jamfiles (although I don't think
that's a good solution). Fixed.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@41 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 15:57:36 +00:00
Axel Dörfler
e9625b4b51 The "os" directory was missing from the UsePublicHeaders rule.
BTW the last change of this file requires updating your OBOS_TOP variable
to the current tree.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@40 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 15:55:05 +00:00
Ingo Weinhold
4236d49041 Improved LinkSharedOSLibs. It does now look, if a supplied "library" has a dirname or grist, which makes the rule handle it as if the basename would start with "lib". Needed e.g. when linking against servers.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@37 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 15:11:24 +00:00
Ingo Weinhold
3b9eae39d5 * Turned off optimization for unit tests. The Storage Kit tests were running
amok...
* Added rules SplitPath and SymLink used in the Storage Kit tests Jamfile.
* Removed the setting of CCFLAGS and C++FLAGS on the SystemMain target.
  This really doesn't made sense.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@23 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 01:54:50 +00:00
Ingo Weinhold
c633961ad2 Adjusted the Use*Headers rules to reflect the new header dir structure.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@13 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 20:11:42 +00:00
ejakowatz
5f281ed502 Well, I couldn't go to bed without making *something* build ... ;)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 13:40:32 +00:00
ejakowatz
52a3801208 It is accomplished ...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 12:24:59 +00:00