import of ftp.dlink.com/GPL/DSMG-600_reB/ppclinux.tar.gz
[linux-2.4.21-pre4.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
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
19 ifeq ($(CONFIG_BLUEZ_RFCOMM),y)
20 obj-y += rfcomm/rfcomm.o
21 endif
22
23 ifeq ($(CONFIG_BLUEZ_BNEP),y)
24 obj-y += bnep/bnep.o
25 endif
26
27 include $(TOPDIR)/Rules.make
28
29 bluez.o: $(bluez-objs)
30         $(LD) -r -o $@ $(bluez-objs)