Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Arnaldo Carvalho de Melo | b61fafc | 2006-03-20 21:25:11 -0800 | [diff] [blame] | 2 | obj-$(CONFIG_IP_DCCP) += dccp.o dccp_ipv4.o |
Arnaldo Carvalho de Melo | 7c65787 | 2005-08-09 20:14:34 -0700 | [diff] [blame] | 3 | |
Tomasz Grobelny | 871a2c1 | 2010-12-04 13:38:01 +0100 | [diff] [blame] | 4 | dccp-y := ccid.o feat.o input.o minisocks.o options.o output.o proto.o timer.o \ |
| 5 | qpolicy.o |
Gerrit Renker | ddebc97 | 2009-01-04 21:42:53 -0800 | [diff] [blame] | 6 | # |
| 7 | # CCID algorithms to be used by dccp.ko |
| 8 | # |
| 9 | # CCID-2 is default (RFC 4340, p. 77) and has Ack Vectors as dependency |
| 10 | dccp-y += ccids/ccid2.o ackvec.o |
| 11 | dccp-$(CONFIG_IP_DCCP_CCID3) += ccids/ccid3.o |
Gerrit Renker | 129fa44 | 2009-01-04 21:45:33 -0800 | [diff] [blame] | 12 | dccp-$(CONFIG_IP_DCCP_TFRC_LIB) += ccids/lib/tfrc.o \ |
| 13 | ccids/lib/tfrc_equation.o \ |
| 14 | ccids/lib/packet_history.o \ |
| 15 | ccids/lib/loss_interval.o |
Gerrit Renker | ddebc97 | 2009-01-04 21:42:53 -0800 | [diff] [blame] | 16 | |
Arnaldo Carvalho de Melo | b61fafc | 2006-03-20 21:25:11 -0800 | [diff] [blame] | 17 | dccp_ipv4-y := ipv4.o |
Arnaldo Carvalho de Melo | 7c65787 | 2005-08-09 20:14:34 -0700 | [diff] [blame] | 18 | |
Gerrit Renker | 6a128e0 | 2006-11-14 11:50:36 -0200 | [diff] [blame] | 19 | # build dccp_ipv6 as module whenever either IPv6 or DCCP is a module |
| 20 | obj-$(subst y,$(CONFIG_IP_DCCP),$(CONFIG_IPV6)) += dccp_ipv6.o |
| 21 | dccp_ipv6-y := ipv6.o |
| 22 | |
Arnaldo Carvalho de Melo | 17b085e | 2005-08-12 12:59:17 -0300 | [diff] [blame] | 23 | obj-$(CONFIG_INET_DCCP_DIAG) += dccp_diag.o |
Arnaldo Carvalho de Melo | 4f5736c | 2005-08-12 09:27:49 -0300 | [diff] [blame] | 24 | |
Arnaldo Carvalho de Melo | e55d912 | 2006-03-20 19:25:02 -0800 | [diff] [blame] | 25 | dccp-$(CONFIG_SYSCTL) += sysctl.o |
| 26 | |
Arnaldo Carvalho de Melo | 4f5736c | 2005-08-12 09:27:49 -0300 | [diff] [blame] | 27 | dccp_diag-y := diag.o |
Masami Hiramatsu | ee549be | 2017-12-29 11:47:55 +0900 | [diff] [blame] | 28 | |
| 29 | # build with local directory for trace.h |
| 30 | CFLAGS_proto.o := -I$(src) |