xref: /linux/net/xfrm/Makefile (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
21da177e4SLinus Torvalds#
31da177e4SLinus Torvalds# Makefile for the XFRM subsystem.
41da177e4SLinus Torvalds#
51da177e4SLinus Torvalds
6ee9a113aSEyal Birgerxfrm_interface-$(CONFIG_XFRM_INTERFACE) += xfrm_interface_core.o
7ee9a113aSEyal Birger
894151f5aSEyal Birgerifeq ($(CONFIG_XFRM_INTERFACE),m)
994151f5aSEyal Birgerxfrm_interface-$(CONFIG_DEBUG_INFO_BTF_MODULES) += xfrm_interface_bpf.o
1094151f5aSEyal Birgerelse ifeq ($(CONFIG_XFRM_INTERFACE),y)
1194151f5aSEyal Birgerxfrm_interface-$(CONFIG_DEBUG_INFO_BTF) += xfrm_interface_bpf.o
1294151f5aSEyal Birgerendif
1394151f5aSEyal Birger
1444e36b42SDavid S. Millerobj-$(CONFIG_XFRM) := xfrm_policy.o xfrm_state.o xfrm_hash.o \
157e152524SJan Beulich		      xfrm_input.o xfrm_output.o \
16*f531d13bSEyal Birger		      xfrm_sysctl.o xfrm_replay.o xfrm_device.o \
17*f531d13bSEyal Birger		      xfrm_nat_keepalive.o
18558f82efSMasahide NAKAMURAobj-$(CONFIG_XFRM_STATISTICS) += xfrm_proc.o
197e152524SJan Beulichobj-$(CONFIG_XFRM_ALGO) += xfrm_algo.o
201da177e4SLinus Torvaldsobj-$(CONFIG_XFRM_USER) += xfrm_user.o
21c9e7c76dSDmitry Safonovobj-$(CONFIG_XFRM_USER_COMPAT) += xfrm_compat.o
226fccab67SHerbert Xuobj-$(CONFIG_XFRM_IPCOMP) += xfrm_ipcomp.o
23f203b76dSSteffen Klassertobj-$(CONFIG_XFRM_INTERFACE) += xfrm_interface.o
2426333c37SSabrina Dubrocaobj-$(CONFIG_XFRM_ESPINTCP) += espintcp.o
258f0ec8c6SDaniel Xuobj-$(CONFIG_DEBUG_INFO_BTF) += xfrm_state_bpf.o
26