a) Make main Jamfile more easier to understand to new (and old even) developers.
Currently it looks a little too messy compared to usual Haiku's jamfiles.
b) Get ride of app.src, interface.src, storage.src and support.src includes files.
c) Move each kit objects files built back to their respective
objects/x86.R1/kits/{app|interface|storage|support} location.
d) Move private headers and source search hints back to each respective kit
Jamfiles. Most of them, at least.
{app|interface|storage|support}.src files effective deletion will come soon.
Hope I didn't break all *again* :-\
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13901 a95241bf-73f2-0310-859d-f6bbb57e9c96
92 lines
2.6 KiB
Plaintext
92 lines
2.6 KiB
Plaintext
SubDir OBOS_TOP src kits ;
|
|
|
|
# If defined allows to run applications without the registrar
|
|
# -- for development only, of course.
|
|
if $(RUN_WITHOUT_REGISTRAR) {
|
|
local defines = [ FDefines RUN_WITHOUT_REGISTRAR ] ;
|
|
SubDirCcFlags $(defines) ;
|
|
SubDirC++Flags $(defines) ;
|
|
}
|
|
|
|
# If defined allows to run applications without the app server
|
|
# -- needed until the app server runs on our kernel.
|
|
RUN_WITHOUT_APP_SERVER ?= 0 ;
|
|
if $(RUN_WITHOUT_APP_SERVER) != 0 {
|
|
local defines = [ FDefines RUN_WITHOUT_APP_SERVER ] ;
|
|
SubDirCcFlags $(defines) ;
|
|
SubDirC++Flags $(defines) ;
|
|
}
|
|
|
|
UsePrivateHeaders [ FDirName kernel util ] ; # For KMessage.h
|
|
UsePrivateHeaders syslog_daemon ; # For syslog.cpp
|
|
|
|
SEARCH on [ FGristFiles KMessage.cpp ]
|
|
= [ FDirName $(OBOS_TOP) src system kernel messaging ] ;
|
|
|
|
# Build our libbe.so
|
|
|
|
AddResources libbe.so : libbe_version.rdef ;
|
|
|
|
SharedLibrary be :
|
|
KMessage.cpp
|
|
:
|
|
<libbe>app_kit.o
|
|
<libbe>interface_kit.o
|
|
<libbe>storage_kit.o
|
|
<libbe>storage_diskdevice_kit.o
|
|
<libbe>support_kit.o
|
|
|
|
libroot.so # make sure it links against our libroot.so
|
|
stdc++.r4
|
|
;
|
|
|
|
MakeLocate <develop>libbe.so : $(OBOS_STLIB_DIR) ;
|
|
RelSymLink <develop>libbe.so : libbe.so ;
|
|
|
|
# Build libopenbeos.so
|
|
|
|
SEARCH on [ FGristFiles syslog.cpp ]
|
|
= [ FDirName $(OBOS_TOP) src system libroot posix ] ;
|
|
|
|
SharedLibrary openbeos :
|
|
syslog.cpp
|
|
:
|
|
<libbe>app_kit.o
|
|
<libbe>interface_kit.o
|
|
<libbe>storage_kit.o
|
|
<libbe>support_kit.o
|
|
|
|
libbeadapter.so
|
|
net
|
|
stdc++.r4
|
|
;
|
|
|
|
# Note: If you want to use /boot/home/config/lib/libopenbeos.so in another
|
|
# rule, use the identifier <boot!home!config!lib>libopenbeos.so, otherwise
|
|
# libopenbeos.so.
|
|
|
|
LOCATE on <boot!home!config!lib>libopenbeos.so
|
|
<boot!home!config!lib>libbeadapter.so = /boot/home/config/lib ;
|
|
File <boot!home!config!lib>libopenbeos.so : libopenbeos.so ;
|
|
File <boot!home!config!lib>libbeadapter.so : libbeadapter.so ;
|
|
Includes <boot!home!config!lib>libopenbeos.so
|
|
: <boot!home!config!lib>libbeadapter.so ;
|
|
|
|
SubInclude OBOS_TOP src kits app ;
|
|
SubInclude OBOS_TOP src kits debug ;
|
|
SubInclude OBOS_TOP src kits device ;
|
|
SubInclude OBOS_TOP src kits game ;
|
|
SubInclude OBOS_TOP src kits interface ;
|
|
SubInclude OBOS_TOP src kits mail ;
|
|
SubInclude OBOS_TOP src kits media ;
|
|
SubInclude OBOS_TOP src kits midi ;
|
|
SubInclude OBOS_TOP src kits midi2 ;
|
|
SubInclude OBOS_TOP src kits network ;
|
|
SubInclude OBOS_TOP src kits opengl ;
|
|
SubInclude OBOS_TOP src kits screensaver ;
|
|
SubInclude OBOS_TOP src kits storage ;
|
|
SubInclude OBOS_TOP src kits support ;
|
|
SubInclude OBOS_TOP src kits textencoding ;
|
|
SubInclude OBOS_TOP src kits tracker ;
|
|
SubInclude OBOS_TOP src kits translation ;
|