Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # Makefile for the Linux TCP/IP (INET6) layer. |
| 3 | # |
| 4 | |
| 5 | obj-$(CONFIG_IPV6) += ipv6.o |
| 6 | |
Joerg Roedel | 989e5b9 | 2006-10-10 14:47:44 -0700 | [diff] [blame] | 7 | ipv6-objs := af_inet6.o anycast.o ip6_output.o ip6_input.o addrconf.o \ |
YOSHIFUJI Hideaki | 2a8cc6c | 2007-11-14 15:56:23 +0900 | [diff] [blame] | 8 | addrlabel.o \ |
David S. Miller | db8dac2 | 2008-03-06 16:22:02 -0800 | [diff] [blame] | 9 | route.o ip6_fib.o ipv6_sockglue.o ndisc.o udp.o udplite.o \ |
Lorenzo Colitti | 6d0bfe2 | 2013-05-22 20:17:31 +0000 | [diff] [blame] | 10 | raw.o icmp.o mcast.o reassembly.o tcp_ipv6.o ping.o \ |
Tom Herbert | a602456 | 2016-04-05 08:22:51 -0700 | [diff] [blame] | 11 | exthdrs.o datagram.o ip6_flowlabel.o inet6_connection_sock.o \ |
| 12 | udp_offload.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | |
Tom Herbert | a602456 | 2016-04-05 08:22:51 -0700 | [diff] [blame] | 14 | ipv6-offload := ip6_offload.o tcpv6_offload.o exthdrs_offload.o |
Vlad Yasevich | d1da932 | 2012-11-15 08:49:16 +0000 | [diff] [blame] | 15 | |
Pavel Emelyanov | 4a61b58 | 2007-12-05 01:43:25 -0800 | [diff] [blame] | 16 | ipv6-$(CONFIG_SYSCTL) = sysctl_net_ipv6.o |
YOSHIFUJI Hideaki | 7bc570c | 2008-04-03 09:22:53 +0900 | [diff] [blame] | 17 | ipv6-$(CONFIG_IPV6_MROUTE) += ip6mr.o |
| 18 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 19 | ipv6-$(CONFIG_XFRM) += xfrm6_policy.o xfrm6_state.o xfrm6_input.o \ |
Steffen Klassert | 7e14ea1 | 2014-03-14 07:28:07 +0100 | [diff] [blame] | 20 | xfrm6_output.o xfrm6_protocol.o |
David S. Miller | 5bf887f | 2006-01-10 21:02:21 -0800 | [diff] [blame] | 21 | ipv6-$(CONFIG_NETFILTER) += netfilter.o |
Thomas Graf | 101367c | 2006-08-04 03:39:02 -0700 | [diff] [blame] | 22 | ipv6-$(CONFIG_IPV6_MULTIPLE_TABLES) += fib6_rules.o |
David S. Miller | 30041e4 | 2007-04-24 22:15:40 -0700 | [diff] [blame] | 23 | ipv6-$(CONFIG_PROC_FS) += proc.o |
Glenn Griffin | c6aefaf | 2008-02-07 21:49:26 -0800 | [diff] [blame] | 24 | ipv6-$(CONFIG_SYN_COOKIES) += syncookies.o |
Huw Davies | cb72d38 | 2016-06-27 15:02:46 -0400 | [diff] [blame] | 25 | ipv6-$(CONFIG_NETLABEL) += calipso.o |
Noriaki TAKAMIYA | 2c8d7ca | 2006-08-23 20:31:11 -0700 | [diff] [blame] | 26 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 27 | ipv6-objs += $(ipv6-y) |
| 28 | |
| 29 | obj-$(CONFIG_INET6_AH) += ah6.o |
| 30 | obj-$(CONFIG_INET6_ESP) += esp6.o |
| 31 | obj-$(CONFIG_INET6_IPCOMP) += ipcomp6.o |
Herbert Xu | d2acc34 | 2006-03-28 01:12:13 -0800 | [diff] [blame] | 32 | obj-$(CONFIG_INET6_XFRM_TUNNEL) += xfrm6_tunnel.o |
| 33 | obj-$(CONFIG_INET6_TUNNEL) += tunnel6.o |
Herbert Xu | b59f45d | 2006-05-27 23:05:54 -0700 | [diff] [blame] | 34 | obj-$(CONFIG_INET6_XFRM_MODE_TRANSPORT) += xfrm6_mode_transport.o |
| 35 | obj-$(CONFIG_INET6_XFRM_MODE_TUNNEL) += xfrm6_mode_tunnel.o |
Masahide NAKAMURA | 1d71627 | 2006-08-23 17:59:44 -0700 | [diff] [blame] | 36 | obj-$(CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION) += xfrm6_mode_ro.o |
Diego Beltrami | 0a69452 | 2006-10-03 23:47:05 -0700 | [diff] [blame] | 37 | obj-$(CONFIG_INET6_XFRM_MODE_BEET) += xfrm6_mode_beet.o |
Masahide NAKAMURA | 59fbb3a6 | 2007-06-26 23:56:32 -0700 | [diff] [blame] | 38 | obj-$(CONFIG_IPV6_MIP6) += mip6.o |
Tom Herbert | 33f11d1 | 2015-12-15 15:41:35 -0800 | [diff] [blame] | 39 | obj-$(CONFIG_IPV6_ILA) += ila/ |
David S. Miller | 5bf887f | 2006-01-10 21:02:21 -0800 | [diff] [blame] | 40 | obj-$(CONFIG_NETFILTER) += netfilter/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 41 | |
Steffen Klassert | ed1efb2 | 2013-08-19 08:07:34 +0200 | [diff] [blame] | 42 | obj-$(CONFIG_IPV6_VTI) += ip6_vti.o |
Joerg Roedel | 989e5b9 | 2006-10-10 14:47:44 -0700 | [diff] [blame] | 43 | obj-$(CONFIG_IPV6_SIT) += sit.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 44 | obj-$(CONFIG_IPV6_TUNNEL) += ip6_tunnel.o |
xeb@mail.ru | c12b395 | 2012-08-10 00:51:50 +0000 | [diff] [blame] | 45 | obj-$(CONFIG_IPV6_GRE) += ip6_gre.o |
Arnd Bergmann | 95e4daa | 2016-05-31 22:42:11 +0200 | [diff] [blame] | 46 | obj-$(CONFIG_IPV6_FOU) += fou6.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 47 | |
Pravin B Shelar | 5f5624c | 2013-04-25 11:08:30 +0000 | [diff] [blame] | 48 | obj-y += addrconf_core.o exthdrs_core.o ip6_checksum.o ip6_icmp.o |
Simon Arlott | df48419 | 2012-12-16 06:47:50 +0000 | [diff] [blame] | 49 | obj-$(CONFIG_INET) += output_core.o protocol.o $(ipv6-offload) |
Arnaldo Carvalho de Melo | 5324a04 | 2005-08-12 09:26:18 -0300 | [diff] [blame] | 50 | |
| 51 | obj-$(subst m,y,$(CONFIG_IPV6)) += inet6_hashtables.o |
Andy Zhou | 6d967f8 | 2014-09-19 18:02:53 -0700 | [diff] [blame] | 52 | |
| 53 | ifneq ($(CONFIG_IPV6),) |
| 54 | obj-$(CONFIG_NET_UDP_TUNNEL) += ip6_udp_tunnel.o |
Linus Lüssing | 9afd85c | 2015-05-02 14:01:07 +0200 | [diff] [blame] | 55 | obj-y += mcast_snoop.o |
Andy Zhou | 6d967f8 | 2014-09-19 18:02:53 -0700 | [diff] [blame] | 56 | endif |