#
# Makefile for the Linux TCP/IP (INET6) layer.
#
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#

export-objs := ipv6_syms.o ipv6_tunnel.o af_inet6.o icmp.o

#list-multi 	:= ipv6.o ipv6_tunnel.o

ipv6-objs	:= af_inet6.o anycast.o ip6_output.o ip6_input.o addrconf.o \
		   sit.o route.o ip6_fib.o ipv6_sockglue.o ndisc.o udp.o \
		   raw.o protocol.o icmp.o mcast.o reassembly.o tcp_ipv6.o \
		   exthdrs.o sysctl_net_ipv6.o datagram.o proc.o \
		   ip6_flowlabel.o ipv6_syms.o

ifneq ($(CONFIG_IPV6_MOBILITY),n)
ifneq ($(CONFIG_IPV6_MOBILITY),)
ipv6-objs += mipglue.o
endif
endif

obj-$(CONFIG_IPV6)  += ipv6.o
obj-$(CONFIG_IPV6_TUNNEL)  += ipv6_tunnel.o

ipv6.o: $(ipv6-objs)
	$(LD) -r -o $@ $(ipv6-objs)


#obj-$(CONFIG_IPV6_FIREWALL) += ip6_fw.o

include $(TOPDIR)/Rules.make
