xref: /linux/net/unix/Makefile (revision 2fe256a429cb6c0b0064563af4158470143a363c)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the Linux unix domain socket layer.
4#
5
6obj-$(CONFIG_UNIX)	+= unix.o
7
8unix-y			:= af_unix.o garbage.o
9unix-$(CONFIG_SYSCTL)	+= sysctl_net_unix.o
10unix-$(CONFIG_BPF_SYSCALL) += unix_bpf.o
11
12obj-$(CONFIG_UNIX_DIAG)	+= unix_diag.o
13unix_diag-y		:= diag.o
14
15obj-$(CONFIG_UNIX_SCM)	+= scm.o
16