1# 2# Makefile for the Linux IrDA protocol layer. 3# 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). 7# 8# Note 2! The CFLAGS definition is now in the main makefile... 9 10O_TARGET := irda.o 11 12export-objs := irsyms.o 13 14obj-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 18 19ifeq ($(CONFIG_IRDA),m) 20obj-m := $(O_TARGET) 21endif 22 23obj-$(CONFIG_PROC_FS) += irproc.o 24obj-$(CONFIG_SYSCTL) += irsysctl.o 25obj-$(CONFIG_IRLAN) += irlan/irlan.o 26 27subdir-$(CONFIG_IRLAN) += irlan 28subdir-$(CONFIG_IRNET) += irnet 29subdir-$(CONFIG_IRCOMM) += ircomm 30 31ifeq ($(CONFIG_IRLAN),y) 32obj-y += irlan/irlan.o 33endif 34 35ifeq ($(CONFIG_IRNET),y) 36obj-y += irnet/irnet.o 37endif 38 39ifeq ($(CONFIG_IRCOMM),y) 40obj-y += ircomm/ircomm_and_tty.o 41endif 42 43include $(TOPDIR)/Rules.make 44