blob: b1e6bbe844ab02dae42a59b3ab61064649a38df1 [file] [log] [blame]
Damjan Marion7cd468a2016-12-19 23:05:39 +01001# Copyright (c) 2015 Cisco and/or its affiliates.
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
Damjan Marion0eca04d2017-01-03 20:11:35 +010015lib_LTLIBRARIES += libvlib.la
Damjan Marion01914ce2017-09-14 19:04:50 +020016libvlib_la_LIBADD = libvppinfra.la -ldl -lpthread
Damjan Marion8db1c762017-01-04 16:07:54 +010017libvlib_la_DEPENDENCIES = libvppinfra.la
Damjan Marion7cd468a2016-12-19 23:05:39 +010018
Damjan Marion7cd468a2016-12-19 23:05:39 +010019libvlib_la_SOURCES = \
20 vlib/buffer.c \
Damjan Marion878c6092017-01-04 13:19:27 +010021 vlib/buffer_serialize.c \
Damjan Marion7cd468a2016-12-19 23:05:39 +010022 vlib/cli.c \
23 vlib/cli.h \
24 vlib/config.h \
25 vlib/counter.c \
26 vlib/error.c \
27 vlib/format.c \
28 vlib/i2c.c \
29 vlib/init.c \
Damjan Marion3b64d632017-09-08 12:26:12 +020030 vlib/linux/pci.c \
31 vlib/linux/physmem.c \
Damjan Marion1ba0fa42018-03-04 17:19:08 +010032 vlib/linux/vfio.c \
Damjan Marion07a38572018-01-21 06:44:18 -080033 vlib/log.c \
Damjan Marion7cd468a2016-12-19 23:05:39 +010034 vlib/main.c \
35 vlib/mc.c \
36 vlib/node.c \
37 vlib/node_cli.c \
38 vlib/node_format.c \
39 vlib/pci/pci.c \
Damjan Marion7cd468a2016-12-19 23:05:39 +010040 vlib/threads.c \
41 vlib/threads_cli.c \
42 vlib/trace.c
43
44nobase_include_HEADERS += \
45 vlib/buffer_funcs.h \
46 vlib/buffer_node.h \
47 vlib/buffer.h \
48 vlib/cli.h \
49 vlib/cli_funcs.h \
50 vlib/config.h \
51 vlib/counter.h \
52 vlib/defs.h \
53 vlib/error_funcs.h \
54 vlib/error.h \
55 vlib/format_funcs.h \
56 vlib/global_funcs.h \
57 vlib/i2c.h \
58 vlib/init.h \
Damjan Marion1ba0fa42018-03-04 17:19:08 +010059 vlib/linux/vfio.h \
Damjan Marion07a38572018-01-21 06:44:18 -080060 vlib/log.h \
Damjan Marion7cd468a2016-12-19 23:05:39 +010061 vlib/main.h \
62 vlib/mc.h \
63 vlib/node_funcs.h \
64 vlib/node.h \
65 vlib/physmem.h \
66 vlib/pci/pci.h \
67 vlib/pci/pci_config.h \
Damjan Marion49d66f12017-07-20 18:10:35 +020068 vlib/physmem_funcs.h \
Damjan Marion7cd468a2016-12-19 23:05:39 +010069 vlib/threads.h \
70 vlib/trace_funcs.h \
71 vlib/trace.h \
72 vlib/vlib.h
73
Damjan Marion0eca04d2017-01-03 20:11:35 +010074libvlib_la_SOURCES += \
Damjan Marion7cd468a2016-12-19 23:05:39 +010075 vlib/unix/cj.c \
76 vlib/unix/cli.c \
77 vlib/unix/input.c \
78 vlib/unix/main.c \
79 vlib/unix/mc_socket.c \
80 vlib/unix/plugin.c \
81 vlib/unix/plugin.h \
Damjan Marion7cd468a2016-12-19 23:05:39 +010082 vlib/unix/util.c
83
84nobase_include_HEADERS += \
85 vlib/unix/cj.h \
86 vlib/unix/mc_socket.h \
Damjan Marion7cd468a2016-12-19 23:05:39 +010087 vlib/unix/plugin.h \
88 vlib/unix/unix.h
Damjan Marion0eca04d2017-01-03 20:11:35 +010089
Damjan Marion7cd468a2016-12-19 23:05:39 +010090noinst_PROGRAMS += vlib_unix
91
92vlib_unix_SOURCES = \
93 examples/vlib/main_stub.c \
94 examples/vlib/mc_test.c
95
Damjan Marion0eca04d2017-01-03 20:11:35 +010096vlib_unix_LDADD = libvlib.la \
Damjan Marion7cd468a2016-12-19 23:05:39 +010097 libvppinfra.la -lpthread -lm -ldl -lrt
Damjan Marion7cd468a2016-12-19 23:05:39 +010098
99# vi:syntax=automake