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:
@@ -1,5 +1,9 @@
|
|||||||
|
|
||||||
#include <BeOSBuildCompatibility.h>
|
#ifdef BUILDING_FS_SHELL
|
||||||
|
# include "compat.h"
|
||||||
|
#else
|
||||||
|
# include <BeOSBuildCompatibility.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <ByteOrder.h>
|
#include <ByteOrder.h>
|
||||||
|
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ include [ FDirName $(HAIKU_TOP) src tests add-ons kernel file_systems fs_shell
|
|||||||
local fsShellCommandSources ;
|
local fsShellCommandSources ;
|
||||||
local externalCommandsSources ;
|
local externalCommandsSources ;
|
||||||
local attributeSupportSources ;
|
local attributeSupportSources ;
|
||||||
|
local byteOrderSupportSources ;
|
||||||
if $(HOST_PLATFORM_BEOS_COMPATIBLE) {
|
if $(HOST_PLATFORM_BEOS_COMPATIBLE) {
|
||||||
fsShellCommandSources = fs_shell_command_beos.cpp ;
|
fsShellCommandSources = fs_shell_command_beos.cpp ;
|
||||||
externalCommandsSources = external_commands_beos.cpp ;
|
externalCommandsSources = external_commands_beos.cpp ;
|
||||||
@@ -19,6 +20,7 @@ if $(HOST_PLATFORM_BEOS_COMPATIBLE) {
|
|||||||
fsShellCommandSources = fs_shell_command_unix.cpp ;
|
fsShellCommandSources = fs_shell_command_unix.cpp ;
|
||||||
externalCommandsSources = external_commands_unix.cpp ;
|
externalCommandsSources = external_commands_unix.cpp ;
|
||||||
attributeSupportSources = fs_attr.cpp ;
|
attributeSupportSources = fs_attr.cpp ;
|
||||||
|
byteOrderSupportSources = byteorder.cpp ;
|
||||||
}
|
}
|
||||||
|
|
||||||
SetupFSShellIncludes ;
|
SetupFSShellIncludes ;
|
||||||
@@ -54,12 +56,12 @@ BuildLibFSShell libfs_shell.a
|
|||||||
stub.c tracker.cpp sysdep.c hexdump.c argv.c errors.cpp xcp.cpp
|
stub.c tracker.cpp sysdep.c hexdump.c argv.c errors.cpp xcp.cpp
|
||||||
path_util.cpp stat_util.cpp
|
path_util.cpp stat_util.cpp
|
||||||
$(attributeSupportSources)
|
$(attributeSupportSources)
|
||||||
|
$(byteOrderSupportSources)
|
||||||
;
|
;
|
||||||
|
|
||||||
SEARCH on [ FGristFiles fs_attr.cpp ]
|
SEARCH on [ FGristFiles fs_attr.cpp byteorder.cpp ]
|
||||||
= [ FDirName $(HAIKU_TOP) src build libroot ] ;
|
= [ FDirName $(HAIKU_TOP) src build libroot ] ;
|
||||||
|
|
||||||
|
|
||||||
# fs_shell_command
|
# fs_shell_command
|
||||||
|
|
||||||
BuildPlatformMain fs_shell_command
|
BuildPlatformMain fs_shell_command
|
||||||
|
|||||||
Reference in New Issue
Block a user