1SubDir HAIKU_TOP src add-ons kernel file_systems userlandfs server beos ;
2
3local userlandFSTop = [ FDirName $(HAIKU_TOP) src add-ons kernel
4	file_systems userlandfs ] ;
5local userlandFSIncludes = [ PrivateHeaders userlandfs ] ;
6
7if $(TARGET_PACKAGING_ARCH) != x86_gcc2 {
8	SubDirCcFlags -Wno-error=format ;
9}
10
11SubDirSysHdrs [ FDirName $(userlandFSIncludes) ] ;
12SubDirHdrs [ FDirName $(userlandFSIncludes) private ] ;
13SubDirHdrs [ FDirName $(userlandFSIncludes) shared ] ;
14
15UseHeaders [ FDirName $(HAIKU_TOP) headers compatibility bsd ] : true ;
16
17SEARCH_SOURCE += [ FDirName $(userlandFSTop) private ] ;
18SEARCH_SOURCE += [ FDirName $(userlandFSTop) shared ] ;
19
20DEFINES += USER=1 ;
21DEFINES += DEBUG_APP="\\\"libuserlandfs_beos\\\"" ;
22DEFINES += BUILDING_USERLAND_FS_SERVER=1 ;
23
24# the library providing the BeOS kernel interface for add-ons
25SharedLibrary libuserlandfs_beos_kernel.so
26	:
27	fs_cache.c
28	lock.cpp
29
30	beos_kernel_emu.cpp
31	BeOSKernelFileSystem.cpp
32	BeOSKernelVolume.cpp
33
34	:
35	<nogrist>userlandfs_server
36	[ TargetLibsupc++ ] [ TargetLibstdc++ ] libbsd.so
37;
38