1 # File: drivers/net/Makefile
3 # Makefile for the Linux network (ethercard) device drivers.
6 # This will go away in some future future: hidden configuration files
7 # are difficult for users to deal with.
10 NETDRV_OBJS
:= net.a
(Space.o
) net.a
(auto_irq.o
) net.a
(net_init.o
)
11 CFLAGS
:= $(CFLAGS
) -I..
/..
/net
/inet
12 CPP
:= $(CPP
) -I..
/..
/net
/inet
14 # The point of the makefile...
17 Space.o
: Space.c ..
/..
/include/linux
/autoconf.h
18 $(CC
) $(CFLAGS
) $(OPTS
) $(DL_OPTS
) -c
$< -o
$@
20 net_init.o
: ..
/..
/include/linux
/autoconf.h
23 NETDRV_OBJS
:= $(NETDRV_OBJS
) net.a
(wd.o
)
24 CONFIG_8390
= CONFIG_8390
26 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(WD_OPTS
) -c
$<
30 NETDRV_OBJS
:= $(NETDRV_OBJS
) net.a
(3c503.o
)
31 CONFIG_8390
= CONFIG_8390
32 3c503.o
: 3c503.c CONFIG
33 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(EL2_OPTS
) -c
$<
37 NETDRV_OBJS
:= $(NETDRV_OBJS
) net.a
(ne.o
)
38 CONFIG_8390
= CONFIG_8390
40 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(NE_OPTS
) -c
$<
44 NETDRV_OBJS
:= $(NETDRV_OBJS
) net.a
(hp.o
)
45 CONFIG_8390
= CONFIG_8390
47 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(HP_OPTS
) -c
$<
51 NETDRV_OBJS
:= $(NETDRV_OBJS
) net.a
(smc-ultra.o
)
52 CONFIG_8390
= CONFIG_8390
56 NETDRV_OBJS
:= $(NETDRV_OBJS
) net.a
(e2100.o
)
57 CONFIG_8390
= CONFIG_8390
61 NETDRV_OBJS
:= $(NETDRV_OBJS
) net.a
(plip.o
)
63 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(PLIP_OPTS
) -c
$<
67 NETDRV_OBJS
:= $(NETDRV_OBJS
) net.a
(ppp.o
) net.a
(slhc.o
)
71 NETDRV_OBJS
:= $(NETDRV_OBJS
) net.a
(slip.o
) net.a
(slhc.o
)
73 $(CC
) $(CPPFLAGS
) $(CFLAGS
) -c
$<
77 NETDRV_OBJS
:= $(NETDRV_OBJS
) net.a
(d_link.o
)
78 d_link.o
: d_link.c CONFIG
79 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(DL_OPTS
) -c
$<
83 NETDRV_OBJS
:= $(NETDRV_OBJS
) net.a
(lance.o
)
86 NETDRV_OBJS
:= $(NETDRV_OBJS
) net.a
(lance.o
)
89 NETDRV_OBJS
:= $(NETDRV_OBJS
) net.a
(at1700.o
)
92 NETDRV_OBJS
:= $(NETDRV_OBJS
) net.a
(3c501.o
)
95 NETDRV_OBJS
:= $(NETDRV_OBJS
) net.a
(3c507.o
)
98 NETDRV_OBJS
:= $(NETDRV_OBJS
) net.a
(3c509.o
)
100 ifdef CONFIG_EEXPRESS
101 NETDRV_OBJS
:= $(NETDRV_OBJS
) net.a
(eexpress.o
)
104 NETDRV_OBJS
:= $(NETDRV_OBJS
) net.a
(znet.o
)
107 NETDRV_OBJS
:= $(NETDRV_OBJS
) net.a
(depca.o
)
110 NETDRV_OBJS
:= $(NETDRV_OBJS
) net.a
(atp.o
)
113 NETDRV_OBJS
:= $(NETDRV_OBJS
) net.a
(ni52.o
)
116 NETDRV_OBJS
:= $(NETDRV_OBJS
) net.a
(ni65.o
)
119 NETDRV_OBJS
:= $(NETDRV_OBJS
) net.a
(3c505.o
)
122 NETDRV_OBJS
:= $(NETDRV_OBJS
) net.a
(ac3200.o
)
123 CONFIG_8390
= CONFIG_8390
127 NETDRV_OBJS
:= $(NETDRV_OBJS
) net.a
(8390.o
)
130 ifdef CONFIG_IP_DEFRAG
131 NETDRV_OBJS
:= $(NETDRV_OBJS
) net.a
(ip-frag.o
)
134 net.a
: $(NETDRV_OBJS
)
138 rm -f core
*.o
*.a
*.s
141 $(CPP
) -M
*.c
> .depend
146 # include a dependency file if one exists
148 ifeq (.depend
,$(wildcard .depend
))