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.
|
|
|
|
if $(RUN_WITHOUT_APP_SERVER) {
|
|
|
|
local defines = [ FDefines RUN_WITHOUT_APP_SERVER ] ;
|
|
|
|
SubDirCcFlags $(defines) ;
|
|
|
|
SubDirC++Flags $(defines) ;
|
|
|
|
}
|
|
|
|
|
2002-09-03 05:08:53 +04:00
|
|
|
# Collect libopenbeos.so sources.
|
|
|
|
subdirs = app interface support storage ;
|
|
|
|
for subdir in $(subdirs) {
|
|
|
|
local dir = [ FDirName $(SUBDIR) $(subdir) ] ;
|
|
|
|
local file = $(subdir:S=.src) ;
|
|
|
|
include $(file:D=$(dir)) ;
|
|
|
|
UsePrivateHeaders $(subdir) ;
|
|
|
|
SEARCH_SOURCE += $(dir) ;
|
|
|
|
}
|
2002-07-10 01:38:17 +04:00
|
|
|
|
2003-09-03 01:55:48 +04:00
|
|
|
UsePrivateHeaders shared app [ FDirName servers app ] ;
|
2004-07-02 23:37:42 +04:00
|
|
|
UsePrivateHeaders kernel ;
|
|
|
|
# for syscalls.h
|
2004-08-18 19:41:33 +04:00
|
|
|
UsePrivateHeaders input ;
|
2002-07-10 01:38:17 +04:00
|
|
|
|
2002-09-03 05:08:53 +04:00
|
|
|
# Add subsubdirs to the SEARCH_SOURCE.
|
2002-12-03 20:19:25 +03:00
|
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) interface BTextView ] ;
|
2002-09-03 05:08:53 +04:00
|
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) storage mime ] ;
|
|
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) storage sniffer ] ;
|
2002-07-10 01:38:17 +04:00
|
|
|
|
2004-07-06 01:55:56 +04:00
|
|
|
LIBBE_SOURCE =
|
2002-09-03 05:08:53 +04:00
|
|
|
$(APP_KIT_SOURCE)
|
|
|
|
$(INTERFACE_KIT_SOURCE)
|
|
|
|
$(SUPPORT_KIT_SOURCE)
|
|
|
|
$(STORAGE_KIT_SOURCE)
|
2002-07-10 01:38:17 +04:00
|
|
|
;
|
|
|
|
|
2004-07-06 01:55:56 +04:00
|
|
|
SharedLibrary be :
|
|
|
|
$(LIBBE_SOURCE)
|
|
|
|
;
|
|
|
|
|
|
|
|
SharedLibraryFromObjects openbeos :
|
|
|
|
$(LIBBE_SOURCE:S=.o)
|
|
|
|
;
|
|
|
|
|
|
|
|
LinkSharedOSLibs libbe.so :
|
|
|
|
libroot.so # make sure it links against our libroot.so
|
|
|
|
stdc++.r4
|
|
|
|
;
|
|
|
|
|
2002-07-10 01:38:17 +04:00
|
|
|
LinkSharedOSLibs libopenbeos.so :
|
2002-09-03 05:08:53 +04:00
|
|
|
libbeadapter.so
|
2002-07-10 01:38:17 +04:00
|
|
|
be
|
2004-07-06 01:55:56 +04:00
|
|
|
stdc++.r4
|
|
|
|
;
|
2002-07-10 01:38:17 +04:00
|
|
|
|
2002-09-03 05:08:53 +04:00
|
|
|
# The adapter library we need (Storage Kit).
|
|
|
|
#
|
|
|
|
SharedLibrary beadapter :
|
|
|
|
LibBeAdapter.cpp
|
2004-07-05 16:41:37 +04:00
|
|
|
strlcat.c
|
|
|
|
strlcpy.c
|
2002-09-03 05:08:53 +04:00
|
|
|
;
|
|
|
|
LinkSharedOSLibs libbeadapter.so :
|
|
|
|
be
|
|
|
|
;
|
|
|
|
|
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.
|
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
|
|
|
|
2004-07-05 16:41:37 +04:00
|
|
|
SEARCH on [ FGristFiles
|
|
|
|
strlcat.c strlcpy.c
|
|
|
|
] = [ FDirName $(OBOS_TOP) src kernel libroot posix string ] ;
|
|
|
|
|
2002-07-10 01:38:17 +04:00
|
|
|
SubInclude OBOS_TOP src kits app ;
|
|
|
|
SubInclude OBOS_TOP src kits interface ;
|
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 ;
|
2002-07-12 01:05:38 +04:00
|
|
|
SubInclude OBOS_TOP src kits screensaver ;
|
2002-07-10 06:00:19 +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 ;
|
2002-07-10 01:38:17 +04:00
|
|
|
SubInclude OBOS_TOP src kits translation ;
|
2002-08-11 04:30:53 +04:00
|
|
|
SubInclude OBOS_TOP src kits device ;
|
|
|
|
SubInclude OBOS_TOP src kits game ;
|
2003-05-17 03:31:38 +04:00
|
|
|
SubInclude OBOS_TOP src kits network ;
|