SubDir HAIKU_TOP src system libroot os arch x86_64 ; SubDirC++Flags -std=gnu++11 ; local architectureObject ; for architectureObject in [ MultiArchSubDirSetup x86_64 ] { on $(architectureObject) { local architecture = $(TARGET_PACKAGING_ARCH) ; UsePrivateKernelHeaders ; # TODO: Replace by "UsePrivateHeaders libroot" after resolving the # TODO in time.c! UsePrivateSystemHeaders ; SEARCH_SOURCE += [ FDirName $(SUBDIR) $(DOTDOT) generic ] [ FDirName $(SUBDIR) $(DOTDOT) x86_common ] ; MergeObject <$(architecture)>os_arch_$(TARGET_ARCH).o : byteorder.S get_stack_frame.S system_info.cpp system_time.cpp thread.cpp time.cpp tls.cpp # sources from x86_common stack_trace.cpp # sources from generic generic_atomic.cpp ; } }