blob: 54bd9c1a8aa1e888d853b3822cf92f64c44f92d5 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Linus Torvalds1da177e2005-04-16 15:20:36 -07002#
3# Makefile for SCTP support code.
4#
5
6obj-$(CONFIG_IP_SCTP) += sctp.o
Wei Yongjun787a51a2010-04-30 22:41:09 -04007obj-$(CONFIG_NET_SCTPPROBE) += sctp_probe.o
Xin Long8f840e42016-04-14 15:35:33 +08008obj-$(CONFIG_INET_SCTP_DIAG) += sctp_diag.o
Linus Torvalds1da177e2005-04-16 15:20:36 -07009
10sctp-y := sm_statetable.o sm_statefuns.o sm_sideeffect.o \
11 protocol.o endpointola.o associola.o \
12 transport.o chunk.o sm_make_chunk.o ulpevent.o \
David Laightbe1f4f42014-07-04 14:35:51 +000013 inqueue.o outqueue.o ulpqueue.o \
Linus Torvalds1da177e2005-04-16 15:20:36 -070014 tsnmap.o bind_addr.o socket.o primitive.o \
Xin Longa8386312017-01-06 22:18:33 +080015 output.o input.o debug.o stream.o auth.o \
Marcelo Ricardo Leitnerac1ed8b2017-10-03 19:20:17 -030016 offload.o stream_sched.o stream_sched_prio.o \
Xin Long0c3f6f62017-12-08 21:04:01 +080017 stream_sched_rr.o stream_interleave.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070018
Wei Yongjun787a51a2010-04-30 22:41:09 -040019sctp_probe-y := probe.o
20
Linus Torvalds1da177e2005-04-16 15:20:36 -070021sctp-$(CONFIG_SCTP_DBG_OBJCNT) += objcnt.o
Florian Westphalc4e85f82008-07-18 23:03:44 -070022sctp-$(CONFIG_PROC_FS) += proc.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070023sctp-$(CONFIG_SYSCTL) += sysctl.o
24
25sctp-$(subst m,y,$(CONFIG_IPV6)) += ipv6.o