blob: 10e342363793550c6b8ef5a114f73be91f237335 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Makefile for the Linux TCP/IP (INET6) layer.
3#
4
5obj-$(CONFIG_IPV6) += ipv6.o
6
Joerg Roedel989e5b92006-10-10 14:47:44 -07007ipv6-objs := af_inet6.o anycast.o ip6_output.o ip6_input.o addrconf.o \
YOSHIFUJI Hideaki2a8cc6c2007-11-14 15:56:23 +09008 addrlabel.o \
David S. Millerdb8dac22008-03-06 16:22:02 -08009 route.o ip6_fib.o ipv6_sockglue.o ndisc.o udp.o udplite.o \
Lorenzo Colitti6d0bfe22013-05-22 20:17:31 +000010 raw.o icmp.o mcast.o reassembly.o tcp_ipv6.o ping.o \
Tom Herberta6024562016-04-05 08:22:51 -070011 exthdrs.o datagram.o ip6_flowlabel.o inet6_connection_sock.o \
Ido Schimmel16ab6d72017-08-03 13:28:16 +020012 udp_offload.o seg6.o fib6_notifier.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070013
Tom Herberta6024562016-04-05 08:22:51 -070014ipv6-offload := ip6_offload.o tcpv6_offload.o exthdrs_offload.o
Vlad Yasevichd1da9322012-11-15 08:49:16 +000015
Pavel Emelyanov4a61b582007-12-05 01:43:25 -080016ipv6-$(CONFIG_SYSCTL) = sysctl_net_ipv6.o
YOSHIFUJI Hideaki7bc570c2008-04-03 09:22:53 +090017ipv6-$(CONFIG_IPV6_MROUTE) += ip6mr.o
18
Linus Torvalds1da177e2005-04-16 15:20:36 -070019ipv6-$(CONFIG_XFRM) += xfrm6_policy.o xfrm6_state.o xfrm6_input.o \
Steffen Klassert7e14ea12014-03-14 07:28:07 +010020 xfrm6_output.o xfrm6_protocol.o
David S. Miller5bf887f2006-01-10 21:02:21 -080021ipv6-$(CONFIG_NETFILTER) += netfilter.o
Thomas Graf101367c2006-08-04 03:39:02 -070022ipv6-$(CONFIG_IPV6_MULTIPLE_TABLES) += fib6_rules.o
David S. Miller30041e42007-04-24 22:15:40 -070023ipv6-$(CONFIG_PROC_FS) += proc.o
Glenn Griffinc6aefaf2008-02-07 21:49:26 -080024ipv6-$(CONFIG_SYN_COOKIES) += syncookies.o
Huw Daviescb72d382016-06-27 15:02:46 -040025ipv6-$(CONFIG_NETLABEL) += calipso.o
David Lebrund1df6fd2017-08-05 12:38:26 +020026ipv6-$(CONFIG_IPV6_SEG6_LWTUNNEL) += seg6_iptunnel.o seg6_local.o
David Lebrun46738b12016-11-15 16:14:04 +010027ipv6-$(CONFIG_IPV6_SEG6_HMAC) += seg6_hmac.o
Noriaki TAKAMIYA2c8d7ca2006-08-23 20:31:11 -070028
Linus Torvalds1da177e2005-04-16 15:20:36 -070029ipv6-objs += $(ipv6-y)
30
31obj-$(CONFIG_INET6_AH) += ah6.o
32obj-$(CONFIG_INET6_ESP) += esp6.o
Steffen Klassert7785bba2017-02-15 09:40:00 +010033obj-$(CONFIG_INET6_ESP_OFFLOAD) += esp6_offload.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070034obj-$(CONFIG_INET6_IPCOMP) += ipcomp6.o
Herbert Xud2acc342006-03-28 01:12:13 -080035obj-$(CONFIG_INET6_XFRM_TUNNEL) += xfrm6_tunnel.o
36obj-$(CONFIG_INET6_TUNNEL) += tunnel6.o
Herbert Xub59f45d2006-05-27 23:05:54 -070037obj-$(CONFIG_INET6_XFRM_MODE_TRANSPORT) += xfrm6_mode_transport.o
38obj-$(CONFIG_INET6_XFRM_MODE_TUNNEL) += xfrm6_mode_tunnel.o
Masahide NAKAMURA1d716272006-08-23 17:59:44 -070039obj-$(CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION) += xfrm6_mode_ro.o
Diego Beltrami0a694522006-10-03 23:47:05 -070040obj-$(CONFIG_INET6_XFRM_MODE_BEET) += xfrm6_mode_beet.o
Masahide NAKAMURA59fbb3a62007-06-26 23:56:32 -070041obj-$(CONFIG_IPV6_MIP6) += mip6.o
Tom Herbert33f11d12015-12-15 15:41:35 -080042obj-$(CONFIG_IPV6_ILA) += ila/
David S. Miller5bf887f2006-01-10 21:02:21 -080043obj-$(CONFIG_NETFILTER) += netfilter/
Linus Torvalds1da177e2005-04-16 15:20:36 -070044
Steffen Klasserted1efb22013-08-19 08:07:34 +020045obj-$(CONFIG_IPV6_VTI) += ip6_vti.o
Joerg Roedel989e5b92006-10-10 14:47:44 -070046obj-$(CONFIG_IPV6_SIT) += sit.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070047obj-$(CONFIG_IPV6_TUNNEL) += ip6_tunnel.o
xeb@mail.ruc12b3952012-08-10 00:51:50 +000048obj-$(CONFIG_IPV6_GRE) += ip6_gre.o
Arnd Bergmann95e4daa2016-05-31 22:42:11 +020049obj-$(CONFIG_IPV6_FOU) += fou6.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070050
Pravin B Shelar5f5624c2013-04-25 11:08:30 +000051obj-y += addrconf_core.o exthdrs_core.o ip6_checksum.o ip6_icmp.o
Simon Arlottdf484192012-12-16 06:47:50 +000052obj-$(CONFIG_INET) += output_core.o protocol.o $(ipv6-offload)
Arnaldo Carvalho de Melo5324a042005-08-12 09:26:18 -030053
54obj-$(subst m,y,$(CONFIG_IPV6)) += inet6_hashtables.o
Andy Zhou6d967f82014-09-19 18:02:53 -070055
56ifneq ($(CONFIG_IPV6),)
57obj-$(CONFIG_NET_UDP_TUNNEL) += ip6_udp_tunnel.o
Linus Lüssing9afd85c2015-05-02 14:01:07 +020058obj-y += mcast_snoop.o
Andy Zhou6d967f82014-09-19 18:02:53 -070059endif