SubDir HAIKU_TOP src tests add-ons kernel file_systems userlandfs ntfs ; local ntfsTop = [ FDirName $(HAIKU_TOP) src add-ons kernel file_systems ntfs ] ; SEARCH_SOURCE += $(ntfsTop) ; # set some additional defines { local defines = USER=1 ; defines = [ FDefines $(defines) ] ; SubDirCcFlags $(defines) ; SubDirC++Flags $(defines) ; } SubDirHdrs [ FDirName $(ntfsTop) libntfs ] ; SubDirCcFlags -DHAVE_CONFIG_H=1 ; SubDirC++Flags -DHAVE_CONFIG_H=1 ; UsePrivateHeaders kernel ; Addon ntfs : attributes.c mime_table.c utils.c ntfsdir.c volume_util.c fs_func.c kernel_interface.c : libntfs.a libuserlandfs_haiku_kernel.so ; SEARCH on [ FGristFiles kernel_cpp.cpp ] = [ FDirName $(HAIKU_TOP) src system kernel util ] ; SubIncludeGPL HAIKU_TOP src add-ons kernel file_systems ntfs libntfs ;