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 10O_TARGET := core.o 11 12export-objs := netfilter.o profile.o ethtool.o neighbour.o 13 14obj-y := sock.o skbuff.o iovec.o datagram.o scm.o 15 16ifeq ($(CONFIG_SYSCTL),y) 17ifeq ($(CONFIG_NET),y) 18obj-y += sysctl_net_core.o 19endif 20endif 21 22obj-$(CONFIG_FILTER) += filter.o 23 24obj-$(CONFIG_NET) += dev.o ethtool.o dev_mcast.o dst.o neighbour.o \ 25 rtnetlink.o utils.o 26 27obj-$(CONFIG_NETFILTER) += netfilter.o 28obj-$(CONFIG_NET_DIVERT) += dv.o 29obj-$(CONFIG_NET_PROFILE) += profile.o 30obj-$(CONFIG_NET_PKTGEN) += pktgen.o 31obj-$(CONFIG_NET_RADIO) += wireless.o 32# Ugly. I wish all wireless drivers were moved in drivers/net/wireless 33obj-$(CONFIG_NET_PCMCIA_RADIO) += wireless.o 34 35include $(TOPDIR)/Rules.make 36