include upstream ip1000a driver version 2.09f
[linux-2.4.git] / net / bluetooth / Makefile
1 #
2 # Makefile for the Linux Bluetooth subsystem
3 #
4
5 O_TARGET    := bluetooth.o
6
7 list-multi  := bluez.o
8 export-objs := syms.o l2cap.o
9
10 bluez-objs  := af_bluetooth.o hci_core.o hci_conn.o hci_event.o hci_sock.o lib.o syms.o
11
12 obj-$(CONFIG_BLUEZ) += bluez.o
13 obj-$(CONFIG_BLUEZ_L2CAP) += l2cap.o
14 obj-$(CONFIG_BLUEZ_SCO) += sco.o
15
16 subdir-$(CONFIG_BLUEZ_RFCOMM) += rfcomm
17 subdir-$(CONFIG_BLUEZ_BNEP) += bnep
18 subdir-$(CONFIG_BLUEZ_CMTP) += cmtp
19
20 ifeq ($(CONFIG_BLUEZ_RFCOMM),y)
21 obj-y += rfcomm/rfcomm.o
22 endif
23
24 ifeq ($(CONFIG_BLUEZ_BNEP),y)
25 obj-y += bnep/bnep.o
26 endif
27
28 include $(TOPDIR)/Rules.make
29
30 bluez.o: $(bluez-objs)
31         $(LD) -r -o $@ $(bluez-objs)