BUILD: fix issues with changes to cmake/rpm building

parent 28b9efed
......@@ -38,7 +38,10 @@ project (eos)
set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)
# force /usr/ installation prefix
set(CMAKE_INSTALL_PREFIX /usr/)
set(CMAKE_INSTALL_PREFIX /usr)
set(CMAKE_INSTALL_SYSCONFDIR /etc)
set(CMAKE_INSTALL_SBINDIR /sbin)
if (PREFIX)
set (CMAKE_INSTALL_PREFIX ${PREFIX})
endif (PREFIX)
......@@ -49,6 +52,9 @@ include(EosUtils)
# include GNU path settings
include (GNUInstallDirs)
# overwrite the /sbin directory
set(CMAKE_INSTALL_FULL_SBINDIR /usr/sbin)
#-------------------------------------------------------------------------------
# Search for dependencies
#-------------------------------------------------------------------------------
......@@ -226,10 +232,11 @@ endif (LEVELDB_FOUND)
endif (CLIENT)
message( STATUS "................................................." )
message( STATUS "Prefix : " ${CMAKE_INSTALL_PREFIX} )
message( STATUS "Bin Dir : " ${CMAKE_INSTALL_BINDIR} )
message( STATUS "Lib Dir : " ${CMAKE_INSTALL_LIBDIR} )
message( STATUS "Sysconfig Dir : " ${CMAKE_INSTALL_SYSCONFDIR} )
message( STATUS "prefix : " ${CMAKE_INSTALL_PREFIX} )
message( STATUS "bin dir : " ${CMAKE_INSTALL_FULL_BINDIR} )
message( STATUS "sbin dir : " ${CMAKE_INSTALL_SBINDIR} )
message( STATUS "lib dir : " ${CMAKE_INSTALL_FULL_LIBDIR} )
message( STATUS "sysconfig dir : " ${CMAKE_INSTALL_SYSCONFDIR} )
message( STATUS "................................................." )
message( STATUS "C Compiler : " ${CMAKE_C_COMPILER} )
message( STATUS "C++ Compiler : " ${CMAKE_CXX_COMPILER} )
......
......@@ -22,7 +22,7 @@
# ************************************************************************
include_directories( ../ ${XROOTD_INCLUDE_DIR} )
link_directories( ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/ ${XROOTD_LIB_DIR})
link_directories( ${CMAKE_INSTALL_FULL_LIBDIR}/ ${XROOTD_LIB_DIR})
add_library (XrdEosAuth MODULE
XrdCapability.cc
......@@ -48,7 +48,7 @@ if (Linux)
endif(Linux)
install ( TARGETS XrdEosAuth
LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_BINDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR}
)
......@@ -28,7 +28,7 @@ include_directories(
${SPARSEHASH_INCLUDE_DIR} )
link_directories(
${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}
${CMAKE_INSTALL_FULL_LIBDIR}
${XROOTD_LIB_DIR} )
if (LEVELDB_FOUND)
......@@ -39,7 +39,7 @@ include_directories(
${SPARSEHASH_INCLUDE_DIR}
${LEVELDB_INCLUDE_DIR} )
link_directories(
${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}
${CMAKE_INSTALL_FULL_LIBDIR}
${XROOTD_LIB_DIR}
${LEVELDB_LIB_DIR} )
......@@ -98,11 +98,11 @@ add_executable ( mutextest
mutextest/RWMutexTest.cc
)
target_link_libraries (eosCommon XrdMqClient XrdUtils XrdCl crypto ${UUID_LIBRARIES} curses z ${ATTR_LIBRARIES} )
target_link_libraries (eosCommon-Static XrdMqClient-Static XrdUtils XrdCl crypto ${UUID_LIBRARIES} curses z ${ATTR_LIBRARIES} )
target_link_libraries ( eosCommon XrdMqClient XrdUtils XrdCl crypto ${UUID_LIBRARIES} curses z ${ATTR_LIBRARIES} )
target_link_libraries ( eosCommon-Static XrdMqClient-Static XrdUtils XrdCl crypto ${UUID_LIBRARIES} curses z ${ATTR_LIBRARIES} )
if(LEVELDB_FOUND)
target_link_libraries (eosCommon leveldb )
target_link_libraries (eosCommon-Static leveldb )
target_link_libraries ( eosCommon leveldb )
target_link_libraries ( eosCommon-Static leveldb )
endif(LEVELDB_FOUND)
target_link_libraries ( dbmaptestfunc eosCommon )
......@@ -110,18 +110,19 @@ target_link_libraries ( dbmaptestburn eosCommon )
target_link_libraries ( mutextest eosCommon )
if (Linux)
set_target_properties (eosCommon PROPERTIES
set_target_properties (
eosCommon PROPERTIES
VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}
SOVERSION ${VERSION_MAJOR}
CLEAN_DIRECT_OUTPUT 1
COMPILE_FLAGS -DSQLITE_NO_SYNC=1
)
set_target_properties (eosCommon-Static PROPERTIES COMPILE_FLAGS "-fPIC -DSQLITE_NO_SYNC=1")
set_target_properties ( eosCommon-Static PROPERTIES COMPILE_FLAGS "-fPIC -DSQLITE_NO_SYNC=1" )
endif(Linux)
install ( TARGETS eosCommon
LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_BINDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR}
)
......@@ -27,7 +27,7 @@ include_directories( ../
${XROOTD_INCLUDE_DIR}
${SPARSEHASH_INCLUDE_DIR} )
link_directories( ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}
link_directories( ${CMAKE_INSTALL_FULL_LIBDIR}
${XROOTD_LIB_DIR} )
......@@ -123,10 +123,10 @@ endif(CLIENT)
target_link_libraries( eosdropboxd eosCommon-Static XrdPosix XrdCl XrdUtils pthread )
INSTALL_PROGRAMS( ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_SBINDIR} FILES eosadmin )
INSTALL_PROGRAMS( ${CMAKE_INSTALL_SBINDIR} FILES eosadmin )
install( TARGETS eos eosdropboxd
LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_BINDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR}
)
......@@ -38,7 +38,7 @@ Group: Applications/File
The EOS server installation containing MGM, FST & MQ service.
Requires: xrootd-server >= 3.2.0
Requires: xrootd-server >= 3.3.0
Requires: xrootd-cl
Requires: eos-client
......@@ -55,7 +55,7 @@ export CC=/usr/bin/gcc44 CXX=/usr/bin/g++44
mkdir -p build
cd build
cmake ../ -DRELEASE=%{release} -DCMAKE_BUILD_TYPE=RelWithDebInfo
%{__make} xrootd-git-stable
%{__make} xrootd-git-master
%{__make} %{_smp_mflags}
%install
cd build
......@@ -93,6 +93,7 @@ rm -rf $RPM_BUILD_ROOT
/usr/sbin/eosfstinfo
/usr/sbin/eosadmin
/usr/sbin/eos-check-blockxs
/usr/sbin/eos-udp-dumper
/usr/sbin/eos-compute-blockxs
/usr/sbin/eos-scan-fs
/usr/sbin/eos-adler32
......@@ -277,7 +278,10 @@ Requires: eos-server
Contains an instance test script and some test executables
%files -n eos-test
/usr/sbin/eos-instance-test
/usr/sbin/eos-rain-test
/usr/sbin/xrdcpabort
/usr/sbin/xrdcpappend
/usr/sbin/xrdcpposixcache
/usr/sbin/xrdcpextend
/usr/sbin/xrdcpholes
/usr/sbin/xrdcpbackward
......
......@@ -228,7 +228,7 @@ if (Linux)
endif(Linux)
INSTALL_PROGRAMS( /sbin
INSTALL_PROGRAMS( ${CMAKE_INSTALL_SBINDIR}
FILES
tools/eosfstregister
tools/eosfstinfo
......@@ -240,7 +240,7 @@ INSTALL_PROGRAMS( /sbin
)
install( TARGETS EosFstOss XrdEosFst eoscp
LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_BINDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR}
)
......@@ -28,7 +28,7 @@ include_directories( ../
${FUSE_INCLUDE_DIR}
${SPARSEHASH_INCLUDE_DIR} )
link_directories( ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}
link_directories( ${CMAKE_INSTALL_FULL_LIBDIR}
${XROOTD_LIB_DIR} )
add_subdirectory(XrdCache)
......@@ -69,10 +69,10 @@ set_target_properties ( eosd eosfsd PROPERTIES COMPILE_FLAGS "-D_FILE_OFFSET_BIT
else(MacOSX)
set_target_properties ( eosd eosfsd PROPERTIES COMPILE_FLAGS -D_FILE_OFFSET_BITS=64 )
endif(MacOSX)
install_programs( ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_SBINDIR} FILES eosd )
install_programs( ${CMAKE_INSTALL_SBINDIR} FILES eosd )
install ( TARGETS eosfsd
LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_BINDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR}
)
......@@ -22,7 +22,7 @@
# ************************************************************************
include_directories( ../ ${XROOTD_INCLUDE_DIR} ${HTTPD_INCLUDE_DIR}/httpd ${APR_INCLUDE_DIRS}/apr-1)
link_directories( ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR} ${XROOTD_LIB_DIR})
link_directories( ${CMAKE_INSTALL_FULL_LIBDIR} ${XROOTD_LIB_DIR})
add_library (mod_authz_key MODULE
mod_authz_key.c
......@@ -38,9 +38,9 @@ if (Linux)
endif(Linux)
install ( TARGETS mod_authz_key
LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/httpd/modules/
RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/httpd/modules/
LIBRARY DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR}/httpd/modules/
RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_BINDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR}/httpd/modules/
)
INSTALL ( FILES eos-httpd-redirector.cgi eos-httpd-redirector-suexec.cgi DESTINATION /var/www/eos/cgi-bin/ )
......
......@@ -21,4 +21,4 @@
# * along with this program. If not, see <http://www.gnu.org/licenses/>.*
# ************************************************************************
INSTALL ( FILES man1/eos.1.gz man1/eos-access.1.gz man1/eos-attr.1.gz man1/eos-cd.1.gz man1/eos-chmod.1.gz man1/eos-chown.1.gz man1/eos-clear.1.gz man1/eos-config.1.gz man1/eos-cp.1.gz man1/eos-debug.1.gz man1/eos-dropbox.1.gz man1/eos-file.1.gz man1/eos-fileinfo.1.gz man1/eos-find.1.gz man1/eos-fs.1.gz man1/eos-io.1.gz man1/eos-license.1.gz man1/eos-map.1.gz man1/eos-ns.1.gz man1/eos-quota.1.gz man1/eos-restart.1.gz man1/eos-space.1.gz man1/eos-transfer.1.gz man1/eos-verify.1.gz man1/eos-vid.1.gz man1/eos-who.1.gz man1/eos-file.1.gz DESTINATION ${CMAKE_INSTALL_MANDIR}/ PERMISSIONS OWNER_READ OWNER_WRITE )
INSTALL ( FILES man1/eos.1.gz man1/eos-access.1.gz man1/eos-attr.1.gz man1/eos-cd.1.gz man1/eos-chmod.1.gz man1/eos-chown.1.gz man1/eos-clear.1.gz man1/eos-config.1.gz man1/eos-cp.1.gz man1/eos-debug.1.gz man1/eos-dropbox.1.gz man1/eos-file.1.gz man1/eos-fileinfo.1.gz man1/eos-find.1.gz man1/eos-fs.1.gz man1/eos-io.1.gz man1/eos-license.1.gz man1/eos-map.1.gz man1/eos-ns.1.gz man1/eos-quota.1.gz man1/eos-restart.1.gz man1/eos-space.1.gz man1/eos-transfer.1.gz man1/eos-verify.1.gz man1/eos-vid.1.gz man1/eos-who.1.gz man1/eos-file.1.gz DESTINATION ${CMAKE_INSTALL_MANDIR}/man1 PERMISSIONS OWNER_READ OWNER_WRITE )
......@@ -22,7 +22,7 @@
# ************************************************************************
include_directories( ../ ${CMAKE_BINARY_DIR}/xrootd/src/include/xrootd/ ${CMAKE_BINARY_DIR}/xrootd/src/include/ ${XROOTD_INCLUDE_DIR} ${SPARSEHASH_INCLUDE_DIR} )
link_directories( ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR} ${XROOTD_LIB_DIR})
link_directories( ${CMAKE_INSTALL_FULL_LIBDIR} ${XROOTD_LIB_DIR})
add_library (XrdEosMgm MODULE
Access.cc
......@@ -57,16 +57,11 @@ add_executable ( testmgmview
test/MgmViewTest.cc
)
add_executable ( eos-fst-dump
FstDump.cc
)
target_link_libraries ( testmgmview XrdCl XrdUtils eosCommon-Static XrdMqClient-Static crypto ${UUID_LIBRARIES} curses pthread dl z)
set_target_properties ( testmgmview PROPERTIES COMPILE_FLAGS "-DEOSMGMFSVIEWTEST" )
target_link_libraries ( eos-fst-dump XrdPosix XrdUtils )
if (Linux)
set_target_properties (XrdEosMgm PROPERTIES
VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}
......@@ -76,11 +71,9 @@ if (Linux)
endif(Linux)
install ( TARGETS XrdEosMgm
LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_BINDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR}
)
INSTALL_PROGRAMS( ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_SBINDIR} FILES eos-fst-dump )
INSTALL ( FILES eos-repair-tool DESTINATION ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_SBINDIR} PERMISSIONS OWNER_READ OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE )
INSTALL ( FILES eos-repair-tool DESTINATION ${CMAKE_INSTALL_FULL_SBINDIR} PERMISSIONS OWNER_READ OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE )
// ----------------------------------------------------------------------
// File: FstDump.cc
// Author: Andreas-Joachim Peters - CERN
// ----------------------------------------------------------------------
/************************************************************************
* EOS - the CERN Disk Storage System *
* Copyright (C) 2011 CERN/Switzerland *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation, either version 3 of the License, or *
* (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program. If not, see <http://www.gnu.org/licenses/>.*
************************************************************************/
// -----------------------------------------------------------------
// ! this is a tiny program dumping the contents of an FST directory
// -----------------------------------------------------------------
#include <XrdPosix/XrdPosixXrootd.hh>
#include <XrdOuc/XrdOucString.hh>
#include <stdio.h>
#include <errno.h>
XrdPosixXrootd posixsingleton;
int main(int argc, char* argv[])
{
setenv("XrdSecPROTOCOL","sss",1);
// argv[1] = 'root://<host>/<datadir>
XrdOucString url = argv[1];
if ((argc!=2) || (!url.beginswith("root://"))) {
fprintf(stderr,"usage: eos-fst-dump root://<host>/<datadir>\n");
exit(-EINVAL);
}
DIR* dir = XrdPosixXrootd::Opendir(url.c_str());
if (dir) {
static struct dirent* dentry;
while ( (dentry = XrdPosixXrootd::Readdir(dir)) ) {
fprintf(stderr,"%s\n",dentry->d_name);
}
XrdPosixXrootd::Closedir(dir);
exit(0);
} else {
exit(-1);
}
}
......@@ -22,7 +22,7 @@
# ************************************************************************
include_directories( ../ ${CMAKE_BINARY_DIR}/xrootd/src/include/xrootd/ ${CMAKE_BINARY_DIR}/xrootd/src/include/ ${XROOTD_INCLUDE_DIR} )
link_directories( ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/ ${XROOTD_LIB_DIR})
link_directories( ${CMAKE_INSTALL_FULL_LIBDIR}/ ${XROOTD_LIB_DIR})
add_library (XrdMqClient SHARED
XrdMqClient.hh
......@@ -105,7 +105,7 @@ if (Linux)
endif(Linux)
install ( TARGETS XrdMqClient XrdMqOfs xrdmqdumper
LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_BINDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR}
)
......@@ -129,7 +129,7 @@ if (Linux)
endif (Linux)
install ( TARGETS eos-log-compact eos-log-repair
LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_SBINDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR}
)
......@@ -22,7 +22,7 @@
# ************************************************************************
include_directories( ../ ${XROOTD_INCLUDE_DIR} )
link_directories( ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR} ${XROOTD_LIB_DIR})
link_directories( ${CMAKE_INSTALL_FULL_LIBDIR} ${XROOTD_LIB_DIR})
add_executable ( eosfilesync
eosfilesync.cc
......@@ -36,13 +36,13 @@ add_executable ( eosha
eosha.cc
)
INSTALL_PROGRAMS( ${SBINDIR} FILES eoshapl eossh-timeout)
INSTALL_PROGRAMS( ${CMAKE_INSTALL_SBINDIR} FILES eoshapl eossh-timeout)
target_link_libraries ( eosdirsync eosCommon-Static XrdCl XrdUtils )
target_link_libraries ( eosfilesync eosCommon-Static XrdCl XrdUtils )
install ( TARGETS eosha eosfilesync eosdirsync
LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_SBINDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_SBINDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR}
)
......@@ -127,18 +127,15 @@ set_target_properties ( xrdcppartial PROPERTIES COMPILE_FLAGS "-D_FILE_OFFSET_BI
set_target_properties ( xrdcpposixcache PROPERTIES COMPILE_FLAGS "-D_FILE_OFFSET_BITS=64" )
set_target_properties ( eoschecksumbench PROPERTIES COMPILE_FLAGS "-D_FILE_OFFSET_BITS=64 -msse4.2" )
INSTALL_PROGRAMS( /sbin FILES
xrdstress.exe xrdcpabort xrdcprandom xrdcpextend xrdcpshrink
INSTALL_PROGRAMS( ${CMAKE_INSTALL_SBINDIR} FILES
xrdstress.exe xrdcpabort xrdcprandom xrdcpextend xrdcpshrink xrdcpappend
xrdcptruncate xrdcpholes xrdcpbackward xrdcpdownloadrandom xrdcppartial
xrdcpposixcache eoschecksumbench eos-udp-dumper eos-mmap)
INSTALL ( FILES xrdstress
DESTINATION {CMAKE_INSTALL_SBINDIR}
DESTINATION ${CMAKE_INSTALL_FULL_SBINDIR}
PERMISSIONS OWNER_EXECUTE GROUP_EXECUTE WORLD_EXECUTE OWNER_READ GROUP_READ WORLD_READ)
INSTALL ( FILES eos-instance-test eos-rain-test
DESTINATION ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_SBINDIR}
DESTINATION ${CMAKE_INSTALL_FULL_SBINDIR}
PERMISSIONS OWNER_EXECUTE OWNER_READ GROUP_READ WORLD_READ)
INSTALL_PROGRAMS( ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_SBINDIR} FILES xrdstress.exe xrdcpabort xrdcprandom xrdcpextend xrdcpshrink xrdcptruncate xrdcppartial xrdcpholes xrdcpbackward xrdcpdownloadrandom xrdcppartial xrdcpposixcache eoschecksumbench eos-udp-dumper eos-mmap)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment