freebsd-skq/sys/modules/sctp/Makefile
Mark Johnston 052c5ec4d0 Provide support for building SCTP as a loadable module.
With this change, a kernel compiled with "options SCTP_SUPPORT" and
without "options SCTP" supports dynamic loading of the SCTP stack.

Currently sctp.ko cannot be unloaded since some prerequisite teardown
logic is not yet implemented.  Attempts to unload the module will return
EOPNOTSUPP.

Discussed with:	tuexen
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D21997
2020-07-10 14:56:05 +00:00

31 lines
551 B
Makefile

# $FreeBSD$
.PATH: ${SRCTOP}/sys/netinet
.PATH: ${SRCTOP}/sys/netinet6
KMOD= sctp
SRCS= sctp_asconf.c \
sctp_auth.c \
sctp_bsd_addr.c \
sctp_cc_functions.c \
sctp_crc32.c \
sctp_indata.c \
sctp_input.c \
sctp_kdtrace.c \
sctp_module.c \
sctp_output.c \
sctp_pcb.c \
sctp_peeloff.c \
sctp_ss_functions.c \
sctp_syscalls.c \
sctp_sysctl.c \
sctp_timer.c \
sctp_usrreq.c \
sctp6_usrreq.c \
sctputil.c
SRCS+= device_if.h bus_if.h vnode_if.h
SRCS+= opt_capsicum.h opt_ktrace.h opt_inet.h opt_inet6.h opt_sctp.h
.include <bsd.kmod.mk>