acl-plugin: unapply the ACLs if interface is being deleted
[vpp.git] / src / vlib.am
1 # 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
15 lib_LTLIBRARIES += libvlib.la
16 libvlib_la_LIBADD = libvppinfra.la -ldl -lpthread
17 libvlib_la_DEPENDENCIES = libvppinfra.la
18
19 BUILT_SOURCES += vlib/config.h
20
21 vlib/config.h:
22         @echo "#define __PRE_DATA_SIZE" @PRE_DATA_SIZE@ > $@
23
24 libvlib_la_SOURCES =                            \
25   vlib/buffer.c                                 \
26   vlib/buffer_serialize.c                       \
27   vlib/cli.c                                    \
28   vlib/cli.h                                    \
29   vlib/config.h                                 \
30   vlib/counter.c                                \
31   vlib/error.c                                  \
32   vlib/format.c                                 \
33   vlib/i2c.c                                    \
34   vlib/init.c                                   \
35   vlib/main.c                                   \
36   vlib/mc.c                                     \
37   vlib/node.c                                   \
38   vlib/node_cli.c                               \
39   vlib/node_format.c                            \
40   vlib/pci/pci.c                                \
41   vlib/pci/linux_pci.c                          \
42   vlib/threads.c                                \
43   vlib/threads_cli.c                            \
44   vlib/trace.c
45
46 nobase_include_HEADERS +=                       \
47   vlib/buffer_funcs.h                           \
48   vlib/buffer_node.h                            \
49   vlib/buffer.h                                 \
50   vlib/cli.h                                    \
51   vlib/cli_funcs.h                              \
52   vlib/config.h                                 \
53   vlib/counter.h                                \
54   vlib/defs.h                                   \
55   vlib/error_funcs.h                            \
56   vlib/error.h                                  \
57   vlib/format_funcs.h                           \
58   vlib/global_funcs.h                           \
59   vlib/i2c.h                                    \
60   vlib/init.h                                   \
61   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                         \
68   vlib/threads.h                                \
69   vlib/trace_funcs.h                            \
70   vlib/trace.h                                  \
71   vlib/vlib.h
72
73 libvlib_la_SOURCES +=                           \
74   vlib/unix/cj.c                                \
75   vlib/unix/cli.c                               \
76   vlib/unix/input.c                             \
77   vlib/unix/main.c                              \
78   vlib/unix/mc_socket.c                         \
79   vlib/unix/plugin.c                            \
80   vlib/unix/plugin.h                            \
81   vlib/unix/physmem.c                           \
82   vlib/unix/util.c
83
84 nobase_include_HEADERS +=                       \
85   vlib/unix/cj.h                                \
86   vlib/unix/mc_socket.h                         \
87   vlib/unix/physmem.h                           \
88   vlib/unix/plugin.h                            \
89   vlib/unix/unix.h
90
91 noinst_PROGRAMS += vlib_unix
92
93 vlib_unix_SOURCES =                             \
94   examples/vlib/main_stub.c                     \
95   examples/vlib/mc_test.c
96
97 vlib_unix_LDADD = libvlib.la \
98                   libvppinfra.la -lpthread -lm -ldl -lrt
99
100 # vi:syntax=automake