xref: /openbmc/linux/net/sctp/Makefile (revision ff22b5bf)
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 \
160c3f6f65SXin Long	  stream_sched_rr.o stream_interleave.o
171da177e4SLinus Torvalds
18ff22b5bfSXin Longsctp_diag-y := diag.o
19ff22b5bfSXin Long
201da177e4SLinus Torvaldssctp-$(CONFIG_SCTP_DBG_OBJCNT) += objcnt.o
21c4e85f82SFlorian Westphalsctp-$(CONFIG_PROC_FS) += proc.o
221da177e4SLinus Torvaldssctp-$(CONFIG_SYSCTL) += sysctl.o
231da177e4SLinus Torvalds
241da177e4SLinus Torvaldssctp-$(subst m,y,$(CONFIG_IPV6))	+= ipv6.o
25