linux-old/net/Makefile
<<
>>
Prefs
   1#
   2# Makefile for the linux networking.
   3#
   4# 2 Sep 2000, Christoph Hellwig <hch@infradead.org>
   5# Rewritten to use lists instead of if-statements.
   6#
   7
   8O_TARGET :=     network.o
   9
  10mod-subdirs :=  ipv4/netfilter ipv6/netfilter ipx irda bluetooth atm netlink sched
  11export-objs :=  netsyms.o
  12
  13subdir-y :=     core ethernet
  14subdir-m :=     ipv4 # hum?
  15
  16
  17subdir-$(CONFIG_NET)            += 802 sched netlink
  18subdir-$(CONFIG_INET)           += ipv4
  19subdir-$(CONFIG_NETFILTER)      += ipv4/netfilter
  20subdir-$(CONFIG_UNIX)           += unix
  21subdir-$(CONFIG_IPV6)           += ipv6
  22
  23ifneq ($(CONFIG_IPV6),n)
  24ifneq ($(CONFIG_IPV6),)
  25subdir-$(CONFIG_NETFILTER)      += ipv6/netfilter
  26endif
  27endif
  28
  29subdir-$(CONFIG_KHTTPD)         += khttpd
  30subdir-$(CONFIG_PACKET)         += packet
  31subdir-$(CONFIG_NET_SCHED)      += sched
  32subdir-$(CONFIG_BRIDGE)         += bridge
  33subdir-$(CONFIG_IPX)            += ipx
  34subdir-$(CONFIG_ATALK)          += appletalk
  35subdir-$(CONFIG_WAN_ROUTER)     += wanrouter
  36subdir-$(CONFIG_X25)            += x25
  37subdir-$(CONFIG_LAPB)           += lapb
  38subdir-$(CONFIG_NETROM)         += netrom
  39subdir-$(CONFIG_ROSE)           += rose
  40subdir-$(CONFIG_AX25)           += ax25
  41subdir-$(CONFIG_IRDA)           += irda
  42subdir-$(CONFIG_BLUEZ)          += bluetooth
  43subdir-$(CONFIG_SUNRPC)         += sunrpc
  44subdir-$(CONFIG_ATM)            += atm
  45subdir-$(CONFIG_DECNET)         += decnet
  46subdir-$(CONFIG_ECONET)         += econet
  47subdir-$(CONFIG_VLAN_8021Q)           += 8021q
  48
  49
  50obj-y   := socket.o $(join $(subdir-y), $(patsubst %,/%.o,$(notdir $(subdir-y))))
  51ifeq ($(CONFIG_NET),y)
  52obj-$(CONFIG_MODULES)           += netsyms.o
  53obj-$(CONFIG_SYSCTL)            += sysctl_net.o
  54endif
  55
  56include $(TOPDIR)/Rules.make
  57
lxr.linux.no kindly hosted by Redpill Linpro AS, provider of Linux consulting and operations services since 1995.