2002-07-10 01:38:17 +04:00
|
|
|
SubDir OBOS_TOP src kits ;
|
|
|
|
|
2004-07-06 01:55:56 +04:00
|
|
|
# If defined allows to run applications without the registrar
|
2004-01-13 03:31:23 +03:00
|
|
|
# -- for development only, of course.
|
|
|
|
if $(RUN_WITHOUT_REGISTRAR) {
|
|
|
|
local defines = [ FDefines RUN_WITHOUT_REGISTRAR ] ;
|
|
|
|
SubDirCcFlags $(defines) ;
|
|
|
|
SubDirC++Flags $(defines) ;
|
|
|
|
}
|
|
|
|
|
2004-08-29 00:18:31 +04:00
|
|
|
# If defined allows to run applications without the app server
|
|
|
|
# -- needed until the app server runs on our kernel.
|
2005-03-31 15:09:51 +04:00
|
|
|
RUN_WITHOUT_APP_SERVER ?= 0 ;
|
|
|
|
if $(RUN_WITHOUT_APP_SERVER) != 0 {
|
2004-08-29 00:18:31 +04:00
|
|
|
local defines = [ FDefines RUN_WITHOUT_APP_SERVER ] ;
|
|
|
|
SubDirCcFlags $(defines) ;
|
|
|
|
SubDirC++Flags $(defines) ;
|
|
|
|
}
|
|
|
|
|
2005-08-05 13:56:03 +04:00
|
|
|
UsePrivateHeaders [ FDirName kernel util ] ; # For KMessage.h
|
|
|
|
UsePrivateHeaders syslog_daemon ; # For syslog.cpp
|
2002-07-10 01:38:17 +04:00
|
|
|
|
2005-08-05 13:56:03 +04:00
|
|
|
# Build our libbe.so
|
2004-10-29 05:43:16 +04:00
|
|
|
|
2005-07-10 00:52:00 +04:00
|
|
|
AddResources libbe.so : libbe_version.rdef ;
|
|
|
|
|
2004-07-06 01:55:56 +04:00
|
|
|
SharedLibrary be :
|
2005-08-05 13:56:03 +04:00
|
|
|
KMessage.cpp
|
|
|
|
:
|
|
|
|
<libbe>app_kit.o
|
|
|
|
<libbe>interface_kit.o
|
|
|
|
<libbe>storage_kit.o
|
|
|
|
<libbe>storage_diskdevice_kit.o
|
|
|
|
<libbe>support_kit.o
|
2005-07-29 03:39:18 +04:00
|
|
|
|
2004-07-06 01:55:56 +04:00
|
|
|
libroot.so # make sure it links against our libroot.so
|
|
|
|
stdc++.r4
|
|
|
|
;
|
|
|
|
|
2005-08-05 13:56:03 +04:00
|
|
|
MakeLocate <develop>libbe.so : $(OBOS_STLIB_DIR) ;
|
|
|
|
RelSymLink <develop>libbe.so : libbe.so ;
|
|
|
|
|
|
|
|
# Build libopenbeos.so
|
|
|
|
|
|
|
|
SharedLibrary openbeos :
|
2005-08-05 21:18:07 +04:00
|
|
|
KMessage.cpp
|
2005-08-05 13:56:03 +04:00
|
|
|
syslog.cpp
|
|
|
|
:
|
|
|
|
<libbe>app_kit.o
|
|
|
|
<libbe>interface_kit.o
|
|
|
|
<libbe>storage_kit.o
|
|
|
|
<libbe>support_kit.o
|
2005-07-01 19:46:17 +04:00
|
|
|
|
2002-09-03 05:08:53 +04:00
|
|
|
libbeadapter.so
|
2005-07-29 03:39:18 +04:00
|
|
|
net
|
2004-07-06 01:55:56 +04:00
|
|
|
stdc++.r4
|
|
|
|
;
|
2002-07-10 01:38:17 +04:00
|
|
|
|
2005-08-05 21:18:07 +04:00
|
|
|
SEARCH on [ FGristFiles KMessage.cpp ]
|
|
|
|
= [ FDirName $(OBOS_TOP) src system kernel messaging ] ;
|
|
|
|
|
|
|
|
SEARCH on [ FGristFiles syslog.cpp ]
|
|
|
|
= [ FDirName $(OBOS_TOP) src system libroot posix ] ;
|
|
|
|
|
2002-07-10 01:38:17 +04:00
|
|
|
# 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.
|
2005-08-05 13:56:03 +04:00
|
|
|
|
2002-09-03 05:08:53 +04:00
|
|
|
LOCATE on <boot!home!config!lib>libopenbeos.so
|
|
|
|
<boot!home!config!lib>libbeadapter.so = /boot/home/config/lib ;
|
2002-07-17 03:27:01 +04:00
|
|
|
File <boot!home!config!lib>libopenbeos.so : libopenbeos.so ;
|
2002-09-03 05:08:53 +04:00
|
|
|
File <boot!home!config!lib>libbeadapter.so : libbeadapter.so ;
|
|
|
|
Includes <boot!home!config!lib>libopenbeos.so
|
|
|
|
: <boot!home!config!lib>libbeadapter.so ;
|
2002-07-10 01:38:17 +04:00
|
|
|
|
|
|
|
SubInclude OBOS_TOP src kits app ;
|
2005-03-21 01:04:04 +03:00
|
|
|
SubInclude OBOS_TOP src kits debug ;
|
2005-08-05 13:56:03 +04:00
|
|
|
SubInclude OBOS_TOP src kits device ;
|
|
|
|
SubInclude OBOS_TOP src kits game ;
|
2002-07-10 01:38:17 +04:00
|
|
|
SubInclude OBOS_TOP src kits interface ;
|
2004-09-21 02:31:50 +04:00
|
|
|
SubInclude OBOS_TOP src kits mail ;
|
2002-07-11 23:54:20 +04:00
|
|
|
SubInclude OBOS_TOP src kits media ;
|
2002-07-12 01:05:38 +04:00
|
|
|
SubInclude OBOS_TOP src kits midi ;
|
2002-10-31 11:53:41 +03:00
|
|
|
SubInclude OBOS_TOP src kits midi2 ;
|
2005-08-05 13:56:03 +04:00
|
|
|
SubInclude OBOS_TOP src kits network ;
|
|
|
|
SubInclude OBOS_TOP src kits opengl ;
|
2002-07-12 01:05:38 +04:00
|
|
|
SubInclude OBOS_TOP src kits screensaver ;
|
2005-08-05 13:56:03 +04:00
|
|
|
SubInclude OBOS_TOP src kits storage ;
|
2002-07-10 01:38:17 +04:00
|
|
|
SubInclude OBOS_TOP src kits support ;
|
2003-12-30 11:15:23 +03:00
|
|
|
SubInclude OBOS_TOP src kits textencoding ;
|
2005-05-23 04:58:42 +04:00
|
|
|
SubInclude OBOS_TOP src kits tracker ;
|
2005-08-05 13:56:03 +04:00
|
|
|
SubInclude OBOS_TOP src kits translation ;
|