Commit 84ade5c3 authored by Steven Murray's avatar Steven Murray
Browse files

castorutils is now its own library (archive)

parent 62bcc98b
# CMakeLists.txt
#
# This file is part of the Castor project.
# See http://castor.web.cern.ch/castor
#
......@@ -17,7 +15,7 @@
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
#
# Steven.Murray@cern.ch Eric.Cano@cern.ch
# @author Castor Dev team, castor-dev@cern.ch
#
################################################################################
......
......@@ -31,6 +31,7 @@ if (${COMPILE_SERVER} STREQUAL "1")
add_subdirectory (server)
add_subdirectory (stager/daemon)
add_subdirectory (tape)
add_subdirectory (utils)
add_subdirectory (vdqm)
add_subdirectory (acs)
endif (${COMPILE_SERVER} STREQUAL "1")
......@@ -199,11 +200,6 @@ set (CLIENT_LIB_SRC_FILES
stager/NsFileId.cpp
stager/BulkRequestResult.cpp
stager/FileResult.cpp
utils/DebugBuf.cpp
utils/SmartFd.cpp
utils/SmartFILEPtr.cpp
utils/Timer.cpp
utils/utils.cpp
vdqm/ClientIdentification.cpp
vdqm/TapeDrive.cpp
vdqm/DeviceGroupName.cpp
......@@ -239,7 +235,7 @@ add_library (castorclient SHARED
# the compiler only complains in -O2 mode (RelWithDebInfo in cmake).
set_property(SOURCE ../client/src/stager/stager_errmsg.c APPEND PROPERTY COMPILE_FLAGS -fno-strict-aliasing)
CastorSetLibraryVersions (castorclient)
target_link_libraries (castorclient castordlf)
target_link_libraries (castorclient castordlf castorutils)
install (TARGETS castorclient DESTINATION ${CASTOR_DEST_LIB_DIR})
if (${COMPILE_SERVER} STREQUAL "1")
......
# This file is part of the Castor project.
# See http://castor.web.cern.ch/castor
#
# Copyright (C) 2003 CERN
# 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 2
# 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, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
#
# @author Castor Dev team, castor-dev@cern.ch
#
################################################################################
# Try to find the four STK client libaries: libapi.so, libutl.so, libipc.so
# and libcl.so
......
#
# castor/tape/utils/CMakeLists.txt
#
# This file is part of the Castor project.
# See http://castor.web.cern.ch/castor
#
......@@ -18,7 +15,7 @@
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
#
# Steven.Murray@cern.ch
# @author Castor Dev team, castor-dev@cern.ch
#
cmake_minimum_required (VERSION 2.6)
......@@ -33,8 +30,7 @@ set (TAPE_UTILS_LIB_SRC_FILES
add_library (castortapeutils SHARED ${TAPE_UTILS_LIB_SRC_FILES})
CastorSetLibraryVersions (castortapeutils)
target_link_libraries (castortapeutils
castorclient
castorcommon
castorutils
castormediachangerclient
zmq)
install (TARGETS castortapeutils LIBRARY DESTINATION ${CASTOR_DEST_LIB_DIR}
......
# This file is part of the Castor project.
# See http://castor.web.cern.ch/castor
#
# Copyright (C) 2003 CERN
# 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 2
# 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, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
#
# @author Castor Dev team, castor-dev@cern.ch
#
cmake_minimum_required (VERSION 2.6)
################################################################################
# Rules to build and install libcastortapeutils.so
################################################################################
set (UTILS_LIB_SRC_FILES
DebugBuf.cpp
SmartFd.cpp
SmartFILEPtr.cpp
Timer.cpp
utils.cpp)
add_library (castorutils ${UTILS_LIB_SRC_FILES})
Supports Markdown
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