summaryrefslogtreecommitdiffstats
path: root/net/core/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/core/Makefile
parent908d4681a1dc3792ecafbe64265783a86c4cccb6 (diff)
Import of Linux/MIPS 2.1.14
Diffstat (limited to 'net/core/Makefile')
-rw-r--r--net/core/Makefile32
1 files changed, 10 insertions, 22 deletions
diff --git a/net/core/Makefile b/net/core/Makefile
index dee2b16d3..c4216d0e9 100644
--- a/net/core/Makefile
+++ b/net/core/Makefile
@@ -7,37 +7,25 @@
#
# 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 := core.o
-
-OBJS := sock.o dev.o dev_mcast.o skbuff.o datagram.o
+O_OBJS := sock.o skbuff.o iovec.o datagram.o sysctl_net_core.o
ifdef CONFIG_NET
-core.o: $(OBJS)
- $(LD) -r -o core.o $(OBJS)
+O_OBJS += dev.o dev_mcast.o
-else
+ifdef CONFIG_FIREWALL
+OX_OBJS += firewall.o
+endif
-core.o:
- $(AR) rcs core.o
+ifdef CONFIG_NET_ALIAS
+O_OBJS += net_alias.o
+endif
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