1SubDir HAIKU_TOP src kits storage ; 2 3SetSubDirSupportedPlatforms haiku libbe_test ; 4 5UseLibraryHeaders icon ; 6 7UsePrivateHeaders shared app kernel storage ; 8UsePrivateHeaders [ FDirName kernel disk_device_manager ] ; 9UseArchHeaders $(TARGET_ARCH) ; 10 11# for libbe_test 12UsePublicHeaders [ FDirName add-ons registrar ] ; 13 14SEARCH_SOURCE += [ FDirName $(SUBDIR) mime ] ; 15SEARCH_SOURCE += [ FDirName $(SUBDIR) sniffer ] ; 16 17MergeObject <libbe>storage_kit.o : 18 AppFileInfo.cpp 19 Directory.cpp 20 Entry.cpp 21 EntryList.cpp 22 File.cpp 23 FindDirectory.cpp 24 Mime.cpp 25 MimeType.cpp 26 Node.cpp 27 NodeInfo.cpp 28 NodeMonitor.cpp 29 OffsetFile.cpp 30 Path.cpp 31 Query.cpp 32 QueryPredicate.cpp 33 ResourceFile.cpp 34 ResourceItem.cpp 35 Resources.cpp 36 ResourcesContainer.cpp 37 ResourceStrings.cpp 38 Statable.cpp 39 SymLink.cpp 40 Volume.cpp 41 VolumeRoster.cpp 42 storage_support.cpp 43 44 # mime 45 AssociatedTypes.cpp 46 CreateAppMetaMimeThread.cpp 47 Database.cpp 48 InstalledTypes.cpp 49 MimeSnifferAddon.cpp 50 MimeSnifferAddonManager.cpp 51 MimeUpdateThread.cpp 52 SnifferRules.cpp 53 Supertype.cpp 54 SupportingApps.cpp 55 UpdateMimeInfoThread.cpp 56 database_access.cpp 57 database_support.cpp 58 59 # sniffer 60 CharStream.cpp 61 Err.cpp 62 DisjList.cpp 63 Pattern.cpp 64 PatternList.cpp 65 Parser.cpp 66 Range.cpp 67 RPattern.cpp 68 RPatternList.cpp 69 Rule.cpp 70; 71 72# We need to keep the DiskDevice API out of libbe_haiku as long as the 73# Interface Kit is not fully functional (at least the part we are using). 74# So, we build it separately. 75 76MergeObject <libbe>storage_diskdevice_kit.o : 77 DiskDevice.cpp 78 DiskDeviceJob.cpp 79 DiskDeviceList.cpp 80 DiskDevicePrivate.cpp 81 DiskDeviceRoster.cpp 82 DiskDeviceTypes.cpp 83 DiskDeviceVisitor.cpp 84 DiskSystem.cpp 85 Partition.cpp 86 PartitioningInfo.cpp 87; 88 89# The adapter library we need (Storage Kit). 90# 91 92SharedLibrary libbeadapter.so : 93 LibBeAdapter.cpp 94; 95LinkAgainst libbeadapter.so : be : false ; 96