port more changes to make PCI work
[linux-2.4.git] / net / irda / Makefile
1 #
2 # Makefile for the Linux IrDA protocol layer.
3 #
4 # Note! Dependencies are done automagically by 'make dep', which also
5 # removes any old dependencies. DON'T put your own dependencies here
6 # unless it's something special (ie not a .c file).
7 #
8 # Note 2! The CFLAGS definition is now in the main makefile...
9
10 O_TARGET := irda.o
11
12 export-objs := irsyms.o
13
14 obj-y    := iriap.o iriap_event.o irlmp.o irlmp_event.o irlmp_frame.o \
15             irlap.o irlap_event.o irlap_frame.o timer.o qos.o irqueue.o \
16             irttp.o irda_device.o irias_object.o crc.o wrapper.o af_irda.o \
17             discovery.o parameters.o irsyms.o
18
19 ifeq ($(CONFIG_IRDA),m)
20 obj-m   := $(O_TARGET)
21 endif
22
23 obj-$(CONFIG_PROC_FS) += irproc.o
24 obj-$(CONFIG_SYSCTL) += irsysctl.o
25 obj-$(CONFIG_IRLAN) += irlan/irlan.o
26
27 subdir-$(CONFIG_IRLAN) += irlan
28 subdir-$(CONFIG_IRNET) += irnet
29 subdir-$(CONFIG_IRCOMM) += ircomm
30
31 ifeq ($(CONFIG_IRLAN),y)
32 obj-y += irlan/irlan.o
33 endif
34
35 ifeq ($(CONFIG_IRNET),y)
36 obj-y += irnet/irnet.o
37 endif
38
39 ifeq ($(CONFIG_IRCOMM),y)
40 obj-y += ircomm/ircomm_and_tty.o
41 endif
42
43 include $(TOPDIR)/Rules.make