71c8da48420af1137da8a85ced91cce79126c155
[vpp.git] / plugins / sixrd-plugin / Makefile.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 AUTOMAKE_OPTIONS = foreign subdir-objects
15
16 AM_CFLAGS = -Wall
17 AM_LDFLAGS = -module -shared -avoid-version
18
19 libsixrd_plugin_la_SOURCES =                    \
20         sixrd/sixrd.c                           \
21         sixrd/ip4_sixrd.c                       \
22         sixrd/ip6_sixrd.c
23
24 noinst_HEADERS =                                \
25         sixrd/sixrd.h
26
27 BUILT_SOURCES =
28
29 vpppluginsdir = ${libdir}/vpp_plugins
30
31 vppplugins_LTLIBRARIES = libsixrd_plugin.la
32
33
34 # Remove *.la files
35 install-data-hook:
36         @(cd $(vpppluginsdir) && $(RM) $(vppplugins_LTLIBRARIES))