1SubDir HAIKU_TOP src add-ons kernel file_systems xfs ; 2 3# set some additional defines 4{ 5 local defines = 6 XFS_DEBUGGER_COMMANDS 7 ; 8 9 defines = [ FDefines $(defines) ] ; 10 SubDirCcFlags $(defines) ; 11 SubDirC++Flags $(defines) ; 12} 13 14UsePrivateHeaders [ FDirName kernel util ] ; 15UsePrivateHeaders shared storage file_systems ; 16UsePrivateKernelHeaders ; 17 18DEFINES += DEBUG_APP="\\\"xfs\\\"" ; 19 20UseHeaders [ FDirName $(HAIKU_TOP) src libs uuid ] : true ; 21UseHeaders [ FDirName $(HAIKU_TOP) src add-ons kernel file_systems shared ] : true ; 22 23local xfsSources = 24 Attribute.cpp 25 BPlusTree.cpp 26 Directory.cpp 27 Extent.cpp 28 Inode.cpp 29 kernel_cpp.cpp 30 kernel_interface.cpp 31 LeafAttribute.cpp 32 LeafDirectory.cpp 33 Node.cpp 34 NodeAttribute.cpp 35 ShortAttribute.cpp 36 ShortDirectory.cpp 37 Symlink.cpp 38 Volume.cpp 39 xfs.cpp 40 ; 41local sharedSources = 42 crc32.cpp 43 CRCTable.cpp 44 DeviceOpener.cpp 45 ; 46KernelAddon xfs : 47 $(xfsSources) 48 $(sharedSources) 49 : 50 libuuid_kernel.a 51; 52 53SEARCH on [ FGristFiles $(xfsSources) ] 54 = [ FDirName $(HAIKU_TOP) src add-ons kernel file_systems xfs ] ; 55 56SEARCH on [ FGristFiles $(sharedSources) ] 57 = [ FDirName $(HAIKU_TOP) src add-ons kernel file_systems shared ] ; 58 59SEARCH on [ FGristFiles kernel_cpp.cpp ] 60 = [ FDirName $(HAIKU_TOP) src system kernel util ] ; 61 62 63