Florin Coras | c5df8c7 | 2019-04-08 07:42:30 -0700 | [diff] [blame] | 1 | # Copyright (c) 2018-2019 Cisco and/or its affiliates. |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 2 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 3 | # you may not use this file except in compliance with the License. |
| 4 | # You may obtain a copy of the License at: |
| 5 | # |
| 6 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 7 | # |
| 8 | # Unless required by applicable law or agreed to in writing, software |
| 9 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 10 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 11 | # See the License for the specific language governing permissions and |
| 12 | # limitations under the License. |
| 13 | |
| 14 | ############################################################################## |
| 15 | # svm shared library |
| 16 | ############################################################################## |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 17 | add_vpp_library(svm |
| 18 | SOURCES |
Florin Coras | 88001c6 | 2019-04-24 14:44:46 -0700 | [diff] [blame] | 19 | fifo_segment.c |
| 20 | message_queue.c |
| 21 | queue.c |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 22 | svm.c |
| 23 | ssvm.c |
| 24 | svm_fifo.c |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 25 | |
Florin Coras | 3aa7af3 | 2018-06-29 08:44:31 -0700 | [diff] [blame] | 26 | MULTIARCH_SOURCES |
| 27 | svm_fifo.c |
| 28 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 29 | INSTALL_HEADERS |
Florin Coras | 88001c6 | 2019-04-24 14:44:46 -0700 | [diff] [blame] | 30 | fifo_segment.h |
Florin Coras | f22f4e5 | 2019-12-19 16:10:58 -0800 | [diff] [blame] | 31 | fifo_types.h |
Florin Coras | 88001c6 | 2019-04-24 14:44:46 -0700 | [diff] [blame] | 32 | message_queue.h |
| 33 | queue.h |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 34 | ssvm.h |
| 35 | svm_common.h |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 36 | svm_fifo.h |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 37 | svm.h |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 38 | svmdb.h |
| 39 | |
| 40 | LINK_LIBRARIES vppinfra rt pthread |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 41 | ) |
| 42 | |
| 43 | ############################################################################## |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 44 | # svmdb shared library |
| 45 | ############################################################################## |
| 46 | add_vpp_library(svmdb |
| 47 | SOURCES svmdb.c |
| 48 | LINK_LIBRARIES svm vppinfra rt pthread |
| 49 | ) |
| 50 | |
| 51 | ############################################################################## |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 52 | # svm tools |
| 53 | ############################################################################## |
| 54 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 55 | add_vpp_executable(svmtool |
| 56 | SOURCES svmtool.c |
| 57 | LINK_LIBRARIES vppinfra svm |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 58 | ) |
| 59 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 60 | add_vpp_executable (svmdbtool |
| 61 | SOURCES svmdbtool.c |
| 62 | LINK_LIBRARIES vppinfra svm svmdb |
| 63 | ) |