summaryrefslogtreecommitdiffstats
path: root/net/ethernet/Makefile
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1997-01-07 02:33:00 +0000
committer <ralf@linux-mips.org>1997-01-07 02:33:00 +0000
commitbeb116954b9b7f3bb56412b2494b562f02b864b1 (patch)
tree120e997879884e1b9d93b265221b939d2ef1ade1 /net/ethernet/Makefile
parent908d4681a1dc3792ecafbe64265783a86c4cccb6 (diff)
Import of Linux/MIPS 2.1.14
Diffstat (limited to 'net/ethernet/Makefile')
-rw-r--r--net/ethernet/Makefile38
1 files changed, 5 insertions, 33 deletions
diff --git a/net/ethernet/Makefile b/net/ethernet/Makefile
index a298cb88a..a1e61cdda 100644
--- a/net/ethernet/Makefile
+++ b/net/ethernet/Makefile
@@ -7,51 +7,23 @@
#
# Note 2! The CFLAGS definition is now in the main makefile...
-.c.o:
- $(CC) $(CFLAGS) -c $<
-.s.o:
- $(AS) -o $*.o $<
-.c.s:
- $(CC) $(CFLAGS) -S $<
+O_TARGET := ethernet.o
-
-OBJS := eth.o
+OBJS := eth.o sysctl_net_ether.o
ifdef CONFIG_IPX
-
OBJ2 := pe2.o
-
endif
ifdef CONFIG_ATALK
-
OBJ2 := pe2.o
-
endif
-OBJS := $(OBJS) $(OBJ2)
-
ifdef CONFIG_NET
-
-ethernet.o: $(OBJS)
- $(LD) -r -o ethernet.o $(OBJS)
-
-else
-
-ethernet.o:
- $(AR) rcs ethernet.o
-
+O_OBJS := $(OBJS) $(OBJ2)
endif
-dep:
- $(CPP) -M *.c > .depend
+include $(TOPDIR)/Rules.make
tar:
- tar -cvf /dev/f1 .
-
-#
-# include a dependency file if one exists
-#
-ifeq (.depend,$(wildcard .depend))
-include .depend
-endif
+ tar -cvf /dev/f1 .