Merge branch 'origin'
[linux-2.6] / drivers / media / video / cx88 / Makefile
1 cx88xx-objs     := cx88-cards.o cx88-core.o cx88-i2c.o cx88-tvaudio.o \
2                    cx88-input.o
3 cx8800-objs     := cx88-video.o cx88-vbi.o
4 cx8802-objs     := cx88-mpeg.o
5
6 obj-$(CONFIG_VIDEO_CX88) += cx88xx.o cx8800.o cx8802.o cx88-blackbird.o
7 obj-$(CONFIG_VIDEO_CX88_DVB) += cx88-dvb.o
8 obj-$(CONFIG_VIDEO_CX88_ALSA) += cx88-alsa.o
9 obj-$(CONFIG_VIDEO_CX88_VP3054) += cx88-vp3054-i2c.o
10
11 EXTRA_CFLAGS += -I$(src)/..
12 EXTRA_CFLAGS += -I$(srctree)/drivers/media/dvb/dvb-core
13 EXTRA_CFLAGS += -I$(srctree)/drivers/media/dvb/frontends
14
15 extra-cflags-$(CONFIG_VIDEO_BUF_DVB) += -DHAVE_VIDEO_BUF_DVB=1
16 extra-cflags-$(CONFIG_DVB_CX22702)   += -DHAVE_CX22702=1
17 extra-cflags-$(CONFIG_DVB_OR51132)   += -DHAVE_OR51132=1
18 extra-cflags-$(CONFIG_DVB_LGDT330X)  += -DHAVE_LGDT330X=1
19 extra-cflags-$(CONFIG_DVB_MT352)     += -DHAVE_MT352=1
20 extra-cflags-$(CONFIG_DVB_NXT200X)   += -DHAVE_NXT200X=1
21 extra-cflags-$(CONFIG_DVB_CX24123)   += -DHAVE_CX24123=1
22 extra-cflags-$(CONFIG_VIDEO_CX88_VP3054)+= -DHAVE_VP3054_I2C=1
23
24 EXTRA_CFLAGS += $(extra-cflags-y) $(extra-cflags-m)