CMakeLists.txt 2.4 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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.
#
#
18
# @author Castor Dev team, castor-dev@cern.ch
19
20
21
#
cmake_minimum_required (VERSION 2.6)

22
23
24
include_directories(/usr/include/shift)
include_directories(${PROJECT_SOURCE_DIR}/tapeserver)

25
################################################################################
26
# Rules to build and install libcastorlegacymsg.so
27
################################################################################
28
set (CASTOR_LEGACYMSG_LIB_SRC_FILES
29
  CommonMarshal.cpp
30
31
  CupvCheckMsgBody.cpp
  CupvMarshal.cpp
Steven Murray's avatar
Steven Murray committed
32
33
  CupvProxy.cpp
  CupvProxyTcpIp.cpp
Daniele Kruse's avatar
Daniele Kruse committed
34
  GenericErrorReplyMsgBody.cpp
35
36
  GenericMarshal.cpp
  GenericReplyMsgBody.cpp
37
  GiveOutpMsgBody.cpp
38
  legacymsg.cpp
39
  MessageHeader.cpp
Daniele Kruse's avatar
Daniele Kruse committed
40
41
42
43
  NsProxy.cpp
  NsProxyFactory.cpp
  NsProxy_TapeAlwaysEmpty.cpp
  NsProxy_TapeAlwaysEmptyFactory.cpp
44
  RmcMarshal.cpp
45
  RmcMountMsgBody.cpp
46
  RmcProxy.cpp
47
  RmcProxyDummy.cpp
48
  RmcProxyTcpIp.cpp
49
  RmcUnmountMsgBody.cpp
50
  RtcpJobRqstMsgBody.cpp
51
  RtcpJobReplyMsgBody.cpp
52
  RtcpMarshal.cpp
53
  RtcpErrorAppendix.cpp
Daniele Kruse's avatar
Daniele Kruse committed
54
  TapeConfigRequestMsgBody.cpp
55
  TapeLabelRqstMsgBody.cpp
56
  TapeStatDriveEntry.cpp
57
  TapeMarshal.cpp
Daniele Kruse's avatar
Daniele Kruse committed
58
59
  TapeStatRequestMsgBody.cpp
  TapeStatReplyMsgBody.cpp
60
  VdqmDrvRqstMsgBody.cpp
61
  VdqmMarshal.cpp
62
  VdqmProxy.cpp
63
  VdqmProxyFactory.cpp
64
  VdqmProxyTcpIp.cpp
65
  VdqmProxyTcpIpFactory.cpp
66
  VmgrPoolInfoMsgBody.cpp
67
  VmgrProxy.cpp
68
  VmgrProxyFactory.cpp
69
  VmgrProxyTcpIp.cpp
70
  VmgrProxyTcpIpFactory.cpp
71
  VmgrQryPoolMsgBody.cpp
72
73
  VmgrMarshal.cpp
  VmgrTapeInfoMsgBody.cpp
Daniele Kruse's avatar
Daniele Kruse committed
74
75
  VmgrTapeInfoRqstMsgBody.cpp
  VmgrTapeMountedMsgBody.cpp)
76
add_library (castorlegacymsg SHARED ${CASTOR_LEGACYMSG_LIB_SRC_FILES})
77
78
target_link_libraries (castorlegacymsg
  castorclient
79
  castorcommon)