xref: /openbmc/linux/net/sctp/Makefile (revision 4821a076)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
21da177e4SLinus Torvalds#
31da177e4SLinus Torvalds# Makefile for SCTP support code.
41da177e4SLinus Torvalds#
51da177e4SLinus Torvalds
61da177e4SLinus Torvaldsobj-$(CONFIG_IP_SCTP) += sctp.o
78f840e47SXin Longobj-$(CONFIG_INET_SCTP_DIAG) += sctp_diag.o
81da177e4SLinus Torvalds
91da177e4SLinus Torvaldssctp-y := sm_statetable.o sm_statefuns.o sm_sideeffect.o \
101da177e4SLinus Torvalds	  protocol.o endpointola.o associola.o \
111da177e4SLinus Torvalds	  transport.o chunk.o sm_make_chunk.o ulpevent.o \
12be1f4f48SDavid Laight	  inqueue.o outqueue.o ulpqueue.o \
131da177e4SLinus Torvalds	  tsnmap.o bind_addr.o socket.o primitive.o \
14a8386317SXin Long	  output.o input.o debug.o stream.o auth.o \
15ac1ed8b8SMarcelo Ricardo Leitner	  offload.o stream_sched.o stream_sched_prio.o \
16*4821a076SXin Long	  stream_sched_rr.o stream_sched_fc.o \
17*4821a076SXin Long	  stream_interleave.o
181da177e4SLinus Torvalds
19ff22b5bfSXin Longsctp_diag-y := diag.o
20ff22b5bfSXin Long
211da177e4SLinus Torvaldssctp-$(CONFIG_SCTP_DBG_OBJCNT) += objcnt.o
22c4e85f82SFlorian Westphalsctp-$(CONFIG_PROC_FS) += proc.o
231da177e4SLinus Torvaldssctp-$(CONFIG_SYSCTL) += sysctl.o
241da177e4SLinus Torvalds
251da177e4SLinus Torvaldssctp-$(subst m,y,$(CONFIG_IPV6))	+= ipv6.o
26