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 parsedate.cpp 24 port.c 25 scheduler.c 26 sem.c 27 system_info.c 28 team.c 29 thread.c 30 time.cpp 31 syscalls.S 32 wait_for_objects.cpp 33 34 # locks 35 init_once.cpp 36 mutex.cpp 37 recursive_lock.cpp 38 rw_lock.cpp 39 40 KMessage.cpp 41; 42 43SEARCH on [ FGristFiles KMessage.cpp ] 44 = [ FDirName $(HAIKU_TOP) src system kernel messaging ] ; 45 46# We need to specify the dependency on the generated syscalls file explicitly. 47Depends [ FGristFiles syscalls.o ] : <syscalls>syscalls.S.inc ; 48 49SubInclude HAIKU_TOP src system libroot os arch $(TARGET_ARCH) ; 50