blob: 5b4ff37bc80619d3d4be7191d58a1753755ac2e9 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Arnaldo Carvalho de Melob61fafc2006-03-20 21:25:11 -08002obj-$(CONFIG_IP_DCCP) += dccp.o dccp_ipv4.o
Arnaldo Carvalho de Melo7c657872005-08-09 20:14:34 -07003
Tomasz Grobelny871a2c12010-12-04 13:38:01 +01004dccp-y := ccid.o feat.o input.o minisocks.o options.o output.o proto.o timer.o \
5 qpolicy.o
Gerrit Renkerddebc972009-01-04 21:42:53 -08006#
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
10dccp-y += ccids/ccid2.o ackvec.o
11dccp-$(CONFIG_IP_DCCP_CCID3) += ccids/ccid3.o
Gerrit Renker129fa442009-01-04 21:45:33 -080012dccp-$(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 Renkerddebc972009-01-04 21:42:53 -080016
Arnaldo Carvalho de Melob61fafc2006-03-20 21:25:11 -080017dccp_ipv4-y := ipv4.o
Arnaldo Carvalho de Melo7c657872005-08-09 20:14:34 -070018
Gerrit Renker6a128e02006-11-14 11:50:36 -020019# build dccp_ipv6 as module whenever either IPv6 or DCCP is a module
20obj-$(subst y,$(CONFIG_IP_DCCP),$(CONFIG_IPV6)) += dccp_ipv6.o
21dccp_ipv6-y := ipv6.o
22
Arnaldo Carvalho de Melo17b085e2005-08-12 12:59:17 -030023obj-$(CONFIG_INET_DCCP_DIAG) += dccp_diag.o
Arnaldo Carvalho de Melo4f5736c2005-08-12 09:27:49 -030024
Arnaldo Carvalho de Meloe55d9122006-03-20 19:25:02 -080025dccp-$(CONFIG_SYSCTL) += sysctl.o
26
Arnaldo Carvalho de Melo4f5736c2005-08-12 09:27:49 -030027dccp_diag-y := diag.o
Masami Hiramatsuee549be2017-12-29 11:47:55 +090028
29# build with local directory for trace.h
30CFLAGS_proto.o := -I$(src)