2 # Makefile for the Linux networking core.
4 # Note! Dependencies are done automagically by 'make dep', which also
5 # removes any old dependencies. DON'T put your own dependencies here
6 # unless it's something special (ie not a .c file).
8 # Note 2! The CFLAGS definition is now in the main makefile...
12 export-objs := netfilter.o profile.o ethtool.o neighbour.o
14 obj-y := sock.o skbuff.o iovec.o datagram.o scm.o
16 ifeq ($(CONFIG_SYSCTL),y)
17 ifeq ($(CONFIG_NET),y)
18 obj-y += sysctl_net_core.o
22 obj-$(CONFIG_FILTER) += filter.o
24 obj-$(CONFIG_NET) += dev.o ethtool.o dev_mcast.o dst.o neighbour.o \
27 obj-$(CONFIG_NETFILTER) += netfilter.o
28 obj-$(CONFIG_NET_DIVERT) += dv.o
29 obj-$(CONFIG_NET_PROFILE) += profile.o
30 obj-$(CONFIG_NET_PKTGEN) += pktgen.o
31 obj-$(CONFIG_NET_RADIO) += wireless.o
32 # Ugly. I wish all wireless drivers were moved in drivers/net/wireless
33 obj-$(CONFIG_NET_PCMCIA_RADIO) += wireless.o
35 include $(TOPDIR)/Rules.make