summaryrefslogtreecommitdiffstats
path: root/drivers/net/tokenring/Makefile
blob: 65dfefc702f6dbe9c3a01886e9390bc7e056acba (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#
# Makefile for drivers/net/tokenring
#
# 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 inherited from the
# parent makefile.
#

#
# Note : at this point, these files are compiled on all systems.
# In the future, some of these should be built conditionally.
#

SUB_DIRS     := 
MOD_SUB_DIRS := $(SUB_DIRS)
ALL_SUB_DIRS := $(SUB_DIRS)


L_TARGET := tr.a
L_OBJS   := 
M_OBJS   :=

ifeq ($(CONFIG_IBMTR),y)
  L_OBJS += ibmtr.o
else
  ifeq ($(CONFIG_IBMTR),m)
    M_OBJS += ibmtr.o
  endif
endif

ifeq ($(CONFIG_IBMOL),y)
  L_OBJS += olympic.o
else
  ifeq ($(CONFIG_IBMOL),m)
    M_OBJS += olympic.o
  endif
endif

ifeq ($(CONFIG_TMS380TR),y)
  L_OBJS += tms380tr.o
  ifeq ($(CONFIG_ABYSS),y)
    L_OBJS += abyss.o
  endif
 ifeq ($(CONFIG_MADGEMC),y)
    L_OBJS += madgemc.o
  endif
  ifeq ($(CONFIG_TMSPCI),y)
    L_OBJS += tmspci.o
  endif
else
  ifeq ($(CONFIG_TMS380TR),m)
    M_OBJS += tms380tr.o
    ifeq ($(CONFIG_ABYSS),m)
      M_OBJS += abyss.o
    endif
    ifeq ($(CONFIG_MADGEMC),m)
      M_OBJS += madgemc.o
    endif
    ifeq ($(CONFIG_TMSPCI),m)
      M_OBJS += tmspci.o
    endif
  endif
endif

ifeq ($(CONFIG_SMCTR),y)
  L_OBJS += smctr.o
else
  ifeq ($(CONFIG_SMCTR),m)
    M_OBJS += smctr.o
  endif
endif

include $(TOPDIR)/Rules.make