blob: c174ccb340a15bca6e712932ae5e7a9c34739efb [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 \
12 udp_offload.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
Noriaki TAKAMIYA2c8d7ca2006-08-23 20:31:11 -070026
Linus Torvalds1da177e2005-04-16 15:20:36 -070027ipv6-objs += $(ipv6-y)
28
29obj-$(CONFIG_INET6_AH) += ah6.o
30obj-$(CONFIG_INET6_ESP) += esp6.o
31obj-$(CONFIG_INET6_IPCOMP) += ipcomp6.o
Herbert Xud2acc342006-03-28 01:12:13 -080032obj-$(CONFIG_INET6_XFRM_TUNNEL) += xfrm6_tunnel.o
33obj-$(CONFIG_INET6_TUNNEL) += tunnel6.o
Herbert Xub59f45d2006-05-27 23:05:54 -070034obj-$(CONFIG_INET6_XFRM_MODE_TRANSPORT) += xfrm6_mode_transport.o
35obj-$(CONFIG_INET6_XFRM_MODE_TUNNEL) += xfrm6_mode_tunnel.o
Masahide NAKAMURA1d716272006-08-23 17:59:44 -070036obj-$(CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION) += xfrm6_mode_ro.o
Diego Beltrami0a694522006-10-03 23:47:05 -070037obj-$(CONFIG_INET6_XFRM_MODE_BEET) += xfrm6_mode_beet.o
Masahide NAKAMURA59fbb3a62007-06-26 23:56:32 -070038obj-$(CONFIG_IPV6_MIP6) += mip6.o
Tom Herbert33f11d12015-12-15 15:41:35 -080039obj-$(CONFIG_IPV6_ILA) += ila/
David S. Miller5bf887f2006-01-10 21:02:21 -080040obj-$(CONFIG_NETFILTER) += netfilter/
Linus Torvalds1da177e2005-04-16 15:20:36 -070041
Steffen Klasserted1efb22013-08-19 08:07:34 +020042obj-$(CONFIG_IPV6_VTI) += ip6_vti.o
Joerg Roedel989e5b92006-10-10 14:47:44 -070043obj-$(CONFIG_IPV6_SIT) += sit.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070044obj-$(CONFIG_IPV6_TUNNEL) += ip6_tunnel.o
xeb@mail.ruc12b3952012-08-10 00:51:50 +000045obj-$(CONFIG_IPV6_GRE) += ip6_gre.o
Arnd Bergmann95e4daa2016-05-31 22:42:11 +020046obj-$(CONFIG_IPV6_FOU) += fou6.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070047
Pravin B Shelar5f5624c2013-04-25 11:08:30 +000048obj-y += addrconf_core.o exthdrs_core.o ip6_checksum.o ip6_icmp.o
Simon Arlottdf484192012-12-16 06:47:50 +000049obj-$(CONFIG_INET) += output_core.o protocol.o $(ipv6-offload)
Arnaldo Carvalho de Melo5324a042005-08-12 09:26:18 -030050
51obj-$(subst m,y,$(CONFIG_IPV6)) += inet6_hashtables.o
Andy Zhou6d967f82014-09-19 18:02:53 -070052
53ifneq ($(CONFIG_IPV6),)
54obj-$(CONFIG_NET_UDP_TUNNEL) += ip6_udp_tunnel.o
Linus Lüssing9afd85c2015-05-02 14:01:07 +020055obj-y += mcast_snoop.o
Andy Zhou6d967f82014-09-19 18:02:53 -070056endif