SubDir HAIKU_TOP src tests system kernel disk_device_manager ; SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src system kernel disk_device_manager jobs ] ; SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src system kernel disk_device_manager ] ; SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src system kernel fs ] ; SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src kits storage ] ; # DiskDeviceTypes.cpp #UsePrivateHeaders $(DOT) ; UsePrivateHeaders shared ; UsePrivateHeaders [ FDirName kernel boot platform $(TARGET_BOOT_PLATFORM) ] ; UsePrivateHeaders [ FDirName kernel disk_device_manager ] ; UsePrivateHeaders [ FDirName kernel arch $(TARGET_ARCH) ] ; UsePrivateHeaders [ FDirName kernel fs ] ; UsePrivateHeaders [ FDirName kernel ] ; UsePrivateHeaders [ FDirName kernel util ] ; UsePrivateHeaders storage ; UsePrivateHeaders kernel ; UseHeaders [ FDirName $(HAIKU_TOP) src system kernel disk_device_manager ] ; # As long as we compile for R5 userland, we define the following macros. SubDirCcFlags [ FDefines USER R5_MEMORY_LAYOUT ] ; SubDirC++Flags [ FDefines USER R5_MEMORY_LAYOUT ] ; SharedLibrary libdisk_device_manager.so : ddm_operation_validation.cpp # ddm_userland_interface.cpp disk_device_manager.cpp KDiskDevice.cpp KDiskDeviceJob.cpp KDiskDeviceJobFactory.cpp KDiskDeviceJobGenerator.cpp KDiskDeviceJobQueue.cpp KDiskDeviceManager.cpp KFileDiskDevice.cpp KDiskSystem.cpp KFileSystem.cpp KPartition.cpp KPartitioningSystem.cpp KPartitionListener.cpp KPartitionVisitor.cpp KPhysicalPartition.cpp KShadowPartition.cpp UserDataWriter.cpp # fs KPath.cpp # jobs KCreateChildJob.cpp KDefragmentJob.cpp KDeleteChildJob.cpp KInitializeJob.cpp KMoveJob.cpp KRepairJob.cpp KResizeJob.cpp KScanPartitionJob.cpp KSetParametersJob.cpp KUninitializeJob.cpp # utilities Locker.cpp RWLocker.cpp # disk device types DiskDeviceTypes.cpp ; LinkAgainst libdisk_device_manager.so : libkernelland_emu.so ; AbsSymLink libdisk_device_manager.so : libdisk_device_manager.so : /boot/home/config/lib ; SimpleTest DiskDeviceManagerTest : DiskDeviceManagerTest.cpp : libdisk_device_manager.so be ; Depends DiskDeviceManagerTest : libkernelland_emu.so ; # Also build all modules: Depends DiskDeviceManagerTest : userland_disk_system_modules ; # Pseudo target for disk system modules. NotFile userland_disk_system_modules ; Depends userland_disk_system_modules : libkernelland_emu.so bfs intel amiga_rdb apple session ; # KFileDiskDevice.cpp needs the virtualdrive.h Header. Add it here to not # contaminate the include paths for the other files. ObjectHdrs [ FGristFiles KFileDiskDevice$(SUFOBJ) ] : [ FDirName $(HAIKU_TOP) src tests kits storage virtualdrive ] ;