Makefile 671 Bytes
Newer Older
1
# SPDX-License-Identifier: GPL-2.0
Linus Torvalds's avatar
Linus Torvalds committed
2 3 4 5 6
#
# Makefile for SCTP support code.
#

obj-$(CONFIG_IP_SCTP) += sctp.o
7
obj-$(CONFIG_NET_SCTPPROBE) += sctp_probe.o
Xin Long's avatar
Xin Long committed
8
obj-$(CONFIG_INET_SCTP_DIAG) += sctp_diag.o
Linus Torvalds's avatar
Linus Torvalds committed
9 10 11 12

sctp-y := sm_statetable.o sm_statefuns.o sm_sideeffect.o \
	  protocol.o endpointola.o associola.o \
	  transport.o chunk.o sm_make_chunk.o ulpevent.o \
13
	  inqueue.o outqueue.o ulpqueue.o \
Linus Torvalds's avatar
Linus Torvalds committed
14
	  tsnmap.o bind_addr.o socket.o primitive.o \
15
	  output.o input.o debug.o stream.o auth.o \
16
	  offload.o
Linus Torvalds's avatar
Linus Torvalds committed
17

18 19
sctp_probe-y := probe.o

Linus Torvalds's avatar
Linus Torvalds committed
20
sctp-$(CONFIG_SCTP_DBG_OBJCNT) += objcnt.o
21
sctp-$(CONFIG_PROC_FS) += proc.o
Linus Torvalds's avatar
Linus Torvalds committed
22 23 24
sctp-$(CONFIG_SYSCTL) += sysctl.o

sctp-$(subst m,y,$(CONFIG_IPV6))	+= ipv6.o