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 [ FDirName kernel ] ; # For KMessage.h 21#UsePrivateHeaders syslog_daemon ; # For syslog.cpp 22UsePrivateHeaders libbe ; 23 24# Build our libbe.so 25 26AddResources libbe.so : libbe_version.rdef ; 27 28SetVersionScript libbe.so : libbe_versions ; 29 30SharedLibrary libbe.so : 31 LocaleBackend.cpp 32 : 33 <libbe>app_kit.o 34 <libbe>interface_kit.o 35 <libbe>storage_kit.o 36 <libbe>support_kit.o 37 38 libicon.a 39 libagg.a 40 41 libroot.so # make sure it links against our libroot.so 42 $(TARGET_LIBSTDC++) 43; 44 45# Build libbe_test.so 46 47SetSupportedPlatformsForTarget libbe_test.so : libbe_test ; 48 49SetVersionScript libbe_test.so : libbe_test_versions ; 50 51SharedLibrary libbe_test.so : 52 LocaleBackend.cpp 53 : 54 <libbe>app_kit.o 55 <libbe>interface_kit.o 56 <libbe>storage_kit.o 57 <libbe>support_kit.o 58 59 libicon.a 60 libagg.a 61 62 $(TARGET_LIBSTDC++) 63; 64 65#SEARCH on [ FGristFiles KMessage.cpp ] 66# = [ FDirName $(HAIKU_TOP) src system kernel messaging ] ; 67# 68#SEARCH on [ FGristFiles syslog.cpp ] 69# = [ FDirName $(HAIKU_TOP) src system libroot posix ] ; 70 71 72SubInclude HAIKU_TOP src kits app ; 73SubInclude HAIKU_TOP src kits bluetooth ; 74SubInclude HAIKU_TOP src kits debug ; 75SubInclude HAIKU_TOP src kits device ; 76SubInclude HAIKU_TOP src kits game ; 77SubInclude HAIKU_TOP src kits interface ; 78SubInclude HAIKU_TOP src kits locale ; 79SubInclude HAIKU_TOP src kits mail ; 80SubInclude HAIKU_TOP src kits media ; 81SubInclude HAIKU_TOP src kits midi ; 82SubInclude HAIKU_TOP src kits midi2 ; 83SubInclude HAIKU_TOP src kits network ; 84SubInclude HAIKU_TOP src kits notification ; 85SubInclude HAIKU_TOP src kits opengl ; 86SubInclude HAIKU_TOP src kits print ; 87SubInclude HAIKU_TOP src kits screensaver ; 88SubInclude HAIKU_TOP src kits shared ; 89SubInclude HAIKU_TOP src kits storage ; 90SubInclude HAIKU_TOP src kits support ; 91SubInclude HAIKU_TOP src kits textencoding ; 92SubInclude HAIKU_TOP src kits tracker ; 93SubInclude HAIKU_TOP src kits translation ; 94