eb0d806aa6ab727be65e484e5e1d817003c77094
[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/sixrd_dpo.c                       \
22         sixrd/ip4_sixrd.c                       \
23         sixrd/ip6_sixrd.c
24
25 noinst_HEADERS =                                \
26         sixrd/sixrd.h                           \
27         sixrd/sixrd_dpo.h
28
29 BUILT_SOURCES =
30
31 vpppluginsdir = ${libdir}/vpp_plugins
32
33 vppplugins_LTLIBRARIES = libsixrd_plugin.la
34
35
36 # Remove *.la files
37 install-data-hook:
38         @(cd $(vpppluginsdir) && $(RM) $(vppplugins_LTLIBRARIES))