1SubDir HAIKU_TOP src system libroot os ; 2 3UsePrivateHeaders kernel ; 4 # for util/KMessage.h 5UsePrivateHeaders libroot runtime_loader shared ; 6 7local architectureObject ; 8for architectureObject in [ MultiArchSubDirSetup ] { 9 on $(architectureObject) { 10 local architecture = $(TARGET_PACKAGING_ARCH) ; 11 12 UsePrivateSystemHeaders ; 13 14 SEARCH_SOURCE += [ FDirName $(SUBDIR) locks ] ; 15 16 MergeObject <$(architecture)>os_main.o : 17 area.c 18 atomic.c 19 debug.c 20 driver_settings.cpp 21 extended_system_info.cpp 22 find_directory.cpp 23 fs_attr.cpp 24 fs_index.c 25 fs_info.c 26 fs_query.cpp 27 fs_volume.c 28 image.cpp 29 memory.cpp 30 parsedate.cpp 31 port.c 32 scheduler.c 33 sem.c 34 system_info.c 35 system_revision.c 36 team.c 37 thread.c 38 time.cpp 39 syscalls.S 40 wait_for_objects.cpp 41 42 # locks 43 init_once.cpp 44 mutex.cpp 45 recursive_lock.cpp 46 rw_lock.cpp 47 48 KMessage.cpp 49 ; 50 51 SEARCH on [ FGristFiles KMessage.cpp ] 52 = [ FDirName $(HAIKU_TOP) src system kernel messaging ] ; 53 54 # We need to specify the dependency on the generated syscalls file 55 # explicitly. 56 Depends [ FGristFiles syscalls.o ] 57 : <syscalls!$(architecture)>syscalls.S.inc ; 58 } 59} 60 61local arch ; 62for arch in $(TARGET_ARCHS) { 63 HaikuSubInclude arch $(arch) ; 64} 65