1 # -*- Makefile -*- 2 3 SUBDIRS = lib 4 5 AM_CPPFLAGS = -I${top_srcdir}/include/linux-private -I${top_srcdir}/include -I${top_builddir}/include -D_GNU_SOURCE -DSYSCONFDIR=\"$(sysconfdir)/libnl\" 6 AM_CFLAGS = -Wall 7 8 LDADD = \ 9 ${top_builddir}/src/lib/libnl-cli-3.la \ 10 ${top_builddir}/lib/libnl-3.la \ 11 ${top_builddir}/lib/libnl-nf-3.la \ 12 ${top_builddir}/lib/libnl-genl-3.la \ 13 ${top_builddir}/lib/libnl-route-3.la \ 14 ${top_builddir}/lib/libnl-idiag-3.la 15 16 sbin_PROGRAMS = \ 17 genl-ctrl-list \ 18 nl-qdisc-add nl-qdisc-list nl-qdisc-delete \ 19 nl-class-add nl-class-list nl-class-delete \ 20 nl-cls-add nl-cls-list nl-cls-delete \ 21 nl-classid-lookup \ 22 nl-pktloc-lookup \ 23 nl-link-list 24 25 noinst_PROGRAMS = \ 26 nf-ct-list nf-ct-add nf-log nf-queue nf-monitor \ 27 nf-exp-list nf-exp-add nf-exp-delete \ 28 nl-addr-add nl-addr-delete nl-addr-list \ 29 nl-link-set nl-link-stats \ 30 nl-link-ifindex2name nl-link-name2ifindex \ 31 nl-neigh-add nl-neigh-delete nl-neigh-list \ 32 nl-rule-list \ 33 nl-neightbl-list \ 34 nl-monitor \ 35 nl-tctree-list \ 36 nl-route-add nl-route-delete nl-route-get nl-route-list \ 37 nl-fib-lookup \ 38 nl-list-caches nl-list-sockets \ 39 nl-util-addr \ 40 nl-link-enslave \ 41 nl-link-release \ 42 idiag-socket-details 43 44 genl_ctrl_list_SOURCES = genl-ctrl-list.c 45 46 nf_ct_list_SOURCES = nf-ct-list.c 47 nf_ct_add_SOURCES = nf-ct-add.c 48 nf_log_SOURCES = nf-log.c 49 nf_queue_SOURCES = nf-queue.c 50 nf_monitor_SOURCES = nf-monitor.c 51 52 nf_exp_list_SOURCES = nf-exp-list.c 53 nf_exp_add_SOURCES = nf-exp-add.c 54 nf_exp_delete_SOURCES = nf-exp-delete.c 55 56 nl_addr_add_SOURCES = nl-addr-add.c 57 nl_addr_delete_SOURCES = nl-addr-delete.c 58 nl_addr_list_SOURCES = nl-addr-list.c 59 60 nl_link_list_SOURCES = nl-link-list.c 61 nl_link_set_SOURCES = nl-link-set.c 62 nl_link_stats_SOURCES = nl-link-stats.c 63 nl_link_ifindex2name_SOURCES = nl-link-ifindex2name.c 64 nl_link_name2ifindex_SOURCES = nl-link-name2ifindex.c 65 66 nl_monitor_SOURCES = nl-monitor.c 67 68 nl_neigh_add_SOURCES = nl-neigh-add.c 69 nl_neigh_delete_SOURCES = nl-neigh-delete.c 70 nl_neigh_list_SOURCES = nl-neigh-list.c 71 72 nl_neightbl_list_SOURCES = nl-neightbl-list.c 73 74 nl_qdisc_add_SOURCES = nl-qdisc-add.c 75 nl_qdisc_delete_SOURCES = nl-qdisc-delete.c 76 nl_qdisc_list_SOURCES = nl-qdisc-list.c 77 78 nl_class_add_SOURCES = nl-class-add.c 79 nl_class_delete_SOURCES = nl-class-delete.c 80 nl_class_list_SOURCES = nl-class-list.c 81 82 nl_cls_add_SOURCES = nl-cls-add.c 83 nl_cls_list_SOURCES = nl-cls-list.c 84 nl_cls_delete_SOURCES = nl-cls-delete.c 85 86 nl_route_add_SOURCES = nl-route-add.c 87 nl_route_delete_SOURCES = nl-route-delete.c 88 nl_route_get_SOURCES = nl-route-get.c 89 nl_route_list_SOURCES = nl-route-list.c 90 91 nl_rule_list_SOURCES = nl-rule-list.c 92 93 nl_tctree_list_SOURCES = nl-tctree-list.c 94 95 nl_fib_lookup_SOURCES = nl-fib-lookup.c 96 97 nl_list_caches_SOURCES = nl-list-caches.c 98 nl_list_sockets_SOURCES = nl-list-sockets.c 99 100 nl_util_addr_SOURCES = nl-util-addr.c 101 102 nl_pktloc_lookup_SOURCES = nl-pktloc-lookup.c 103 104 nl_classid_lookup_SOURCES = nl-classid-lookup.c 105 106 idiag_socket_details_SOURCES = idiag-socket-details.c 107