1*77b1fd22SAxel DörflerSubDir HAIKU_TOP src tests system kernel disk_device_manager ; 2*77b1fd22SAxel Dörfler 3*77b1fd22SAxel DörflerSEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src system kernel disk_device_manager jobs ] ; 4*77b1fd22SAxel DörflerSEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src system kernel disk_device_manager ] ; 5*77b1fd22SAxel DörflerSEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src system kernel fs ] ; 6*77b1fd22SAxel DörflerSEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src kits storage ] ; 7*77b1fd22SAxel Dörfler # DiskDeviceTypes.cpp 8*77b1fd22SAxel Dörfler 9*77b1fd22SAxel Dörfler#UsePrivateHeaders $(DOT) ; 10*77b1fd22SAxel DörflerUsePrivateHeaders shared ; 11*77b1fd22SAxel DörflerUsePrivateHeaders [ FDirName kernel boot platform $(TARGET_BOOT_PLATFORM) ] ; 12*77b1fd22SAxel DörflerUsePrivateHeaders [ FDirName kernel disk_device_manager ] ; 13*77b1fd22SAxel DörflerUsePrivateHeaders [ FDirName kernel arch $(TARGET_ARCH) ] ; 14*77b1fd22SAxel DörflerUsePrivateHeaders [ FDirName kernel fs ] ; 15*77b1fd22SAxel DörflerUsePrivateHeaders [ FDirName kernel ] ; 16*77b1fd22SAxel DörflerUsePrivateHeaders [ FDirName kernel util ] ; 17*77b1fd22SAxel DörflerUsePrivateHeaders storage ; 18*77b1fd22SAxel DörflerUsePrivateHeaders kernel ; 19*77b1fd22SAxel DörflerUseHeaders [ FDirName $(HAIKU_TOP) src system kernel disk_device_manager ] ; 20*77b1fd22SAxel Dörfler 21*77b1fd22SAxel Dörfler# As long as we compile for R5 userland, we define the following macros. 22*77b1fd22SAxel DörflerSubDirCcFlags [ FDefines USER R5_MEMORY_LAYOUT ] ; 23*77b1fd22SAxel DörflerSubDirC++Flags [ FDefines USER R5_MEMORY_LAYOUT ] ; 24*77b1fd22SAxel Dörfler 25*77b1fd22SAxel DörflerSharedLibrary libdisk_device_manager.so : 26*77b1fd22SAxel Dörfler ddm_operation_validation.cpp 27*77b1fd22SAxel Dörfler# ddm_userland_interface.cpp 28*77b1fd22SAxel Dörfler disk_device_manager.cpp 29*77b1fd22SAxel Dörfler KDiskDevice.cpp 30*77b1fd22SAxel Dörfler KDiskDeviceJob.cpp 31*77b1fd22SAxel Dörfler KDiskDeviceJobFactory.cpp 32*77b1fd22SAxel Dörfler KDiskDeviceJobGenerator.cpp 33*77b1fd22SAxel Dörfler KDiskDeviceJobQueue.cpp 34*77b1fd22SAxel Dörfler KDiskDeviceManager.cpp 35*77b1fd22SAxel Dörfler KFileDiskDevice.cpp 36*77b1fd22SAxel Dörfler KDiskSystem.cpp 37*77b1fd22SAxel Dörfler KFileSystem.cpp 38*77b1fd22SAxel Dörfler KPartition.cpp 39*77b1fd22SAxel Dörfler KPartitioningSystem.cpp 40*77b1fd22SAxel Dörfler KPartitionListener.cpp 41*77b1fd22SAxel Dörfler KPartitionVisitor.cpp 42*77b1fd22SAxel Dörfler KPhysicalPartition.cpp 43*77b1fd22SAxel Dörfler KShadowPartition.cpp 44*77b1fd22SAxel Dörfler UserDataWriter.cpp 45*77b1fd22SAxel Dörfler 46*77b1fd22SAxel Dörfler # fs 47*77b1fd22SAxel Dörfler KPath.cpp 48*77b1fd22SAxel Dörfler 49*77b1fd22SAxel Dörfler # jobs 50*77b1fd22SAxel Dörfler KCreateChildJob.cpp 51*77b1fd22SAxel Dörfler KDefragmentJob.cpp 52*77b1fd22SAxel Dörfler KDeleteChildJob.cpp 53*77b1fd22SAxel Dörfler KInitializeJob.cpp 54*77b1fd22SAxel Dörfler KMoveJob.cpp 55*77b1fd22SAxel Dörfler KRepairJob.cpp 56*77b1fd22SAxel Dörfler KResizeJob.cpp 57*77b1fd22SAxel Dörfler KScanPartitionJob.cpp 58*77b1fd22SAxel Dörfler KSetParametersJob.cpp 59*77b1fd22SAxel Dörfler KUninitializeJob.cpp 60*77b1fd22SAxel Dörfler 61*77b1fd22SAxel Dörfler # utilities 62*77b1fd22SAxel Dörfler Locker.cpp 63*77b1fd22SAxel Dörfler RWLocker.cpp 64*77b1fd22SAxel Dörfler 65*77b1fd22SAxel Dörfler # disk device types 66*77b1fd22SAxel Dörfler DiskDeviceTypes.cpp 67*77b1fd22SAxel Dörfler; 68*77b1fd22SAxel Dörfler 69*77b1fd22SAxel DörflerLinkAgainst libdisk_device_manager.so 70*77b1fd22SAxel Dörfler : <boot!home!config!lib>libkernelland_emu.so ; 71*77b1fd22SAxel Dörfler 72*77b1fd22SAxel DörflerAbsSymLink <boot!home!config!lib>libdisk_device_manager.so 73*77b1fd22SAxel Dörfler : libdisk_device_manager.so : /boot/home/config/lib ; 74*77b1fd22SAxel Dörfler 75*77b1fd22SAxel DörflerSimpleTest DiskDeviceManagerTest 76*77b1fd22SAxel Dörfler : DiskDeviceManagerTest.cpp 77*77b1fd22SAxel Dörfler : <boot!home!config!lib>libdisk_device_manager.so be 78*77b1fd22SAxel Dörfler; 79*77b1fd22SAxel Dörfler 80*77b1fd22SAxel DörflerDepends DiskDeviceManagerTest : <boot!home!config!lib>libkernelland_emu.so ; 81*77b1fd22SAxel Dörfler 82*77b1fd22SAxel Dörfler# Also build all modules: 83*77b1fd22SAxel DörflerDepends DiskDeviceManagerTest : userland_disk_system_modules ; 84*77b1fd22SAxel Dörfler 85*77b1fd22SAxel Dörfler# Pseudo target for disk system modules. 86*77b1fd22SAxel DörflerNotFile userland_disk_system_modules ; 87*77b1fd22SAxel DörflerDepends userland_disk_system_modules : 88*77b1fd22SAxel Dörfler <boot!home!config!lib>libkernelland_emu.so 89*77b1fd22SAxel Dörfler <file_system>bfs 90*77b1fd22SAxel Dörfler <partitioning_system>intel 91*77b1fd22SAxel Dörfler <partitioning_system>amiga_rdb 92*77b1fd22SAxel Dörfler <partitioning_system>apple 93*77b1fd22SAxel Dörfler <partitioning_system>session 94*77b1fd22SAxel Dörfler; 95*77b1fd22SAxel Dörfler 96*77b1fd22SAxel Dörfler# KFileDiskDevice.cpp needs the virtualdrive.h Header. Add it here to not 97*77b1fd22SAxel Dörfler# contaminate the include paths for the other files. 98*77b1fd22SAxel DörflerObjectHdrs [ FGristFiles KFileDiskDevice$(SUFOBJ) ] 99*77b1fd22SAxel Dörfler : [ FDirName $(HAIKU_TOP) src tests kits storage virtualdrive ] ; 100