diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1997-01-07 02:33:00 +0000 |
---|---|---|
committer | <ralf@linux-mips.org> | 1997-01-07 02:33:00 +0000 |
commit | beb116954b9b7f3bb56412b2494b562f02b864b1 (patch) | |
tree | 120e997879884e1b9d93b265221b939d2ef1ade1 /net/ipv4/Makefile | |
parent | 908d4681a1dc3792ecafbe64265783a86c4cccb6 (diff) |
Import of Linux/MIPS 2.1.14
Diffstat (limited to 'net/ipv4/Makefile')
-rw-r--r-- | net/ipv4/Makefile | 70 |
1 files changed, 40 insertions, 30 deletions
diff --git a/net/ipv4/Makefile b/net/ipv4/Makefile index 296c4d114..2ca338c04 100644 --- a/net/ipv4/Makefile +++ b/net/ipv4/Makefile @@ -7,45 +7,55 @@ # # 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 $< - - -OBJS := utils.o route.o proc.o timer.o protocol.o packet.o \ - arp.o ip.o raw.o icmp.o tcp.o udp.o devinet.o af_inet.o \ - igmp.o ip_fw.o checksum.o ipip.o - -ifdef CONFIG_INET_RARP - -OBJS := $(OBJS) rarp.o +O_TARGET := ipv4.o +IPV4_OBJS := utils.o route.o proc.o timer.o protocol.o packet.o \ + ip_input.o ip_fragment.o ip_forward.o ip_options.o \ + ip_output.o ip_sockglue.o \ + tcp.o tcp_input.o tcp_output.o tcp_timer.o tcp_ipv4.o\ + raw.o udp.o arp.o icmp.o devinet.o af_inet.o igmp.o ip_fw.o \ + sysctl_net_ipv4.o + +MOD_LIST_NAME := IPV4_MODULES +M_OBJS := + +ifeq ($(CONFIG_IP_MROUTE),y) +IPV4_OBJS += ipmr.o +endif +ifeq ($(CONFIG_INET_RARP),y) +IPV4_OBJS += rarp.o +else + ifeq ($(CONFIG_INET_RARP),m) + M_OBJS += rarp.o + endif endif -ifdef CONFIG_INET +ifeq ($(CONFIG_NET_IPIP),y) +IPV4_OBJS += ipip.o +else + ifeq ($(CONFIG_NET_IPIP),m) + M_OBJS += ipip.o + endif +endif -ipv4.o: $(OBJS) - $(LD) -r -o ipv4.o $(OBJS) +ifeq ($(CONFIG_IP_MASQUERADE),y) +IPV4_OBJS += ip_masq.o ip_masq_app.o +M_OBJS += ip_masq_ftp.o ip_masq_irc.o ip_masq_raudio.o +endif +ifeq ($(CONFIG_IP_ALIAS),y) +IPV4_OBJS += ip_alias.o else + ifeq ($(CONFIG_IP_ALIAS),m) + M_OBJS += ip_alias.o + endif +endif -ipv4.o: - $(AR) rcs ipv4.o - +ifdef CONFIG_INET +O_OBJS := $(IPV4_OBJS) 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 |