xref: /haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/Jamfile (revision efafab643ce980e3f3c916795ed302599f6b4f66)
1SubDir HAIKU_TOP src add-ons kernel file_systems userlandfs server fuse ;
2
3local userlandFSTop = [ FDirName $(HAIKU_TOP) src add-ons kernel
4	file_systems userlandfs ] ;
5local userlandFSIncludes = [ PrivateHeaders userlandfs ] ;
6
7UsePrivateHeaders kernel shared ;
8SubDirSysHdrs [ FDirName $(userlandFSIncludes) ] ;
9SubDirSysHdrs [ FDirName $(userlandFSIncludes) fuse ] ;
10SubDirHdrs [ FDirName $(userlandFSIncludes) private ] ;
11SubDirHdrs [ FDirName $(userlandFSIncludes) shared ] ;
12
13# Don't warn on truncation under gcc6+
14SubDirC++Flags -Wno-format-truncation ;
15
16SEARCH_SOURCE += [ FDirName $(userlandFSTop) private ] ;
17SEARCH_SOURCE += [ FDirName $(userlandFSTop) shared ] ;
18
19DEFINES += USER=1 ;
20DEFINES += DEBUG_APP="\\\"libuserlandfs_fuse\\\"" ;
21DEFINES += BUILDING_USERLAND_FS_SERVER=1 ;
22DEFINES += _FILE_OFFSET_BITS=64 ;
23
24# the library providing the FUSE interface for add-ons
25SharedLibrary libuserlandfs_fuse.so
26	:
27	fuse_config.c
28	fuse_fs.cpp
29	fuse_main.cpp
30	fuse_opt.c
31	FUSEFileSystem.cpp
32	FUSEVolume.cpp
33	mime_ext_table.c
34	:
35	<nogrist>userlandfs_server shared be [ TargetLibsupc++ ]
36;
37
38SEARCH on [ FGristFiles mime_ext_table.c ]
39	+= [ FDirName $(HAIKU_TOP) src add-ons kernel file_systems shared ] ;
40