xref: /linux/net/batman-adv/Makefile (revision be709d48329a500621d2a05835283150ae137b45)
1# SPDX-License-Identifier: GPL-2.0
2# Copyright (C) 2007-2019  B.A.T.M.A.N. contributors:
3#
4# Marek Lindner, Simon Wunderlich
5#
6# This program is free software; you can redistribute it and/or
7# modify it under the terms of version 2 of the GNU General Public
8# License as published by the Free Software Foundation.
9#
10# This program is distributed in the hope that it will be useful, but
11# WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13# General Public License for more details.
14#
15# You should have received a copy of the GNU General Public License
16# along with this program; if not, see <http://www.gnu.org/licenses/>.
17#
18
19obj-$(CONFIG_BATMAN_ADV) += batman-adv.o
20batman-adv-y += bat_algo.o
21batman-adv-y += bat_iv_ogm.o
22batman-adv-$(CONFIG_BATMAN_ADV_BATMAN_V) += bat_v.o
23batman-adv-$(CONFIG_BATMAN_ADV_BATMAN_V) += bat_v_elp.o
24batman-adv-$(CONFIG_BATMAN_ADV_BATMAN_V) += bat_v_ogm.o
25batman-adv-y += bitarray.o
26batman-adv-$(CONFIG_BATMAN_ADV_BLA) += bridge_loop_avoidance.o
27batman-adv-$(CONFIG_BATMAN_ADV_DEBUGFS) += debugfs.o
28batman-adv-$(CONFIG_BATMAN_ADV_DAT) += distributed-arp-table.o
29batman-adv-y += fragmentation.o
30batman-adv-y += gateway_client.o
31batman-adv-y += gateway_common.o
32batman-adv-y += hard-interface.o
33batman-adv-y += hash.o
34batman-adv-$(CONFIG_BATMAN_ADV_DEBUGFS) += icmp_socket.o
35batman-adv-$(CONFIG_BATMAN_ADV_DEBUG) += log.o
36batman-adv-y += main.o
37batman-adv-$(CONFIG_BATMAN_ADV_MCAST) += multicast.o
38batman-adv-y += netlink.o
39batman-adv-$(CONFIG_BATMAN_ADV_NC) += network-coding.o
40batman-adv-y += originator.o
41batman-adv-y += routing.o
42batman-adv-y += send.o
43batman-adv-y += soft-interface.o
44batman-adv-y += sysfs.o
45batman-adv-$(CONFIG_BATMAN_ADV_TRACING) += trace.o
46batman-adv-y += tp_meter.o
47batman-adv-y += translation-table.o
48batman-adv-y += tvlv.o
49
50CFLAGS_trace.o := -I$(src)
51