summaryrefslogtreecommitdiffstats
path: root/net/irda/Makefile
blob: cb152e47a2b19382d842317962ab6fa618aacc9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#
# Makefile for the Linux IrDA protocol layer.
#
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
# Note 2! The CFLAGS definition is now in the main makefile...

O_TARGET := irda.o

export-objs := irsyms.o

obj-y	 := iriap.o iriap_event.o irlmp.o irlmp_event.o irlmp_frame.o \
            irlap.o irlap_event.o irlap_frame.o timer.o qos.o irqueue.o \
            irttp.o irda_device.o irias_object.o crc.o wrapper.o af_irda.o \
	    discovery.o parameters.o irsyms.o

ifeq ($(CONFIG_IRDA),m)
obj-m   := $(O_TARGET)
endif

obj-$(CONFIG_IRDA_COMPRESSION) += irlap_comp.o
obj-$(CONFIG_PROC_FS) += irproc.o
obj-$(CONFIG_SYSCTL) += irsysctl.o
obj-$(CONFIG_IRLAN) += irlan/irlan.o

subdir-$(CONFIG_IRLAN) += irlan
subdir-$(CONFIG_IRNET) += irnet
subdir-$(CONFIG_IRCOMM) += ircomm
subdir-$(CONFIG_IRDA_COMPRESSION) += compressors

ifeq ($(CONFIG_IRLAN),y)
obj-y += irlan/irlan.o
endif

ifeq ($(CONFIG_IRNET),y)
obj-y += irnet/irnet.o
endif

ifeq ($(CONFIG_IRDA_DEFLATE),y)
obj-y += compressors/irda_deflate.o
else
  ifeq ($(CONFIG_IRDA_DEFLATE),m)
  MOD_TO_LIST += irda_deflate.o
  endif
endif

ifeq ($(CONFIG_IRCOMM),y)
obj-y += ircomm/ircomm_and_tty.o
endif

include $(TOPDIR)/Rules.make

tar:
		tar -cvf /dev/f1 .