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 59UsePrivateHeaders storage mime ; 60 61SharedLibrary libbe_test.so : 62 : 63 <libbe!$(HAIKU_PACKAGING_ARCH)>app_kit.o 64 <libbe!$(HAIKU_PACKAGING_ARCH)>interface_kit.o 65 <libbe!$(HAIKU_PACKAGING_ARCH)>locale_kit.o 66 <libbe!$(HAIKU_PACKAGING_ARCH)>storage_kit.o 67 <libbe!$(HAIKU_PACKAGING_ARCH)>support_kit.o 68 69 [ MultiArchDefaultGristFiles libstorage_kit_mime.a ] 70 71 [ MultiArchDefaultGristFiles libicon.a ] 72 [ MultiArchDefaultGristFiles libagg.a ] 73 74 $(TARGET_LIBSTDC++) [ BuildFeatureAttribute icu : libraries ] 75; 76 77SEARCH_SOURCE += [ FDirName $(SUBDIR) interface ] ; 78SEARCH_SOURCE += [ FDirName $(SUBDIR) interface textview_support ] ; 79SEARCH_SOURCE += [ FDirName $(SUBDIR) shared ] ; 80 81DoCatalogs libbe.so 82 : x-vnd.Haiku-libbe 83 : 84 AboutMenuItem.cpp 85 AboutWindow.cpp 86 ColorControl.cpp 87 Dragger.cpp 88 Menu.cpp 89 PrintJob.cpp 90 StringForSize.cpp 91 TextView.cpp 92 ZombieReplicantView.cpp 93 ; 94 95#SEARCH on [ FGristFiles KMessage.cpp ] 96# = [ FDirName $(HAIKU_TOP) src system kernel messaging ] ; 97# 98#SEARCH on [ FGristFiles syslog.cpp ] 99# = [ FDirName $(HAIKU_TOP) src system libroot posix ] ; 100 101 102SubInclude HAIKU_TOP src kits app ; 103SubInclude HAIKU_TOP src kits bluetooth ; 104SubInclude HAIKU_TOP src kits debug ; 105SubInclude HAIKU_TOP src kits device ; 106SubInclude HAIKU_TOP src kits game ; 107SubInclude HAIKU_TOP src kits interface ; 108SubInclude HAIKU_TOP src kits locale ; 109SubInclude HAIKU_TOP src kits mail ; 110SubInclude HAIKU_TOP src kits media ; 111SubInclude HAIKU_TOP src kits midi ; 112SubInclude HAIKU_TOP src kits midi2 ; 113SubInclude HAIKU_TOP src kits network ; 114SubInclude HAIKU_TOP src kits package ; 115SubInclude HAIKU_TOP src kits print ; 116SubInclude HAIKU_TOP src kits screensaver ; 117SubInclude HAIKU_TOP src kits shared ; 118SubInclude HAIKU_TOP src kits storage ; 119SubInclude HAIKU_TOP src kits support ; 120SubInclude HAIKU_TOP src kits textencoding ; 121SubInclude HAIKU_TOP src kits tracker ; 122SubInclude HAIKU_TOP src kits translation ; 123