cleanup
[linux-2.4.git] / net / core / Makefile
1 #
2 # Makefile for the Linux networking core.
3 #
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).
7 #
8 # Note 2! The CFLAGS definition is now in the main makefile...
9
10 O_TARGET := core.o
11
12 export-objs := netfilter.o profile.o ethtool.o neighbour.o
13
14 obj-y := sock.o skbuff.o iovec.o datagram.o scm.o
15
16 ifeq ($(CONFIG_SYSCTL),y)
17 ifeq ($(CONFIG_NET),y)
18 obj-y += sysctl_net_core.o
19 endif
20 endif
21
22 obj-$(CONFIG_FILTER) += filter.o
23
24 obj-$(CONFIG_NET) +=    dev.o ethtool.o dev_mcast.o dst.o neighbour.o \
25                         rtnetlink.o utils.o
26
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
34
35 include $(TOPDIR)/Rules.make