xref: /openbmc/linux/net/dccp/Makefile (revision ddebc973)
1obj-$(CONFIG_IP_DCCP) += dccp.o dccp_ipv4.o
2
3dccp-y := ccid.o feat.o input.o minisocks.o options.o output.o proto.o timer.o
4
5#
6# CCID algorithms to be used by dccp.ko
7#
8# CCID-2 is default (RFC 4340, p. 77) and has Ack Vectors as dependency
9dccp-y += ccids/ccid2.o ackvec.o
10dccp-$(CONFIG_IP_DCCP_CCID3)	+= ccids/ccid3.o
11
12dccp_ipv4-y := ipv4.o
13
14# build dccp_ipv6 as module whenever either IPv6 or DCCP is a module
15obj-$(subst y,$(CONFIG_IP_DCCP),$(CONFIG_IPV6)) += dccp_ipv6.o
16dccp_ipv6-y := ipv6.o
17
18obj-$(CONFIG_INET_DCCP_DIAG) += dccp_diag.o
19obj-$(CONFIG_NET_DCCPPROBE) += dccp_probe.o
20
21dccp-$(CONFIG_SYSCTL) += sysctl.o
22
23dccp_diag-y := diag.o
24dccp_probe-y := probe.o
25
26obj-y += ccids/
27