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