fe785df9bc30bccc72309240bfec4cce5011c45d
[vpp.git] / plugins / ila-plugin / Makefile.am
1 # Copyright (c) 2016 Cisco Systems, Inc.
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 vpppluginsdir = ${libdir}/vpp_plugins
20
21 vppplugins_LTLIBRARIES = ila_plugin.la
22
23 ila_plugin_la_SOURCES = ila/ila.c
24
25 noinst_HEADERS = ila/ila.h
26
27 # Remove *.la files
28 install-data-hook:
29         @(cd $(vpppluginsdir) && $(RM) $(vppplugins_LTLIBRARIES))