SubDir HAIKU_TOP src add-ons kernel file_systems userlandfs server beos ; local userlandFSTop = [ FDirName $(HAIKU_TOP) src add-ons kernel file_systems userlandfs ] ; local userlandFSIncludes = [ PrivateHeaders userlandfs ] ; if $(TARGET_PACKAGING_ARCH) != x86_gcc2 { SubDirCcFlags -Wno-error=format ; } SubDirSysHdrs [ FDirName $(userlandFSIncludes) ] ; SubDirHdrs [ FDirName $(userlandFSIncludes) private ] ; SubDirHdrs [ FDirName $(userlandFSIncludes) shared ] ; UseHeaders [ FDirName $(HAIKU_TOP) headers compatibility bsd ] : true ; SEARCH_SOURCE += [ FDirName $(userlandFSTop) private ] ; SEARCH_SOURCE += [ FDirName $(userlandFSTop) shared ] ; DEFINES += USER=1 ; DEFINES += DEBUG_APP="\\\"libuserlandfs_beos\\\"" ; DEFINES += BUILDING_USERLAND_FS_SERVER=1 ; # the library providing the BeOS kernel interface for add-ons SharedLibrary libuserlandfs_beos_kernel.so : fs_cache.c lock.cpp beos_kernel_emu.cpp BeOSKernelFileSystem.cpp BeOSKernelVolume.cpp : userlandfs_server [ TargetLibsupc++ ] libbsd.so ;