GNU Linux-libre 4.14.251-gnu1
[releases.git] / net / sctp / Makefile
1 # SPDX-License-Identifier: GPL-2.0
2 #
3 # Makefile for SCTP support code.
4 #
5
6 obj-$(CONFIG_IP_SCTP) += sctp.o
7 obj-$(CONFIG_NET_SCTPPROBE) += sctp_probe.o
8 obj-$(CONFIG_INET_SCTP_DIAG) += sctp_diag.o
9
10 sctp-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 \
13           inqueue.o outqueue.o ulpqueue.o \
14           tsnmap.o bind_addr.o socket.o primitive.o \
15           output.o input.o debug.o stream.o auth.o \
16           offload.o
17
18 sctp_probe-y := probe.o
19
20 sctp-$(CONFIG_SCTP_DBG_OBJCNT) += objcnt.o
21 sctp-$(CONFIG_PROC_FS) += proc.o
22 sctp-$(CONFIG_SYSCTL) += sysctl.o
23
24 sctp-$(subst m,y,$(CONFIG_IPV6))        += ipv6.o