2 # Makefile for the Linux IrDA protocol layer.
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).
8 # Note 2! The CFLAGS definition is now in the main makefile...
12 export-objs := irsyms.o
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
19 ifeq ($(CONFIG_IRDA),m)
23 obj-$(CONFIG_PROC_FS) += irproc.o
24 obj-$(CONFIG_SYSCTL) += irsysctl.o
25 obj-$(CONFIG_IRLAN) += irlan/irlan.o
27 subdir-$(CONFIG_IRLAN) += irlan
28 subdir-$(CONFIG_IRNET) += irnet
29 subdir-$(CONFIG_IRCOMM) += ircomm
31 ifeq ($(CONFIG_IRLAN),y)
32 obj-y += irlan/irlan.o
35 ifeq ($(CONFIG_IRNET),y)
36 obj-y += irnet/irnet.o
39 ifeq ($(CONFIG_IRCOMM),y)
40 obj-y += ircomm/ircomm_and_tty.o
43 include $(TOPDIR)/Rules.make