summaryrefslogtreecommitdiff
path: root/packages/net/libnl/libnl.mk
blob: 2e189012d8e29aa58cd3b78c390dc843e1382c3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
################################################################################
# Embtoolkit
# Copyright(C) 2012-2017 Abdoulaye Walsimou GAYE.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
#
################################################################################
#
# \file         libnl.mk
# \brief	libnl.mk of Embtoolkit
# \author       Abdoulaye Walsimou GAYE <awg@embtoolkit.org>
# \date         June 2012
################################################################################

LIBNL_NAME      := libnl
LIBNL_VERSION   := $(call embtk_pkg_version,libnl)
LIBNL_SITE      := http://www.infradead.org/~tgr/libnl/files
LIBNL_PACKAGE   := libnl-$(LIBNL_VERSION).tar.gz
LIBNL_SRC_DIR   := $(embtk_pkgb)/libnl-$(LIBNL_VERSION)
LIBNL_BUILD_DIR := $(embtk_pkgb)/libnl-$(LIBNL_VERSION)-build

LIBNL_ETC  := libnl
LIBNL_LIBS := libnl*

LIBNL_SBINS := genl-ctrl-list nl-class-add nl-class-delete
LIBNL_SBINS += nl-classid-lookup  nl-class-list  nl-cls-add
LIBNL_SBINS += nl-cls-delete  nl-cls-list  nl-link-list
LIBNL_SBINS += nl-pktloc-lookup  nl-qdisc-add  nl-qdisc-delete
LIBNL_SBINS += nl-qdisc-list

LIBNL_INCLUDES   := libnl3
LIBNL_PKGCONFIGS := libnl*

LIBNL_SHARES := genl-ctrl-list.8 nl-classid-lookup.8
LIBNL_SHARES += nl-pktloc-lookup.8 nl-qdisc-add.8 nl-qdisc-delete.8
LIBNL_SHARES += nl-qdisc-list.8
LIBNL_SHARES := $(addprefix man/man8/,$(LIBNL_SHARES))

define embtk_postinstallonce_libnl
	$(call __embtk_fix_libtool_files,$(LIBDIR)/libnl)
endef