1SubDir HAIKU_TOP src kits ; 2 3# If defined allows to run applications without the registrar 4# -- for development only, of course. 5if $(RUN_WITHOUT_REGISTRAR) { 6 local defines = [ FDefines RUN_WITHOUT_REGISTRAR ] ; 7 SubDirCcFlags $(defines) ; 8 SubDirC++Flags $(defines) ; 9} 10 11# If defined allows to run applications without the app server 12# -- needed until the app server runs on our kernel. 13RUN_WITHOUT_APP_SERVER ?= 0 ; 14if $(RUN_WITHOUT_APP_SERVER) != 0 { 15 local defines = [ FDefines RUN_WITHOUT_APP_SERVER ] ; 16 SubDirCcFlags $(defines) ; 17 SubDirC++Flags $(defines) ; 18} 19 20UsePrivateHeaders app interface kernel locale print shared ; 21 22# Build our libbe.so 23 24local architectureObject ; 25for architectureObject in [ MultiArchSubDirSetup ] { 26 on $(architectureObject) { 27 local architecture = $(TARGET_PACKAGING_ARCH) ; 28 local libbe = [ MultiArchDefaultGristFiles libbe.so ] ; 29 30 AddResources $(libbe) : 31 libbe_version.rdef CountryFlags.rdef LanguageFlags.rdef 32 ; 33 34 SetVersionScript $(libbe) : libbe_versions ; 35 36 SharedLibrary $(libbe) : : 37 <libbe!$(architecture)>app_kit.o 38 <libbe!$(architecture)>interface_kit.o 39 <libbe!$(architecture)>locale_kit.o 40 <libbe!$(architecture)>storage_kit.o 41 <libbe!$(architecture)>support_kit.o 42 43 [ MultiArchDefaultGristFiles libstorage_kit_mime.a ] 44 45 [ MultiArchDefaultGristFiles libicon.a ] 46 [ MultiArchDefaultGristFiles libagg.a ] 47 48 $(TARGET_LIBSTDC++) [ BuildFeatureAttribute icu : libraries ] 49 ; 50 } 51} 52 53# Build libbe_test.so 54 55SetSupportedPlatformsForTarget libbe_test.so : libbe_test ; 56 57SetVersionScript libbe_test.so : libbe_test_versions ; 58 59SharedLibrary libbe_test.so : 60 LocaleBackend.cpp 61 : 62 <libbe>app_kit.o 63 <libbe>interface_kit.o 64 <libbe>storage_kit.o 65 <libbe>support_kit.o 66 67 libicon.a 68 libagg.a 69 70 $(TARGET_LIBSTDC++) 71; 72 73SEARCH_SOURCE += [ FDirName $(SUBDIR) interface ] ; 74SEARCH_SOURCE += [ FDirName $(SUBDIR) interface textview_support ] ; 75SEARCH_SOURCE += [ FDirName $(SUBDIR) shared ] ; 76 77DoCatalogs libbe.so 78 : x-vnd.Haiku-libbe 79 : 80 AboutMenuItem.cpp 81 AboutWindow.cpp 82 ColorControl.cpp 83 Dragger.cpp 84 Menu.cpp 85 PrintJob.cpp 86 StringForSize.cpp 87 TextView.cpp 88 ZombieReplicantView.cpp 89 ; 90 91#SEARCH on [ FGristFiles KMessage.cpp ] 92# = [ FDirName $(HAIKU_TOP) src system kernel messaging ] ; 93# 94#SEARCH on [ FGristFiles syslog.cpp ] 95# = [ FDirName $(HAIKU_TOP) src system libroot posix ] ; 96 97 98SubInclude HAIKU_TOP src kits app ; 99SubInclude HAIKU_TOP src kits bluetooth ; 100SubInclude HAIKU_TOP src kits debug ; 101SubInclude HAIKU_TOP src kits device ; 102SubInclude HAIKU_TOP src kits game ; 103SubInclude HAIKU_TOP src kits interface ; 104SubInclude HAIKU_TOP src kits locale ; 105SubInclude HAIKU_TOP src kits mail ; 106SubInclude HAIKU_TOP src kits media ; 107SubInclude HAIKU_TOP src kits midi ; 108SubInclude HAIKU_TOP src kits midi2 ; 109SubInclude HAIKU_TOP src kits network ; 110SubInclude HAIKU_TOP src kits package ; 111SubInclude HAIKU_TOP src kits print ; 112SubInclude HAIKU_TOP src kits screensaver ; 113SubInclude HAIKU_TOP src kits shared ; 114SubInclude HAIKU_TOP src kits storage ; 115SubInclude HAIKU_TOP src kits support ; 116SubInclude HAIKU_TOP src kits textencoding ; 117SubInclude HAIKU_TOP src kits tracker ; 118SubInclude HAIKU_TOP src kits translation ; 119