summaryrefslogtreecommitdiffstats
path: root/net/irda/Makefile
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1999-02-15 02:15:32 +0000
committerRalf Baechle <ralf@linux-mips.org>1999-02-15 02:15:32 +0000
commit86464aed71025541805e7b1515541aee89879e33 (patch)
treee01a457a4912a8553bc65524aa3125d51f29f810 /net/irda/Makefile
parent88f99939ecc6a95a79614574cb7d95ffccfc3466 (diff)
Merge with Linux 2.2.1.
Diffstat (limited to 'net/irda/Makefile')
-rw-r--r--net/irda/Makefile89
1 files changed, 89 insertions, 0 deletions
diff --git a/net/irda/Makefile b/net/irda/Makefile
new file mode 100644
index 000000000..4af71d35f
--- /dev/null
+++ b/net/irda/Makefile
@@ -0,0 +1,89 @@
+#
+# 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...
+
+ALL_SUB_DIRS := irlan ircomm irlpt compressors
+SUB_DIRS :=
+MOD_SUB_DIRS :=
+
+O_TARGET := irda.o
+O_OBJS := irmod.o 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
+MOD_LIST_NAME := IRDA_MODULES
+M_OBJS := $(O_TARGET)
+
+ifeq ($(CONFIG_IRDA_COMPRESSION),y)
+O_OBJS += irlap_comp.o
+endif
+
+ifeq ($(CONFIG_PROC_FS),y)
+O_OBJS += irproc.o
+endif
+
+ifeq ($(CONFIG_SYSCTL),y)
+O_OBJS += irsysctl.o
+endif
+
+ifeq ($(CONFIG_IRLAN),y)
+SUB_DIRS += irlan
+O_OBJS += irlan/irlan.o
+else
+ ifeq ($(CONFIG_IRLAN),m)
+ MOD_SUB_DIRS += irlan
+ endif
+endif
+
+ifeq ($(CONFIG_IRLPT),y)
+SUB_DIRS += irlpt
+O_OBJS += irlpt/irlpt.o
+else
+ ifeq ($(CONFIG_IRLPT),m)
+ MOD_IN_SUB_DIRS += irlpt
+ endif
+endif
+
+ifeq ($(CONFIG_IROBEX),y)
+SUB_DIRS += irobex
+O_OBJS += irobex/irobex.o
+else
+ ifeq ($(CONFIG_IROBEX),m)
+ MOD_SUB_DIRS += irobex
+ endif
+endif
+
+ifeq ($(CONFIG_IRDA_COMPRESSION),y)
+SUB_DIRS += compressors
+MOD_IN_SUB_DIRS += compressors
+endif
+
+ifeq ($(CONFIG_IRDA_DEFLATE),y)
+O_OBJS += compressors/irda_deflate.o
+else
+ ifeq ($(CONFIG_IRDA_DEFLATE),m)
+ MOD_TO_LIST += irda_deflate.o
+ endif
+endif
+
+ifeq ($(CONFIG_IRCOMM),y)
+SUB_DIRS += ircomm
+O_OBJS += ircomm/ircomm_n_vtd.o
+else
+ ifeq ($(CONFIG_IRCOMM),m)
+ MOD_SUB_DIRS += ircomm
+ endif
+endif
+
+include $(TOPDIR)/Rules.make
+
+tar:
+ tar -cvf /dev/f1 .
+
+
+
+