177b1fd22SAxel DörflerSubDir HAIKU_TOP src tests system kernel disk_device_manager ; 277b1fd22SAxel Dörfler 377b1fd22SAxel DörflerSEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src system kernel disk_device_manager ] ; 477b1fd22SAxel DörflerSEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src system kernel fs ] ; 5b0b1b524SAugustin CavalierSEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src kits storage disk_device ] ; 677b1fd22SAxel Dörfler # DiskDeviceTypes.cpp 777b1fd22SAxel Dörfler 8b0b1b524SAugustin CavalierSEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src system kernel events ] ; 9b0b1b524SAugustin Cavalier # Notifications.cpp 10b0b1b524SAugustin Cavalier 11b0b1b524SAugustin CavalierUsePrivateKernelHeaders ; 121f96a3cbSJessica HamiltonUsePrivateHeaders [ FDirName kernel boot platform $(TARGET_KERNEL_PLATFORM) ] ; 1377b1fd22SAxel DörflerUsePrivateHeaders [ FDirName kernel disk_device_manager ] ; 1477b1fd22SAxel DörflerUsePrivateHeaders [ FDirName kernel fs ] ; 1577b1fd22SAxel DörflerUsePrivateHeaders [ FDirName kernel util ] ; 1677b1fd22SAxel DörflerUsePrivateHeaders storage ; 1777b1fd22SAxel DörflerUseHeaders [ FDirName $(HAIKU_TOP) src system kernel disk_device_manager ] ; 1877b1fd22SAxel Dörfler 19b0b1b524SAugustin CavalierDEFINES += _KERNEL_MODE ; 2077b1fd22SAxel Dörfler 21b0b1b524SAugustin CavalierSharedLibrary test_disk_device_manager.so : 2277b1fd22SAxel Dörfler# ddm_userland_interface.cpp 2377b1fd22SAxel Dörfler disk_device_manager.cpp 2477b1fd22SAxel Dörfler KDiskDevice.cpp 2577b1fd22SAxel Dörfler KDiskDeviceManager.cpp 2677b1fd22SAxel Dörfler KFileDiskDevice.cpp 2777b1fd22SAxel Dörfler KDiskSystem.cpp 2877b1fd22SAxel Dörfler KFileSystem.cpp 2977b1fd22SAxel Dörfler KPartition.cpp 3077b1fd22SAxel Dörfler KPartitioningSystem.cpp 3177b1fd22SAxel Dörfler KPartitionListener.cpp 3277b1fd22SAxel Dörfler KPartitionVisitor.cpp 3377b1fd22SAxel Dörfler UserDataWriter.cpp 3477b1fd22SAxel Dörfler 35b0b1b524SAugustin Cavalier # disk device types 36b0b1b524SAugustin Cavalier DiskDeviceTypes.cpp 37b0b1b524SAugustin Cavalier 3877b1fd22SAxel Dörfler # fs 3977b1fd22SAxel Dörfler KPath.cpp 4077b1fd22SAxel Dörfler 41b0b1b524SAugustin Cavalier # notifications 42b0b1b524SAugustin Cavalier Notifications.cpp 4377b1fd22SAxel Dörfler 44b0b1b524SAugustin Cavalier : be libkernelland_emu.so [ TargetLibsupc++ ] 4577b1fd22SAxel Dörfler; 4677b1fd22SAxel Dörfler 47*0a5c9ef0SAugustin CavalierUnitTestLib libkerneldiskdevicemanagertest.so : 48*0a5c9ef0SAugustin Cavalier DiskDeviceManagerTestAddon.cpp 49*0a5c9ef0SAugustin Cavalier KPartitionTest.cpp 50*0a5c9ef0SAugustin Cavalier : test_disk_device_manager.so [ TargetLibstdc++ ] 51*0a5c9ef0SAugustin Cavalier; 52*0a5c9ef0SAugustin Cavalier 53b0b1b524SAugustin CavalierSimpleTest DiskDeviceManagerTest : 54b0b1b524SAugustin Cavalier DiskDeviceManagerTest.cpp 55b0b1b524SAugustin Cavalier : test_disk_device_manager.so be 5677b1fd22SAxel Dörfler; 5777b1fd22SAxel Dörfler 5877b1fd22SAxel Dörfler# Also build all modules: 5977b1fd22SAxel DörflerDepends DiskDeviceManagerTest : userland_disk_system_modules ; 6077b1fd22SAxel Dörfler 6177b1fd22SAxel Dörfler# Pseudo target for disk system modules. 6277b1fd22SAxel DörflerNotFile userland_disk_system_modules ; 6377b1fd22SAxel DörflerDepends userland_disk_system_modules : 64b0b1b524SAugustin Cavalier libkernelland_emu.so 6577b1fd22SAxel Dörfler <file_system>bfs 6677b1fd22SAxel Dörfler <partitioning_system>intel 6777b1fd22SAxel Dörfler <partitioning_system>amiga_rdb 6877b1fd22SAxel Dörfler <partitioning_system>apple 6977b1fd22SAxel Dörfler <partitioning_system>session 7077b1fd22SAxel Dörfler; 7177b1fd22SAxel Dörfler 7277b1fd22SAxel Dörfler# KFileDiskDevice.cpp needs the virtualdrive.h Header. Add it here to not 7377b1fd22SAxel Dörfler# contaminate the include paths for the other files. 7477b1fd22SAxel DörflerObjectHdrs [ FGristFiles KFileDiskDevice$(SUFOBJ) ] 7577b1fd22SAxel Dörfler : [ FDirName $(HAIKU_TOP) src tests kits storage virtualdrive ] ; 76