1SubDir OBOS_TOP src kits ; 2 3# Collect libopenbeos.so sources. 4subdirs = app interface support storage ; 5for subdir in $(subdirs) { 6 local dir = [ FDirName $(SUBDIR) $(subdir) ] ; 7 local file = $(subdir:S=.src) ; 8 include $(file:D=$(dir)) ; 9 UsePrivateHeaders $(subdir) ; 10 UsePublicHeaders $(subdir) ; 11 SEARCH_SOURCE += $(dir) ; 12} 13 14UsePublicHeaders [ FDirName add-ons file_system ] ; 15UsePrivateHeaders shared ; 16 17# Add subsubdirs to the SEARCH_SOURCE. 18SEARCH_SOURCE += [ FDirName $(SUBDIR) storage mime ] ; 19SEARCH_SOURCE += [ FDirName $(SUBDIR) storage sniffer ] ; 20 21SharedLibrary openbeos : 22 $(APP_KIT_SOURCE) 23 $(INTERFACE_KIT_SOURCE) 24 $(SUPPORT_KIT_SOURCE) 25 $(STORAGE_KIT_SOURCE) 26; 27 28LinkSharedOSLibs libopenbeos.so : 29 libbeadapter.so 30 be 31 stdc++.r4 ; 32 33# The adapter library we need (Storage Kit). 34# 35SharedLibrary beadapter : 36 LibBeAdapter.cpp 37; 38LinkSharedOSLibs libbeadapter.so : 39 be 40; 41 42# Note: If you want to use /boot/home/config/lib/libopenbeos.so in another 43# rule, use the identifier <boot!home!config!lib>libopenbeos.so, otherwise 44# libopenbeos.so. 45LOCATE on <boot!home!config!lib>libopenbeos.so 46 <boot!home!config!lib>libbeadapter.so = /boot/home/config/lib ; 47File <boot!home!config!lib>libopenbeos.so : libopenbeos.so ; 48File <boot!home!config!lib>libbeadapter.so : libbeadapter.so ; 49Includes <boot!home!config!lib>libopenbeos.so 50 : <boot!home!config!lib>libbeadapter.so ; 51 52SubInclude OBOS_TOP src kits app ; 53SubInclude OBOS_TOP src kits interface ; 54SubInclude OBOS_TOP src kits media ; 55SubInclude OBOS_TOP src kits midi ; 56SubInclude OBOS_TOP src kits screensaver ; 57SubInclude OBOS_TOP src kits storage ; 58SubInclude OBOS_TOP src kits support ; 59SubInclude OBOS_TOP src kits translation ; 60SubInclude OBOS_TOP src kits device ; 61SubInclude OBOS_TOP src kits game ; 62SubInclude OBOS_TOP src kits net ; 63