Makefile 878 B

12345678910111213141516171819202122232425262728293031
  1. # SPDX-License-Identifier: GPL-2.0
  2. obj-$(CONFIG_IP_DCCP) += dccp.o dccp_ipv4.o
  3. dccp-y := ccid.o feat.o input.o minisocks.o options.o output.o proto.o timer.o \
  4. qpolicy.o
  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
  9. dccp-y += ccids/ccid2.o ackvec.o
  10. dccp-$(CONFIG_IP_DCCP_CCID3) += ccids/ccid3.o
  11. dccp-$(CONFIG_IP_DCCP_TFRC_LIB) += ccids/lib/tfrc.o \
  12. ccids/lib/tfrc_equation.o \
  13. ccids/lib/packet_history.o \
  14. ccids/lib/loss_interval.o
  15. dccp_ipv4-y := ipv4.o
  16. # build dccp_ipv6 as module whenever either IPv6 or DCCP is a module
  17. obj-$(subst y,$(CONFIG_IP_DCCP),$(CONFIG_IPV6)) += dccp_ipv6.o
  18. dccp_ipv6-y := ipv6.o
  19. obj-$(CONFIG_INET_DCCP_DIAG) += dccp_diag.o
  20. dccp-$(CONFIG_SYSCTL) += sysctl.o
  21. dccp_diag-y := diag.o
  22. # build with local directory for trace.h
  23. CFLAGS_proto.o := -I$(src)