Import 2.3.25pre1
[davej-history.git] / net / irda / Makefile
blobae3a793cf7bf709efad5e05ebbfbe3296133aeb3
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
11 SUB_DIRS :=
12 MOD_SUB_DIRS :=
13 OX_OBJS :=
15 O_TARGET := irda.o
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
20 OX_OBJS := irmod.o
22 MOD_LIST_NAME := IRDA_MODULES
24 ifeq ($(CONFIG_IRDA),m)
25 M_OBJS := $(O_TARGET)
26 endif
28 ifeq ($(CONFIG_IRDA_COMPRESSION),y)
29 O_OBJS += irlap_comp.o
30 endif
32 ifeq ($(CONFIG_PROC_FS),y)
33 O_OBJS += irproc.o
34 endif
36 ifeq ($(CONFIG_SYSCTL),y)
37 O_OBJS += irsysctl.o
38 endif
40 ifeq ($(CONFIG_IRLAN),y)
41 SUB_DIRS += irlan
42 O_OBJS += irlan/irlan.o
43 else
44 ifeq ($(CONFIG_IRLAN),m)
45 MOD_SUB_DIRS += irlan
46 endif
47 endif
49 ifeq ($(CONFIG_IRDA_COMPRESSION),y)
50 SUB_DIRS += compressors
51 MOD_IN_SUB_DIRS += compressors
52 endif
54 ifeq ($(CONFIG_IRDA_DEFLATE),y)
55 O_OBJS += compressors/irda_deflate.o
56 else
57 ifeq ($(CONFIG_IRDA_DEFLATE),m)
58 MOD_TO_LIST += irda_deflate.o
59 endif
60 endif
62 ifeq ($(CONFIG_IRCOMM),y)
63 SUB_DIRS += ircomm
64 O_OBJS += ircomm/ircomm_and_tty.o
65 else
66 ifeq ($(CONFIG_IRCOMM),m)
67 MOD_SUB_DIRS += ircomm
68 endif
69 endif
71 include $(TOPDIR)/Rules.make
73 tar:
74 tar -cvf /dev/f1 .