Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | # |
| 3 | # Makefile for SCTP support code. |
| 4 | # |
| 5 | |
| 6 | obj-$(CONFIG_IP_SCTP) += sctp.o |
Xin Long | 8f840e4 | 2016-04-14 15:35:33 +0800 | [diff] [blame] | 7 | obj-$(CONFIG_INET_SCTP_DIAG) += sctp_diag.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 8 | |
| 9 | sctp-y := sm_statetable.o sm_statefuns.o sm_sideeffect.o \ |
| 10 | protocol.o endpointola.o associola.o \ |
| 11 | transport.o chunk.o sm_make_chunk.o ulpevent.o \ |
David Laight | be1f4f4 | 2014-07-04 14:35:51 +0000 | [diff] [blame] | 12 | inqueue.o outqueue.o ulpqueue.o \ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | tsnmap.o bind_addr.o socket.o primitive.o \ |
Xin Long | a838631 | 2017-01-06 22:18:33 +0800 | [diff] [blame] | 14 | output.o input.o debug.o stream.o auth.o \ |
Marcelo Ricardo Leitner | ac1ed8b | 2017-10-03 19:20:17 -0300 | [diff] [blame] | 15 | offload.o stream_sched.o stream_sched_prio.o \ |
Xin Long | 0c3f6f6 | 2017-12-08 21:04:01 +0800 | [diff] [blame] | 16 | stream_sched_rr.o stream_interleave.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 17 | |
Xin Long | ff22b5b | 2018-02-13 19:33:20 +0800 | [diff] [blame] | 18 | sctp_diag-y := diag.o |
| 19 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 20 | sctp-$(CONFIG_SCTP_DBG_OBJCNT) += objcnt.o |
Florian Westphal | c4e85f8 | 2008-07-18 23:03:44 -0700 | [diff] [blame] | 21 | sctp-$(CONFIG_PROC_FS) += proc.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 22 | sctp-$(CONFIG_SYSCTL) += sysctl.o |
| 23 | |
| 24 | sctp-$(subst m,y,$(CONFIG_IPV6)) += ipv6.o |