blob: 2fbd90bf8d33df9bc8851e54597a4e028d0d903f [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 \
Pavel Emelyanov4a61b582007-12-05 01:43:25 -080011 exthdrs.o datagram.o ip6_flowlabel.o inet6_connection_sock.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070012
Vlad Yasevich2207afc2012-11-15 08:49:19 +000013ipv6-offload := ip6_offload.o tcpv6_offload.o udp_offload.o exthdrs_offload.o
Vlad Yasevichd1da9322012-11-15 08:49:16 +000014
Pavel Emelyanov4a61b582007-12-05 01:43:25 -080015ipv6-$(CONFIG_SYSCTL) = sysctl_net_ipv6.o
YOSHIFUJI Hideaki7bc570c2008-04-03 09:22:53 +090016ipv6-$(CONFIG_IPV6_MROUTE) += ip6mr.o
17
Linus Torvalds1da177e2005-04-16 15:20:36 -070018ipv6-$(CONFIG_XFRM) += xfrm6_policy.o xfrm6_state.o xfrm6_input.o \
Steffen Klassert7e14ea12014-03-14 07:28:07 +010019 xfrm6_output.o xfrm6_protocol.o
David S. Miller5bf887f2006-01-10 21:02:21 -080020ipv6-$(CONFIG_NETFILTER) += netfilter.o
Thomas Graf101367c2006-08-04 03:39:02 -070021ipv6-$(CONFIG_IPV6_MULTIPLE_TABLES) += fib6_rules.o
David S. Miller30041e42007-04-24 22:15:40 -070022ipv6-$(CONFIG_PROC_FS) += proc.o
Glenn Griffinc6aefaf2008-02-07 21:49:26 -080023ipv6-$(CONFIG_SYN_COOKIES) += syncookies.o
Noriaki TAKAMIYA2c8d7ca2006-08-23 20:31:11 -070024
Linus Torvalds1da177e2005-04-16 15:20:36 -070025ipv6-objs += $(ipv6-y)
26
27obj-$(CONFIG_INET6_AH) += ah6.o
28obj-$(CONFIG_INET6_ESP) += esp6.o
29obj-$(CONFIG_INET6_IPCOMP) += ipcomp6.o
Herbert Xud2acc342006-03-28 01:12:13 -080030obj-$(CONFIG_INET6_XFRM_TUNNEL) += xfrm6_tunnel.o
31obj-$(CONFIG_INET6_TUNNEL) += tunnel6.o
Herbert Xub59f45d2006-05-27 23:05:54 -070032obj-$(CONFIG_INET6_XFRM_MODE_TRANSPORT) += xfrm6_mode_transport.o
33obj-$(CONFIG_INET6_XFRM_MODE_TUNNEL) += xfrm6_mode_tunnel.o
Masahide NAKAMURA1d716272006-08-23 17:59:44 -070034obj-$(CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION) += xfrm6_mode_ro.o
Diego Beltrami0a694522006-10-03 23:47:05 -070035obj-$(CONFIG_INET6_XFRM_MODE_BEET) += xfrm6_mode_beet.o
Masahide NAKAMURA59fbb3a62007-06-26 23:56:32 -070036obj-$(CONFIG_IPV6_MIP6) += mip6.o
Tom Herbert33f11d12015-12-15 15:41:35 -080037obj-$(CONFIG_IPV6_ILA) += ila/
David S. Miller5bf887f2006-01-10 21:02:21 -080038obj-$(CONFIG_NETFILTER) += netfilter/
Linus Torvalds1da177e2005-04-16 15:20:36 -070039
Steffen Klasserted1efb22013-08-19 08:07:34 +020040obj-$(CONFIG_IPV6_VTI) += ip6_vti.o
Joerg Roedel989e5b92006-10-10 14:47:44 -070041obj-$(CONFIG_IPV6_SIT) += sit.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070042obj-$(CONFIG_IPV6_TUNNEL) += ip6_tunnel.o
xeb@mail.ruc12b3952012-08-10 00:51:50 +000043obj-$(CONFIG_IPV6_GRE) += ip6_gre.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070044
Pravin B Shelar5f5624c2013-04-25 11:08:30 +000045obj-y += addrconf_core.o exthdrs_core.o ip6_checksum.o ip6_icmp.o
Simon Arlottdf484192012-12-16 06:47:50 +000046obj-$(CONFIG_INET) += output_core.o protocol.o $(ipv6-offload)
Arnaldo Carvalho de Melo5324a042005-08-12 09:26:18 -030047
48obj-$(subst m,y,$(CONFIG_IPV6)) += inet6_hashtables.o
Andy Zhou6d967f82014-09-19 18:02:53 -070049
50ifneq ($(CONFIG_IPV6),)
51obj-$(CONFIG_NET_UDP_TUNNEL) += ip6_udp_tunnel.o
Linus Lüssing9afd85c2015-05-02 14:01:07 +020052obj-y += mcast_snoop.o
Andy Zhou6d967f82014-09-19 18:02:53 -070053endif