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...
10 ALL_SUB_DIRS
:= irlan ircomm compressors
16 O_OBJS
:= iriap.o iriap_event.o irlmp.o irlmp_event.o irlmp_frame.o \
17 irlap.o irlap_event.o irlap_frame.o timer.o qos.o irqueue.o \
18 irttp.o irda_device.o irias_object.o crc.o wrapper.o af_irda.o \
19 discovery.o parameters.o
22 MOD_LIST_NAME
:= IRDA_MODULES
24 ifeq ($(CONFIG_IRDA
),m
)
28 ifeq ($(CONFIG_IRDA_COMPRESSION
),y
)
29 O_OBJS
+= irlap_comp.o
32 ifeq ($(CONFIG_PROC_FS
),y
)
36 ifeq ($(CONFIG_SYSCTL
),y
)
40 ifeq ($(CONFIG_IRLAN
),y
)
42 O_OBJS
+= irlan
/irlan.o
44 ifeq ($(CONFIG_IRLAN
),m
)
49 ifeq ($(CONFIG_IRDA_COMPRESSION
),y
)
50 SUB_DIRS
+= compressors
51 MOD_IN_SUB_DIRS
+= compressors
54 ifeq ($(CONFIG_IRDA_DEFLATE
),y
)
55 O_OBJS
+= compressors
/irda_deflate.o
57 ifeq ($(CONFIG_IRDA_DEFLATE
),m
)
58 MOD_TO_LIST
+= irda_deflate.o
62 ifeq ($(CONFIG_IRCOMM
),y
)
64 O_OBJS
+= ircomm
/ircomm_and_tty.o
66 ifeq ($(CONFIG_IRCOMM
),m
)
67 MOD_SUB_DIRS
+= ircomm
71 include $(TOPDIR
)/Rules.make