summaryrefslogtreecommitdiffstats
path: root/net/core/Makefile
blob: af3c740917dcd22beaba9918da0db0078fee5ee6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#
# Makefile for the Linux networking core.
#
# 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).
#
# Note 2! The CFLAGS definition is now in the main makefile...

O_TARGET := core.o

O_OBJS	:= sock.o skbuff.o iovec.o datagram.o scm.o

ifeq ($(CONFIG_SYSCTL),y)
ifeq ($(CONFIG_NET),y)
O_OBJS += sysctl_net_core.o
endif
endif

ifdef CONFIG_FILTER
O_OBJS += filter.o
endif

ifdef CONFIG_NET

O_OBJS	+= dev.o dev_mcast.o dst.o neighbour.o rtnetlink.o utils.o

ifdef CONFIG_NETFILTER
OX_OBJS += netfilter.o
endif

ifeq ($(CONFIG_NET_DIVERT),y)
O_OBJS += dv.o
endif

endif

ifdef CONFIG_NET_PROFILE
OX_OBJS += profile.o
endif

include $(TOPDIR)/Rules.make

tar:
		tar -cvf /dev/f1 .