xref: /haiku/src/tests/add-ons/kernel/file_systems/iso9660/iso9660_shell/Jamfile (revision 83b1a68c52ba3e0e8796282759f694b7fdddf06d)
1SubDir HAIKU_TOP src tests add-ons kernel file_systems iso9660 iso9660_shell ;
2
3UsePrivateHeaders fs_shell ;
4
5SEARCH_SOURCE
6	+= [ FDirName $(HAIKU_TOP) src add-ons kernel file_systems iso9660 ] ;
7
8# set some additional defines
9{
10	local defines = [ FDefines FS_SHELL USER DEBUG ] ;
11	SubDirCcFlags $(defines) ;
12	SubDirC++Flags $(defines) -fno-exceptions ;
13}
14
15local libHaikuCompat ;
16if $(HOST_PLATFORM_BEOS_COMPATIBLE) && ! $(HOST_PLATFORM_HAIKU_COMPATIBLE) {
17	libHaikuCompat = libhaikucompat_build.a ;
18}
19
20# platform specific libraries
21local fsShellCommandLibs ;
22if ! $(HOST_PLATFORM_BEOS_COMPATIBLE) {
23	fsShellCommandLibs = $(HOST_NETWORK_LIBS) ;
24}
25
26BuildPlatformMain iso9660_shell
27	:
28	iso9660.cpp
29	iso9660_identify.cpp
30	kernel_interface.cpp
31
32	: <build>fs_shell.a $(libHaikuCompat) $(HOST_LIBSUPC++) $(HOST_LIBSTDC++)
33	  $(HOST_LIBROOT) $(fsShellCommandLibs)
34;
35