bfs_shell now also builds under Linux/PPC, not tested yet, though.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15868 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2006-01-08 13:19:12 +00:00
parent f7ba8efac9
commit 1956c146ea
2 changed files with 9 additions and 3 deletions

View File

@ -1,5 +1,9 @@
#include <BeOSBuildCompatibility.h>
#ifdef BUILDING_FS_SHELL
# include "compat.h"
#else
# include <BeOSBuildCompatibility.h>
#endif
#include <ByteOrder.h>

View File

@ -12,6 +12,7 @@ include [ FDirName $(HAIKU_TOP) src tests add-ons kernel file_systems fs_shell
local fsShellCommandSources ;
local externalCommandsSources ;
local attributeSupportSources ;
local byteOrderSupportSources ;
if $(HOST_PLATFORM_BEOS_COMPATIBLE) {
fsShellCommandSources = fs_shell_command_beos.cpp ;
externalCommandsSources = external_commands_beos.cpp ;
@ -19,6 +20,7 @@ if $(HOST_PLATFORM_BEOS_COMPATIBLE) {
fsShellCommandSources = fs_shell_command_unix.cpp ;
externalCommandsSources = external_commands_unix.cpp ;
attributeSupportSources = fs_attr.cpp ;
byteOrderSupportSources = byteorder.cpp ;
}
SetupFSShellIncludes ;
@ -54,12 +56,12 @@ BuildLibFSShell libfs_shell.a
stub.c tracker.cpp sysdep.c hexdump.c argv.c errors.cpp xcp.cpp
path_util.cpp stat_util.cpp
$(attributeSupportSources)
$(byteOrderSupportSources)
;
SEARCH on [ FGristFiles fs_attr.cpp ]
SEARCH on [ FGristFiles fs_attr.cpp byteorder.cpp ]
= [ FDirName $(HAIKU_TOP) src build libroot ] ;
# fs_shell_command
BuildPlatformMain fs_shell_command