summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: 5cd10afd2bad8104e6f8808d0584da84afc15fd8 (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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
# -*- Makefile -*-

SUBDIRS = lib

AM_CPPFLAGS  = -Wall -I${top_srcdir}/include -I${top_builddir}/include -D_GNU_SOURCE
AM_LDFLAGS = -L${top_builddir}/lib -L${top_builddir}/src/lib -lnl-cli

sbin_PROGRAMS = \
	nl-qdisc-add nl-qdisc-list nl-qdisc-delete \
	nl-class-add nl-class-delete \
	nl-classid-lookup

noinst_PROGRAMS = \
	genl-ctrl-list \
	nf-ct-list nf-log nf-queue nf-monitor \
	nl-addr-add nl-addr-delete nl-addr-list \
	nl-link-list nl-link-set nl-link-stats \
	nl-link-ifindex2name nl-link-name2ifindex \
	nl-neigh-add nl-neigh-delete nl-neigh-list \
	nl-rule-list \
	nl-neightbl-list \
	nl-monitor \
	nl-tctree-list \
	nl-route-add nl-route-delete nl-route-get nl-route-list \
	nl-fib-lookup \
	nl-list-caches nl-list-sockets \
	nl-util-addr \
	nl-pktloc-lookup

genl_ctrl_list_SOURCES = genl-ctrl-list.c 
genl_ctrl_list_LDADD = -lnl-genl -lnl-route

nf_ct_list_SOURCES = nf-ct-list.c 
nf_ct_list_LDADD = -lnl-nf
nf_log_SOURCES = nf-log.c
nf_log_LDADD = -lnl-nf
nf_queue_SOURCES = nf-queue.c 
nf_queue_LDADD = -lnl-nf
nf_monitor_SOURCES = nf-monitor.c
nf_monitor_LDADD = -lnl-nf

nl_addr_add_SOURCES = nl-addr-add.c
nl_addr_add_LDADD = -lnl-route
nl_addr_delete_SOURCES = nl-addr-delete.c
nl_addr_delete_LDADD = -lnl-route
nl_addr_list_SOURCES = nl-addr-list.c
nl_addr_list_LDADD = -lnl-route

nl_link_list_SOURCES = nl-link-list.c
nl_link_list_LDADD = -lnl-route
nl_link_set_SOURCES = nl-link-set.c
nl_link_set_LDADD = -lnl-route
nl_link_stats_SOURCES = nl-link-stats.c
nl_link_stats_LDADD = -lnl-route
nl_link_ifindex2name_SOURCES = nl-link-ifindex2name.c
nl_link_ifindex2name_LDADD = -lnl-route
nl_link_name2ifindex_SOURCES = nl-link-name2ifindex.c
nl_link_name2ifindex_LDADD = -lnl-route

nl_monitor_SOURCES = nl-monitor.c
nl_monitor_LDADD = -lnl-route

nl_neigh_add_SOURCES = nl-neigh-add.c
nl_neigh_add_LDADD = -lnl-route
nl_neigh_delete_SOURCES = nl-neigh-delete.c
nl_neigh_delete_LDADD = -lnl-route
nl_neigh_list_SOURCES = nl-neigh-list.c
nl_neigh_list_LDADD = -lnl-route

nl_neightbl_list_SOURCES = nl-neightbl-list.c
nl_neightbl_list_LDADD = -lnl-route

nl_qdisc_add_SOURCES = nl-qdisc-add.c
nl_qdisc_add_LDADD = -lnl-route
nl_qdisc_delete_SOURCES = nl-qdisc-delete.c
nl_qdisc_delete_LDADD = -lnl-route
nl_qdisc_list_SOURCES = nl-qdisc-list.c
nl_qdisc_list_LDADD = -lnl-route

nl_class_add_SOURCES = nl-class-add.c
nl_class_add_LDADD = -lnl-route
nl_class_delete_SOURCES = nl-class-delete.c
nl_class_delete_LDADD = -lnl-route

nl_route_add_SOURCES = nl-route-add.c
nl_route_add_LDADD = -lnl-route
nl_route_delete_SOURCES = nl-route-delete.c
nl_route_delete_LDADD = -lnl-route
nl_route_get_SOURCES = nl-route-get.c
nl_route_get_LDADD = -lnl-route
nl_route_list_SOURCES = nl-route-list.c
nl_route_list_LDADD = -lnl-route

nl_rule_list_SOURCES = nl-rule-list.c
nl_rule_list_LDADD = -lnl-route

nl_tctree_list_SOURCES = nl-tctree-list.c
nl_tctree_list_LDADD = -lnl-route

nl_fib_lookup_SOURCES = nl-fib-lookup.c
nl_fib_lookup_LDADD = -lnl-route

nl_list_caches_SOURCES = nl-list-caches.c
nl_list_caches_LDADD = -lnl-route
nl_list_sockets_SOURCES = nl-list-sockets.c
nl_list_sockets_LDADD = -lnl-route

nl_util_addr_SOURCES = nl-util-addr.c
nl_util_addr_LDADD = -lnl-route

nl_pktloc_lookup_SOURCES = nl-pktloc-lookup.c
nl_pktloc_lookup_LDADD = -lnl-route

nl_classid_lookup_SOURCES = nl-classid-lookup.c
nl_classid_lookup_LDADD = -lnl-route