Reorganized so that both the BeOS and Haiku FS interface of RamFS can be
built for UserlandFS. The latter appears to be working fine. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20347 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -3,20 +3,10 @@ SubDir HAIKU_TOP src tests add-ons kernel file_systems userlandfs ramfs ;
|
|||||||
local userlandFSTop = [ FDirName $(HAIKU_TOP) src add-ons kernel
|
local userlandFSTop = [ FDirName $(HAIKU_TOP) src add-ons kernel
|
||||||
file_systems userlandfs ] ;
|
file_systems userlandfs ] ;
|
||||||
local userlandFSIncludes = [ PrivateHeaders userlandfs ] ;
|
local userlandFSIncludes = [ PrivateHeaders userlandfs ] ;
|
||||||
local ramFSTop = [ FDirName $(HAIKU_TOP) src tests add-ons kernel
|
local ramFSTop = [ FDirName $(HAIKU_TOP) src add-ons kernel file_systems ramfs ] ;
|
||||||
file_systems userlandfs r5 src test ramfs ] ;
|
|
||||||
|
|
||||||
DEFINES += USER=1 ;
|
DEFINES += USER=1 ;
|
||||||
|
|
||||||
# avoid inclusion of <drivers/Select.h>
|
|
||||||
DEFINES += _DRIVERS_SELECT_H ;
|
|
||||||
|
|
||||||
SubDirC++Flags -include
|
|
||||||
[ FDirName $(userlandFSIncludes) shared Compatibility.h ] ;
|
|
||||||
|
|
||||||
SubDirSysHdrs [ FDirName $(userlandFSIncludes) ] ;
|
|
||||||
SubDirSysHdrs [ FDirName $(userlandFSIncludes) legacy ] ;
|
|
||||||
SubDirHdrs [ FDirName $(userlandFSIncludes) legacy ] ;
|
|
||||||
SubDirHdrs [ FDirName $(userlandFSIncludes) shared ] ;
|
SubDirHdrs [ FDirName $(userlandFSIncludes) shared ] ;
|
||||||
|
|
||||||
SEARCH_SOURCE += $(ramFSTop) ;
|
SEARCH_SOURCE += $(ramFSTop) ;
|
||||||
@@ -56,6 +46,10 @@ Addon <userland>ramfs
|
|||||||
SizeIndex.cpp
|
SizeIndex.cpp
|
||||||
SymLink.cpp
|
SymLink.cpp
|
||||||
Volume.cpp
|
Volume.cpp
|
||||||
|
|
||||||
: false # is executable
|
: false # is executable
|
||||||
: libuserlandfs_beos_kernel.so
|
: libuserlandfs_haiku_kernel.so
|
||||||
;
|
;
|
||||||
|
|
||||||
|
SubInclude HAIKU_TOP src tests add-ons kernel file_systems userlandfs ramfs
|
||||||
|
beos_interface ;
|
||||||
|
|||||||
@@ -0,0 +1,62 @@
|
|||||||
|
SubDir HAIKU_TOP src tests add-ons kernel file_systems userlandfs ramfs
|
||||||
|
beos_interface ;
|
||||||
|
|
||||||
|
local userlandFSTop = [ FDirName $(HAIKU_TOP) src add-ons kernel
|
||||||
|
file_systems userlandfs ] ;
|
||||||
|
local userlandFSIncludes = [ PrivateHeaders userlandfs ] ;
|
||||||
|
local ramFSTop = [ FDirName $(HAIKU_TOP) src tests add-ons kernel
|
||||||
|
file_systems userlandfs r5 src test ramfs ] ;
|
||||||
|
|
||||||
|
DEFINES += USER=1 ;
|
||||||
|
|
||||||
|
# avoid inclusion of <drivers/Select.h>
|
||||||
|
DEFINES += _DRIVERS_SELECT_H ;
|
||||||
|
|
||||||
|
SubDirC++Flags -include
|
||||||
|
[ FDirName $(userlandFSIncludes) shared Compatibility.h ] ;
|
||||||
|
|
||||||
|
SubDirSysHdrs [ FDirName $(userlandFSIncludes) ] ;
|
||||||
|
SubDirSysHdrs [ FDirName $(userlandFSIncludes) legacy ] ;
|
||||||
|
SubDirHdrs [ FDirName $(userlandFSIncludes) legacy ] ;
|
||||||
|
SubDirHdrs [ FDirName $(userlandFSIncludes) shared ] ;
|
||||||
|
|
||||||
|
SEARCH_SOURCE += $(ramFSTop) ;
|
||||||
|
SEARCH_SOURCE += [ FDirName $(userlandFSTop) shared ] ;
|
||||||
|
|
||||||
|
Addon <userland-beos>ramfs
|
||||||
|
: # relpath - obsolete
|
||||||
|
: Debug.cpp
|
||||||
|
Locker.cpp
|
||||||
|
String.cpp
|
||||||
|
|
||||||
|
AllocationInfo.cpp
|
||||||
|
AreaUtils.cpp
|
||||||
|
Attribute.cpp
|
||||||
|
AttributeIndex.cpp
|
||||||
|
AttributeIndexImpl.cpp
|
||||||
|
AttributeIterator.cpp
|
||||||
|
BlockAllocator.cpp
|
||||||
|
BlockAllocatorArea.cpp
|
||||||
|
BlockAllocatorAreaBucket.cpp
|
||||||
|
BlockReferenceManager.cpp
|
||||||
|
DataContainer.cpp
|
||||||
|
Directory.cpp
|
||||||
|
Entry.cpp
|
||||||
|
EntryIterator.cpp
|
||||||
|
EntryListener.cpp
|
||||||
|
File.cpp
|
||||||
|
Index.cpp
|
||||||
|
IndexDirectory.cpp
|
||||||
|
kernel_interface.cpp
|
||||||
|
LastModifiedIndex.cpp
|
||||||
|
NameIndex.cpp
|
||||||
|
Node.cpp
|
||||||
|
NodeListener.cpp
|
||||||
|
NodeTable.cpp
|
||||||
|
Query.cpp
|
||||||
|
SizeIndex.cpp
|
||||||
|
SymLink.cpp
|
||||||
|
Volume.cpp
|
||||||
|
: false # is executable
|
||||||
|
: libuserlandfs_beos_kernel.so
|
||||||
|
;
|
||||||
Reference in New Issue
Block a user