Skip headers requiring external libs not present in checkheaders
[libav.git] / libavdevice / Makefile
1 include $(SUBDIR)../config.mak
2
3 NAME = avdevice
4 FFLIBS = avformat avcodec avutil
5
6 HEADERS = avdevice.h
7
8 OBJS = alldevices.o
9
10 # input/output devices
11 OBJS-$(CONFIG_ALSA_INDEV) += alsa-audio-common.o alsa-audio-dec.o
12 OBJS-$(CONFIG_ALSA_OUTDEV) += alsa-audio-common.o alsa-audio-enc.o
13 OBJS-$(CONFIG_BKTR_INDEV) += bktr.o
14 OBJS-$(CONFIG_DV1394_INDEV) += dv1394.o
15 OBJS-$(CONFIG_JACK_INDEV) += jack_audio.o
16 OBJS-$(CONFIG_OSS_INDEV) += oss_audio.o
17 OBJS-$(CONFIG_OSS_OUTDEV) += oss_audio.o
18 OBJS-$(CONFIG_V4L2_INDEV) += v4l2.o
19 OBJS-$(CONFIG_V4L_INDEV) += v4l.o
20 OBJS-$(CONFIG_VFWCAP_INDEV) += vfwcap.o
21 OBJS-$(CONFIG_X11_GRAB_DEVICE_INDEV) += x11grab.o
22
23 # external libraries
24 OBJS-$(CONFIG_LIBDC1394_INDEV) += libdc1394.o
25
26 OBJS-$(CONFIG_AUDIO_BEOS_INDEV) += beosaudio.o
27 OBJS-$(CONFIG_AUDIO_BEOS_OUTDEV) += beosaudio.o
28
29 SKIPHEADERS-$(HAVE_ALSA_ASOUNDLIB_H) += alsa-audio.h
30
31 include $(SUBDIR)../subdir.mak