OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [uclinux/] [uClinux-2.0.x/] [net/] [Makefile] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 199 simons
#
2
# Makefile for the linux networking.
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
MOD_SUB_DIRS := ipv4
11
ALL_SUB_DIRS := 802 ax25 bridge core ethernet ipv4 ipx unix appletalk netrom rose #decnet
12
SUB_DIRS     := core ethernet unix
13
MOD_LIST_NAME := NET_MISC_MODULES
14
 
15
ifeq ($(CONFIG_NET),y)
16
SUB_DIRS += 802
17
endif
18
 
19
ifeq ($(CONFIG_INET),y)
20
SUB_DIRS += ipv4
21
endif
22
 
23
ifeq ($(CONFIG_BRIDGE),y)
24
SUB_DIRS += bridge
25
endif
26
 
27
ifeq ($(CONFIG_IPX),y)
28
SUB_DIRS += ipx
29
else
30
  ifeq ($(CONFIG_IPX),m)
31
  MOD_SUB_DIRS += ipx
32
  endif
33
endif
34
 
35
ifeq ($(CONFIG_ATALK),y)
36
SUB_DIRS += appletalk
37
else
38
  ifeq ($(CONFIG_ATALK),m)
39
  MOD_SUB_DIRS += appletalk
40
  endif
41
endif
42
 
43
ifeq ($(CONFIG_NETROM),y)
44
SUB_DIRS += netrom
45
else
46
  ifeq ($(CONFIG_NETROM),m)
47
  MOD_SUB_DIRS += netrom
48
  endif
49
endif
50
 
51
ifeq ($(CONFIG_ROSE),y)
52
SUB_DIRS += rose
53
else
54
  ifeq ($(CONFIG_ROSE),m)
55
  MOD_SUB_DIRS += rose
56
  endif
57
endif
58
 
59
ifeq ($(CONFIG_AX25),y)
60
SUB_DIRS += ax25
61
else
62
  ifeq ($(CONFIG_AX25),m)
63
  MOD_SUB_DIRS += ax25
64
  endif
65
endif
66
 
67
L_TARGET     := network.a
68
L_OBJS       := socket.o protocols.o sysctl_net.o $(join $(SUB_DIRS),$(SUB_DIRS:%=/%.o))
69
ifeq ($(CONFIG_NET),y)
70
ifeq ($(CONFIG_MODULES),y)
71
LX_OBJS = netsyms.o
72
endif
73
endif
74
 
75
M_OBJS       :=
76
 
77
ifeq ($(CONFIG_NETLINK),y)
78
L_OBJS += netlink.o
79
else
80
  ifeq ($(CONFIG_NETLINK),m)
81
    M_OBJS += netlink.o
82
  endif
83
endif
84
 
85
include $(TOPDIR)/Rules.make

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.