haiku/src/kits/Jamfile
Adrien Destugues c2dcc4d500 Get test_app_server to run again
* We should have the buildbots compile this to make sure it still works
* I had to split two ServerApp methods to a searate C++ file to link
them in libtestappserver.so
* some fixes related to the switch to PM and better hybrid support in
jam rules; moving of MIME stuff from registrar to storage kit, merge of
Locale Kit and ICU in libbe, and a few more.
* Modified the test_app_server hwinterface and rdef file so it is not a
background app, and the window isn't floating. Otherwise, hiding the
window would leave you without a way to recover it.
2014-01-22 11:12:22 +01:00

123 lines
3.4 KiB
Plaintext

SubDir HAIKU_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 app interface kernel locale print shared ;
# Build our libbe.so
local architectureObject ;
for architectureObject in [ MultiArchSubDirSetup ] {
on $(architectureObject) {
local architecture = $(TARGET_PACKAGING_ARCH) ;
local libbe = [ MultiArchDefaultGristFiles libbe.so ] ;
AddResources $(libbe) :
libbe_version.rdef CountryFlags.rdef LanguageFlags.rdef
;
SetVersionScript $(libbe) : libbe_versions ;
SharedLibrary $(libbe) : :
<libbe!$(architecture)>app_kit.o
<libbe!$(architecture)>interface_kit.o
<libbe!$(architecture)>locale_kit.o
<libbe!$(architecture)>storage_kit.o
<libbe!$(architecture)>support_kit.o
[ MultiArchDefaultGristFiles libstorage_kit_mime.a ]
[ MultiArchDefaultGristFiles libicon.a ]
[ MultiArchDefaultGristFiles libagg.a ]
$(TARGET_LIBSTDC++) [ BuildFeatureAttribute icu : libraries ]
;
}
}
# Build libbe_test.so
SetSupportedPlatformsForTarget libbe_test.so : libbe_test ;
SetVersionScript libbe_test.so : libbe_test_versions ;
UsePrivateHeaders storage mime ;
SharedLibrary libbe_test.so :
:
<libbe!$(HAIKU_PACKAGING_ARCH)>app_kit.o
<libbe!$(HAIKU_PACKAGING_ARCH)>interface_kit.o
<libbe!$(HAIKU_PACKAGING_ARCH)>locale_kit.o
<libbe!$(HAIKU_PACKAGING_ARCH)>storage_kit.o
<libbe!$(HAIKU_PACKAGING_ARCH)>support_kit.o
[ MultiArchDefaultGristFiles libstorage_kit_mime.a ]
[ MultiArchDefaultGristFiles libicon.a ]
[ MultiArchDefaultGristFiles libagg.a ]
$(TARGET_LIBSTDC++) [ BuildFeatureAttribute icu : libraries ]
;
SEARCH_SOURCE += [ FDirName $(SUBDIR) interface ] ;
SEARCH_SOURCE += [ FDirName $(SUBDIR) interface textview_support ] ;
SEARCH_SOURCE += [ FDirName $(SUBDIR) shared ] ;
DoCatalogs libbe.so
: x-vnd.Haiku-libbe
:
AboutMenuItem.cpp
AboutWindow.cpp
ColorControl.cpp
Dragger.cpp
Menu.cpp
PrintJob.cpp
StringForSize.cpp
TextView.cpp
ZombieReplicantView.cpp
;
#SEARCH on [ FGristFiles KMessage.cpp ]
# = [ FDirName $(HAIKU_TOP) src system kernel messaging ] ;
#
#SEARCH on [ FGristFiles syslog.cpp ]
# = [ FDirName $(HAIKU_TOP) src system libroot posix ] ;
SubInclude HAIKU_TOP src kits app ;
SubInclude HAIKU_TOP src kits bluetooth ;
SubInclude HAIKU_TOP src kits debug ;
SubInclude HAIKU_TOP src kits device ;
SubInclude HAIKU_TOP src kits game ;
SubInclude HAIKU_TOP src kits interface ;
SubInclude HAIKU_TOP src kits locale ;
SubInclude HAIKU_TOP src kits mail ;
SubInclude HAIKU_TOP src kits media ;
SubInclude HAIKU_TOP src kits midi ;
SubInclude HAIKU_TOP src kits midi2 ;
SubInclude HAIKU_TOP src kits network ;
SubInclude HAIKU_TOP src kits package ;
SubInclude HAIKU_TOP src kits print ;
SubInclude HAIKU_TOP src kits screensaver ;
SubInclude HAIKU_TOP src kits shared ;
SubInclude HAIKU_TOP src kits storage ;
SubInclude HAIKU_TOP src kits support ;
SubInclude HAIKU_TOP src kits textencoding ;
SubInclude HAIKU_TOP src kits tracker ;
SubInclude HAIKU_TOP src kits translation ;