Commit a56ea9ff authored by Kai Germaschewski's avatar Kai Germaschewski

kbuild: Use standard multi-part object declaration in net/*

parent 738c5f23
# #
# Makefile for the Linux 802.x protocol layers. # Makefile for the Linux 802.x protocol layers.
# #
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
# Note 2! The CFLAGS definition is now in the main makefile...
O_TARGET := 802.o
export-objs = llc_macinit.o p8022.o psnap.o export-objs = llc_macinit.o p8022.o psnap.o
......
# #
# Makefile for the Linux VLAN layer. # Makefile for the Linux VLAN layer.
# #
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
# Note 2! The CFLAGS definition is now in the main makefile...
O_TARGET := 8021q.o obj-$(CONFIG_VLAN_8021Q) += 8021q.o
obj-y := vlan.o vlanproc.o vlan_dev.o 8021q-objs := vlan.o vlanproc.o vlan_dev.o
obj-m := $(O_TARGET)
include $(TOPDIR)/Rules.make include $(TOPDIR)/Rules.make
...@@ -7,47 +7,43 @@ ...@@ -7,47 +7,43 @@
O_TARGET := network.o O_TARGET := network.o
mod-subdirs := ipv4/netfilter ipv6/netfilter ipx irda bluetooth atm netlink sched mod-subdirs := ipv4 ipv4/netfilter ipv6/netfilter ipx irda bluetooth atm netlink sched
export-objs := netsyms.o export-objs := netsyms.o
subdir-y := core ethernet obj-y := socket.o core/ ethernet/
subdir-m := ipv4 # hum?
obj-$(CONFIG_NET) += 802/ sched/ netlink/
subdir-$(CONFIG_NET) += 802 sched netlink obj-$(CONFIG_INET) += ipv4/
subdir-$(CONFIG_INET) += ipv4 obj-$(CONFIG_NETFILTER) += ipv4/netfilter/
subdir-$(CONFIG_NETFILTER) += ipv4/netfilter obj-$(CONFIG_UNIX) += unix/
subdir-$(CONFIG_UNIX) += unix obj-$(CONFIG_IPV6) += ipv6/
subdir-$(CONFIG_IPV6) += ipv6
ifneq ($(CONFIG_IPV6),n) ifneq ($(CONFIG_IPV6),n)
ifneq ($(CONFIG_IPV6),) ifneq ($(CONFIG_IPV6),)
subdir-$(CONFIG_NETFILTER) += ipv6/netfilter obj-$(CONFIG_NETFILTER) += ipv6/netfilter/
endif endif
endif endif
subdir-$(CONFIG_KHTTPD) += khttpd obj-$(CONFIG_KHTTPD) += khttpd/
subdir-$(CONFIG_PACKET) += packet obj-$(CONFIG_PACKET) += packet/
subdir-$(CONFIG_NET_SCHED) += sched obj-$(CONFIG_NET_SCHED) += sched/
subdir-$(CONFIG_BRIDGE) += bridge obj-$(CONFIG_BRIDGE) += bridge/
subdir-$(CONFIG_IPX) += ipx obj-$(CONFIG_IPX) += ipx/
subdir-$(CONFIG_ATALK) += appletalk obj-$(CONFIG_ATALK) += appletalk/
subdir-$(CONFIG_WAN_ROUTER) += wanrouter obj-$(CONFIG_WAN_ROUTER) += wanrouter/
subdir-$(CONFIG_X25) += x25 obj-$(CONFIG_X25) += x25/
subdir-$(CONFIG_LAPB) += lapb obj-$(CONFIG_LAPB) += lapb/
subdir-$(CONFIG_NETROM) += netrom obj-$(CONFIG_NETROM) += netrom/
subdir-$(CONFIG_ROSE) += rose obj-$(CONFIG_ROSE) += rose/
subdir-$(CONFIG_AX25) += ax25 obj-$(CONFIG_AX25) += ax25/
subdir-$(CONFIG_IRDA) += irda obj-$(CONFIG_IRDA) += irda/
subdir-$(CONFIG_BLUEZ) += bluetooth obj-$(CONFIG_BLUEZ) += bluetooth/
subdir-$(CONFIG_SUNRPC) += sunrpc obj-$(CONFIG_SUNRPC) += sunrpc/
subdir-$(CONFIG_ATM) += atm obj-$(CONFIG_ATM) += atm/
subdir-$(CONFIG_DECNET) += decnet obj-$(CONFIG_DECNET) += decnet/
subdir-$(CONFIG_ECONET) += econet obj-$(CONFIG_ECONET) += econet/
subdir-$(CONFIG_VLAN_8021Q) += 8021q obj-$(CONFIG_VLAN_8021Q) += 8021q/
obj-y := socket.o $(join $(subdir-y), $(patsubst %,/%.o,$(notdir $(subdir-y))))
ifeq ($(CONFIG_NET),y) ifeq ($(CONFIG_NET),y)
obj-$(CONFIG_MODULES) += netsyms.o obj-$(CONFIG_MODULES) += netsyms.o
obj-$(CONFIG_SYSCTL) += sysctl_net.o obj-$(CONFIG_SYSCTL) += sysctl_net.o
......
# #
# Makefile for the Linux AppleTalk layer. # Makefile for the Linux AppleTalk layer.
# #
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
# Note 2! The CFLAGS definition is now in the main makefile...
O_TARGET := appletalk.o
export-objs = ddp.o export-objs = ddp.o
obj-y := aarp.o ddp.o obj-$(CONFIG_ATALK) += appletalk.o
obj-m := $(O_TARGET)
obj-$(CONFIG_SYSCTL) += sysctl_net_atalk.o appletalk-y := aarp.o ddp.o
appletalk-$(CONFIG_SYSCTL) += sysctl_net_atalk.o
appletalk-objs := $(appletalk-y)
include $(TOPDIR)/Rules.make include $(TOPDIR)/Rules.make
...@@ -2,28 +2,15 @@ ...@@ -2,28 +2,15 @@
# Makefile for the ATM Protocol Families. # Makefile for the ATM Protocol Families.
# #
O_TARGET := atm.o
export-objs := common.o atm_misc.o raw.o resources.o ipcommon.o proc.o export-objs := common.o atm_misc.o raw.o resources.o ipcommon.o proc.o
mpoa-objs := mpc.o mpoa_caches.o mpoa_proc.o mpoa-objs := mpc.o mpoa_caches.o mpoa_proc.o
obj-$(CONFIG_ATM) := addr.o pvc.o signaling.o svc.o common.o atm_misc.o raw.o resources.o obj-$(CONFIG_ATM) := addr.o pvc.o signaling.o svc.o common.o atm_misc.o raw.o resources.o
ifeq ($(CONFIG_ATM_CLIP),y) obj-$(CONFIG_ATM_CLIP) += clip.o ipcommon.o
obj-y += clip.o obj-$(CONFIG_NET_SCH_ATM) += ipcommon.o
NEED_IPCOM = ipcommon.o obj-$(CONFIG_PROC_FS) += proc.o
endif
ifeq ($(CONFIG_NET_SCH_ATM),y)
NEED_IPCOM = ipcommon.o
endif
obj-y += $(NEED_IPCOM)
ifeq ($(CONFIG_PROC_FS),y)
obj-y += proc.o
endif
obj-$(CONFIG_ATM_LANE) += lec.o obj-$(CONFIG_ATM_LANE) += lec.o
obj-$(CONFIG_ATM_MPOA) += mpoa.o obj-$(CONFIG_ATM_MPOA) += mpoa.o
......
# #
# Makefile for the Linux AX.25 layer. # Makefile for the Linux AX.25 layer.
# #
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
# Note 2! The CFLAGS definition is now in the main makefile...
O_TARGET := ax25.o
export-objs := af_ax25.o export-objs := af_ax25.o
obj-y := ax25_addr.o ax25_dev.o ax25_iface.o ax25_in.o ax25_ip.o ax25_out.o \ obj-$(CONFIG_AX25) += ax25.o
ax25-y := ax25_addr.o ax25_dev.o ax25_iface.o ax25_in.o ax25_ip.o ax25_out.o \
ax25_route.o ax25_std_in.o ax25_std_subr.o ax25_std_timer.o \ ax25_route.o ax25_std_in.o ax25_std_subr.o ax25_std_timer.o \
ax25_subr.o ax25_timer.o ax25_uid.o af_ax25.o ax25_subr.o ax25_timer.o ax25_uid.o af_ax25.o
ax25-$(CONFIG_AX25_DAMA_SLAVE) += ax25_ds_in.o ax25_ds_subr.o ax25_ds_timer.o
obj-m := $(O_TARGET) ax25-$(CONFIG_SYSCTL) += sysctl_net_ax25.o
ax25-objs := $(ax25-y)
obj-$(CONFIG_AX25_DAMA_SLAVE) += ax25_ds_in.o ax25_ds_subr.o ax25_ds_timer.o
obj-$(CONFIG_SYSCTL) += sysctl_net_ax25.o
include $(TOPDIR)/Rules.make include $(TOPDIR)/Rules.make
# #
# Makefile for the Bluetooth subsystem # Makefile for the Bluetooth subsystem
# #
O_TARGET := bluetooth.o
list-multi := bluez.o
export-objs := syms.o export-objs := syms.o
bluez-objs := af_bluetooth.o hci_core.o hci_conn.o hci_event.o hci_sock.o lib.o syms.o
obj-$(CONFIG_BLUEZ) += bluez.o obj-$(CONFIG_BLUEZ) += bluez.o
obj-$(CONFIG_BLUEZ_L2CAP) += l2cap.o obj-$(CONFIG_BLUEZ_L2CAP) += l2cap.o
obj-$(CONFIG_BLUEZ_SCO) += sco.o obj-$(CONFIG_BLUEZ_SCO) += sco.o
include $(TOPDIR)/Rules.make bluez-objs := af_bluetooth.o hci_core.o hci_conn.o hci_event.o hci_sock.o lib.o syms.o
bluez.o: $(bluez-objs) include $(TOPDIR)/Rules.make
$(LD) -r -o $@ $(bluez-objs)
# #
# Makefile for the IEEE 802.1d ethernet bridging layer. # Makefile for the IEEE 802.1d ethernet bridging layer.
# #
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
# Note 2! The CFLAGS definition is now in the main makefile...
O_TARGET := bridge.o obj-$(CONFIG_BRIDGE) += bridge.o
obj-y := br.o br_device.o br_fdb.o br_forward.o br_if.o br_input.o \
bridge-objs := br.o br_device.o br_fdb.o br_forward.o br_if.o br_input.o \
br_ioctl.o br_notify.o br_stp.o br_stp_bpdu.o \ br_ioctl.o br_notify.o br_stp.o br_stp_bpdu.o \
br_stp_if.o br_stp_timer.o br_stp_if.o br_stp_timer.o
obj-m := $(O_TARGET)
include $(TOPDIR)/Rules.make include $(TOPDIR)/Rules.make
# #
# Makefile for the Linux networking core. # Makefile for the Linux networking core.
# #
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
# Note 2! The CFLAGS definition is now in the main makefile...
O_TARGET := core.o
export-objs := netfilter.o profile.o export-objs := netfilter.o profile.o
......
# Note 2! The CFLAGS definition is now in the main makefile...
O_TARGET := decnet.o obj-$(CONFIG_DECNET) += decnet.o
obj-y := af_decnet.o dn_nsp_in.o dn_nsp_out.o dn_route.o dn_dev.o dn_neigh.o dn_timer.o
obj-m := $(O_TARGET)
obj-$(CONFIG_DECNET_ROUTER) += dn_fib.o dn_rules.o dn_table.o decnet-y := af_decnet.o dn_nsp_in.o dn_nsp_out.o dn_route.o dn_dev.o dn_neigh.o dn_timer.o
obj-$(CONFIG_DECNET_FW) += dn_fw.o decnet-$(CONFIG_DECNET_ROUTER) += dn_fib.o dn_rules.o dn_table.o
decnet-$(CONFIG_DECNET_FW) += dn_fw.o
obj-y += sysctl_net_decnet.o decnet-y += sysctl_net_decnet.o
decnet-objs := $(decnet-y)
include $(TOPDIR)/Rules.make include $(TOPDIR)/Rules.make
# #
# Makefile for Econet support code. # Makefile for Econet support code.
# #
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
# Note 2! The CFLAGS definition is now in the main makefile...
O_TARGET := econet.o obj-$(CONFIG_ECONET) += econet.o
obj-y := af_econet.o econet-objs := af_econet.o
obj-m := $(O_TARGET)
include $(TOPDIR)/Rules.make include $(TOPDIR)/Rules.make
# #
# Makefile for the Linux Ethernet layer. # Makefile for the Linux Ethernet layer.
# #
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
# Note 2! The CFLAGS definition is now in the main makefile...
O_TARGET := ethernet.o
OBJS := eth.o
ifeq ($(CONFIG_SYSCTL),y)
OBJS += sysctl_net_ether.o
endif
ifdef CONFIG_IPX OBJS-y := eth.o
OBJ2 := pe2.o
endif
ifdef CONFIG_ATALK OBJS-$(CONFIG_SYSCTL) += sysctl_net_ether.o
OBJ2 := pe2.o OBJS-$(CONFIG_IPX) += pe2.o
endif OBJS-$(CONFIG_ATALK) += pe2.o
obj-$(CONFIG_NET) := $(OBJS) $(OBJ2) obj-$(CONFIG_NET) := $(OBJS-y)
include $(TOPDIR)/Rules.make include $(TOPDIR)/Rules.make
# #
# Makefile for the Linux TCP/IP (INET) layer. # Makefile for the Linux TCP/IP (INET) layer.
# #
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
# Note 2! The CFLAGS definition is now in the main makefile...
O_TARGET := ipv4.o
export-objs = ipip.o ip_gre.o export-objs = ipip.o ip_gre.o
......
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
# Makefile for the netfilter modules on top of IPv4. # Makefile for the netfilter modules on top of IPv4.
# #
O_TARGET := netfilter.o export-objs := ip_conntrack_standalone.o ip_fw_compat.o ip_nat_standalone.o \
ip_tables.o arp_tables.o ip_conntrack_ftp.o \
export-objs = ip_conntrack_standalone.o ip_fw_compat.o ip_nat_standalone.o ip_tables.o arp_tables.o ip_conntrack_irc.o
# objects for the conntrack and NAT core (used by standalone and backw. compat) # objects for the conntrack and NAT core (used by standalone and backw. compat)
ip_nf_conntrack-objs := ip_conntrack_core.o ip_conntrack_proto_generic.o ip_conntrack_proto_tcp.o ip_conntrack_proto_udp.o ip_conntrack_proto_icmp.o ip_nf_conntrack-objs := ip_conntrack_core.o ip_conntrack_proto_generic.o ip_conntrack_proto_tcp.o ip_conntrack_proto_udp.o ip_conntrack_proto_icmp.o
...@@ -25,14 +25,7 @@ obj-$(CONFIG_IP_NF_CONNTRACK) += ip_conntrack.o ...@@ -25,14 +25,7 @@ obj-$(CONFIG_IP_NF_CONNTRACK) += ip_conntrack.o
# connection tracking helpers # connection tracking helpers
obj-$(CONFIG_IP_NF_FTP) += ip_conntrack_ftp.o obj-$(CONFIG_IP_NF_FTP) += ip_conntrack_ftp.o
ifdef CONFIG_IP_NF_NAT_FTP
export-objs += ip_conntrack_ftp.o
endif
obj-$(CONFIG_IP_NF_IRC) += ip_conntrack_irc.o obj-$(CONFIG_IP_NF_IRC) += ip_conntrack_irc.o
ifdef CONFIG_IP_NF_NAT_IRC
export-objs += ip_conntrack_irc.o
endif
# NAT helpers # NAT helpers
obj-$(CONFIG_IP_NF_NAT_FTP) += ip_nat_ftp.o obj-$(CONFIG_IP_NF_NAT_FTP) += ip_nat_ftp.o
......
# #
# Makefile for the Linux TCP/IP (INET6) layer. # Makefile for the Linux TCP/IP (INET6) layer.
# #
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
O_TARGET := ipv6.o
export-objs := ipv6_syms.o export-objs := ipv6_syms.o
obj-y := af_inet6.o ip6_output.o ip6_input.o addrconf.o sit.o \ obj-$(CONFIG_IPV6) += ipv6.o
ipv6-objs := af_inet6.o ip6_output.o ip6_input.o addrconf.o sit.o \
route.o ip6_fib.o ipv6_sockglue.o ndisc.o udp.o raw.o \ route.o ip6_fib.o ipv6_sockglue.o ndisc.o udp.o raw.o \
protocol.o icmp.o mcast.o reassembly.o tcp_ipv6.o \ protocol.o icmp.o mcast.o reassembly.o tcp_ipv6.o \
exthdrs.o sysctl_net_ipv6.o datagram.o proc.o \ exthdrs.o sysctl_net_ipv6.o datagram.o proc.o \
ip6_flowlabel.o ipv6_syms.o ip6_flowlabel.o ipv6_syms.o
obj-m := $(O_TARGET)
#obj-$(CONFIG_IPV6_FIREWALL) += ip6_fw.o #obj-$(CONFIG_IPV6_FIREWALL) += ip6_fw.o
include $(TOPDIR)/Rules.make include $(TOPDIR)/Rules.make
# #
# Makefile for the netfilter modules on top of IPv6. # Makefile for the netfilter modules on top of IPv6.
# #
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
# Note 2! The CFLAGS definition is now in the main makefile...
O_TARGET := netfilter.o
export-objs := ip6_tables.o export-objs := ip6_tables.o
......
# #
# Makefile for the Linux IPX layer. # Makefile for the Linux IPX layer.
# #
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
# Note 2! The CFLAGS definition is now in the main makefile...
# We only get in/to here if CONFIG_IPX = 'y' or 'm'
O_TARGET := ipx.o
export-objs = af_ipx.o af_spx.o export-objs = af_ipx.o af_spx.o
obj-y := af_ipx.o obj-$(CONFIG_IPX) += ipx.o
ifeq ($(CONFIG_IPX),m)
obj-m += $(O_TARGET)
endif
obj-$(CONFIG_SYSCTL) += sysctl_net_ipx.o ipx-y := af_ipx.o
obj-$(CONFIG_SPX) += af_spx.o ipx-$(CONFIG_SYSCTL) += sysctl_net_ipx.o
ipx-$(CONFIG_SPX) += af_spx.o
ipx-objs := $(ipx-y)
include $(TOPDIR)/Rules.make include $(TOPDIR)/Rules.make
# #
# Makefile for the Linux IrDA protocol layer. # Makefile for the Linux IrDA protocol layer.
# #
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
# Note 2! The CFLAGS definition is now in the main makefile...
O_TARGET := irda.o
export-objs := irsyms.o export-objs := irsyms.o
obj-y := iriap.o iriap_event.o irlmp.o irlmp_event.o irlmp_frame.o \ obj-$(CONFIG_IRDA) += irda.o
irlap.o irlap_event.o irlap_frame.o timer.o qos.o irqueue.o \ obj-$(CONFIG_IRLAN) += irlan/
irttp.o irda_device.o irias_object.o crc.o wrapper.o af_irda.o \ obj-$(CONFIG_IRNET) += irnet/
discovery.o parameters.o irsyms.o obj-$(CONFIG_IRCOMM) += ircomm/
ifeq ($(CONFIG_IRDA),m) irda-y := iriap.o iriap_event.o irlmp.o irlmp_event.o irlmp_frame.o \
obj-m := $(O_TARGET) irlap.o irlap_event.o irlap_frame.o timer.o qos.o irqueue.o \
endif irttp.o irda_device.o irias_object.o crc.o wrapper.o af_irda.o \
discovery.o parameters.o irsyms.o
obj-$(CONFIG_PROC_FS) += irproc.o irda-$(CONFIG_PROC_FS) += irproc.o
obj-$(CONFIG_SYSCTL) += irsysctl.o irda-$(CONFIG_SYSCTL) += irsysctl.o
irda-objs := $(irda-y)
subdir-$(CONFIG_IRLAN) += irlan
subdir-$(CONFIG_IRNET) += irnet
subdir-$(CONFIG_IRCOMM) += ircomm
ifeq ($(CONFIG_IRLAN),y)
obj-y += irlan/irlan.o
endif
ifeq ($(CONFIG_IRNET),y)
obj-y += irnet/irnet.o
endif
ifeq ($(CONFIG_IRCOMM),y)
obj-y += ircomm/ircomm_and_tty.o
endif
include $(TOPDIR)/Rules.make include $(TOPDIR)/Rules.make
...@@ -2,14 +2,12 @@ ...@@ -2,14 +2,12 @@
# Makefile for the Linux IrDA IrCOMM protocol layer. # Makefile for the Linux IrDA IrCOMM protocol layer.
# #
O_TARGET := ircomm_and_tty.o
export-objs := ircomm_core.o export-objs := ircomm_core.o
obj-$(CONFIG_IRCOMM) += ircomm.o ircomm-tty.o
ircomm-objs := ircomm_core.o ircomm_event.o ircomm_lmp.o ircomm_ttp.o ircomm-objs := ircomm_core.o ircomm_event.o ircomm_lmp.o ircomm_ttp.o
ircomm-tty-objs := ircomm_tty.o ircomm_tty_attach.o ircomm_tty_ioctl.o ircomm_param.o ircomm-tty-objs := ircomm_tty.o ircomm_tty_attach.o ircomm_tty_ioctl.o ircomm_param.o
obj-$(CONFIG_IRCOMM) += ircomm.o ircomm-tty.o
include $(TOPDIR)/Rules.make include $(TOPDIR)/Rules.make
# #
# Makefile for the Linux IrDA IrLAN protocol layer. # Makefile for the Linux IrDA IrLAN protocol layer.
# #
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
# Note 2! The CFLAGS definition is now in the main makefile...
O_TARGET := irlan.o obj-$(CONFIG_IRLAN) += irlan.o
obj-y := irlan_common.o irlan_eth.o irlan_event.o irlan_client.o irlan_provider.o irlan_filter.o irlan_provider_event.o irlan_client_event.o irlan-objs := irlan_common.o irlan_eth.o irlan_event.o irlan_client.o irlan_provider.o irlan_filter.o irlan_provider_event.o irlan_client_event.o
obj-m := $(O_TARGET)
include $(TOPDIR)/Rules.make include $(TOPDIR)/Rules.make
# #
# Makefile for the Linux IrDA IrNET protocol layer. # Makefile for the Linux IrDA IrNET protocol layer.
# #
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
# Note 2! The CFLAGS definition is now in the main makefile...
MOD_LIST_NAME := IRDA_MODULES obj-$(CONFIG_IRNET) += irnet.o
O_TARGET := irnet.o
obj-y := irnet_ppp.o irnet_irda.o irnet-objs := irnet_ppp.o irnet_irda.o
obj-m := $(O_TARGET)
include $(TOPDIR)/Rules.make include $(TOPDIR)/Rules.make
# #
# Makefile for kHTTPd # Makefile for kHTTPd
# #
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
# Note 2! The CFLAGS definition is now in the main makefile...
O_TARGET := khttpd.o
obj-m := $(O_TARGET) obj-$(CONFIG_KHTTPD) += khttpd.o
obj-y := main.o accept.o datasending.o logging.o misc.o rfc.o rfc_time.o security.o \
sockets.o sysctl.o userspace.o waitheaders.o
khttpd-objs := main.o accept.o datasending.o logging.o misc.o rfc.o \
rfc_time.o security.o sockets.o sysctl.o userspace.o \
waitheaders.o
include $(TOPDIR)/Rules.make include $(TOPDIR)/Rules.make
......
# #
# Makefile for the Linux LAPB layer. # Makefile for the Linux LAPB layer.
# #
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
# Note 2! The CFLAGS definition is now in the main makefile...
O_TARGET := lapb.o
export-objs := lapb_iface.o export-objs := lapb_iface.o
obj-y := lapb_in.o lapb_out.o lapb_subr.o lapb_timer.o lapb_iface.o obj-$(CONFIG_LAPB) += lapb.o
obj-m := $(O_TARGET)
lapb-objs := lapb_in.o lapb_out.o lapb_subr.o lapb_timer.o lapb_iface.o
include $(TOPDIR)/Rules.make include $(TOPDIR)/Rules.make
# #
# Makefile for the netlink driver. # Makefile for the netlink driver.
# #
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
# Note 2! The CFLAGS definition is now in the main makefile...
O_TARGET := netlink.o
export-objs := af_netlink.o export-objs := af_netlink.o
obj-y := af_netlink.o obj-y := af_netlink.o
obj-$(CONFIG_NETLINK_DEV) += netlink_dev.o
obj-m :=
obj-$(CONFIG_NETLINK_DEV) += netlink_dev.o
include $(TOPDIR)/Rules.make include $(TOPDIR)/Rules.make
# #
# Makefile for the Linux NET/ROM layer. # Makefile for the Linux NET/ROM layer.
# #
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
# Note 2! The CFLAGS definition is now in the main makefile...
O_TARGET := netrom.o
obj-y := af_netrom.o nr_dev.o nr_in.o nr_loopback.o nr_out.o nr_route.o \ obj-$(CONFIG_NETROM) += netrom.o
nr_subr.o nr_timer.o
obj-m := $(O_TARGET)
obj-$(CONFIG_SYSCTL) += sysctl_net_netrom.o netrom-y := af_netrom.o nr_dev.o nr_in.o nr_loopback.o \
nr_out.o nr_route.o nr_subr.o nr_timer.o
netrom-$(CONFIG_SYSCTL) += sysctl_net_netrom.o
netrom-objs := $(netrom-y)
include $(TOPDIR)/Rules.make include $(TOPDIR)/Rules.make
# #
# Makefile for the packet AF. # Makefile for the packet AF.
# #
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
# Note 2! The CFLAGS definition is now in the main makefile...
O_TARGET := packet.o
obj-$(CONFIG_PACKET) += af_packet.o obj-$(CONFIG_PACKET) += af_packet.o
......
# #
# Makefile for the Linux Rose (X.25 PLP) layer. # Makefile for the Linux Rose (X.25 PLP) layer.
# #
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
# Note 2! The CFLAGS definition is now in the main makefile...
O_TARGET := rose.o
obj-y := af_rose.o rose_dev.o rose_in.o rose_link.o rose_loopback.o \ obj-$(CONFIG_ROSE) += rose.o
rose_out.o rose_route.o rose_subr.o rose_timer.o
obj-m := $(O_TARGET)
obj-$(CONFIG_SYSCTL) += sysctl_net_rose.o rose-y := af_rose.o rose_dev.o rose_in.o rose_link.o rose_loopback.o \
rose_out.o rose_route.o rose_subr.o rose_timer.o
rose-$(CONFIG_SYSCTL) += sysctl_net_rose.o
rose-objs := $(rose-y)
include $(TOPDIR)/Rules.make include $(TOPDIR)/Rules.make
...@@ -2,11 +2,8 @@ ...@@ -2,11 +2,8 @@
# Makefile for the Linux Traffic Control Unit. # Makefile for the Linux Traffic Control Unit.
# #
O_TARGET := sched.o
obj-y := sch_generic.o obj-y := sch_generic.o
obj-$(CONFIG_NET_SCHED) += sch_api.o sch_fifo.o obj-$(CONFIG_NET_SCHED) += sch_api.o sch_fifo.o
obj-$(CONFIG_NET_ESTIMATOR) += estimator.o obj-$(CONFIG_NET_ESTIMATOR) += estimator.o
obj-$(CONFIG_NET_CLS) += cls_api.o obj-$(CONFIG_NET_CLS) += cls_api.o
......
# #
# Makefile for Linux kernel SUN RPC # Makefile for Linux kernel SUN RPC
# #
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
# Note 2! The CFLAGS definition is now in the main makefile...
O_TARGET := sunrpc.o obj-$(CONFIG_SUNRPC) += sunrpc.o
export-objs := sunrpc_syms.o export-objs := sunrpc_syms.o
obj-y := clnt.o xprt.o sched.o \ sunrpc-y := clnt.o xprt.o sched.o \
auth.o auth_null.o auth_unix.o \ auth.o auth_null.o auth_unix.o \
svc.o svcsock.o svcauth.o \ svc.o svcsock.o svcauth.o \
pmap_clnt.o xdr.o sunrpc_syms.o pmap_clnt.o xdr.o sunrpc_syms.o
sunrpc-$(CONFIG_PROC_FS) += stats.o
obj-$(CONFIG_PROC_FS) += stats.o sunrpc-$(CONFIG_SYSCTL) += sysctl.o
obj-$(CONFIG_SYSCTL) += sysctl.o sunrpc-objs := $(sunrpc-y)
obj-m := $(O_TARGET)
include $(TOPDIR)/Rules.make include $(TOPDIR)/Rules.make
# #
# Makefile for the Linux unix domain socket layer. # Makefile for the Linux unix domain socket layer.
# #
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
# Note 2! The CFLAGS definition is now in the main makefile...
O_TARGET := unix.o
obj-y := af_unix.o garbage.o obj-$(CONFIG_UNIX) += unix.o
obj-m := $(O_TARGET)
obj-$(CONFIG_SYSCTL) += sysctl_net_unix.o unix-y := af_unix.o garbage.o
unix-$(CONFIG_SYSCTL) += sysctl_net_unix.o
unix-objs := $(unix-y)
include $(TOPDIR)/Rules.make include $(TOPDIR)/Rules.make
# #
# Makefile for the Linux WAN router layer. # Makefile for the Linux WAN router layer.
# #
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
# Note 2! The CFLAGS definition is now in the main makefile...
O_TARGET := wanrouter.o
export-objs := wanmain.o export-objs := wanmain.o
obj-y := wanproc.o wanmain.o obj-$(CONFIG_WAN_ROUTER) += wanrouter.o
obj-m := $(O_TARGET)
ifneq ($(CONFIG_VENDOR_SANGOMA),n) wanrouter-objs := wanproc.o wanmain.o
obj-m += $(O_TARGET)
endif
include $(TOPDIR)/Rules.make include $(TOPDIR)/Rules.make
# #
# Makefile for the Linux X.25 Packet layer. # Makefile for the Linux X.25 Packet layer.
# #
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
# Note 2! The CFLAGS definition is now in the main makefile...
O_TARGET := x25.o
obj-y := af_x25.o x25_dev.o x25_facilities.o x25_in.o x25_link.o x25_out.o \ obj-$(CONFIG_X25) += x25.o
x25_route.o x25_subr.o x25_timer.o
obj-m := $(O_TARGET)
obj-$(CONFIG_SYSCTL) += sysctl_net_x25.o x25-y := af_x25.o x25_dev.o x25_facilities.o x25_in.o \
x25_link.o x25_out.o x25_route.o x25_subr.o \
x25_timer.o
x25-$(CONFIG_SYSCTL) += sysctl_net_x25.o
x25-objs := $(x25-y)
include $(TOPDIR)/Rules.make include $(TOPDIR)/Rules.make
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment