Merge remote-tracking branch 'qatar/master'
[ffmpeg.git] / libavdevice / Makefile
1 include $(SUBDIR)../config.mak
2
3 NAME    = avdevice
4 FFLIBS  = avformat avcodec avutil
5 FFLIBS-$(CONFIG_LAVFI_INDEV) += avfilter
6
7 HEADERS = avdevice.h
8
9 OBJS    = alldevices.o avdevice.o
10
11 # input/output devices
12 OBJS-$(CONFIG_ALSA_INDEV)                += alsa-audio-common.o \
13                                             alsa-audio-dec.o timefilter.o
14 OBJS-$(CONFIG_ALSA_OUTDEV)               += alsa-audio-common.o \
15                                             alsa-audio-enc.o
16 OBJS-$(CONFIG_BKTR_INDEV)                += bktr.o
17 OBJS-$(CONFIG_DSHOW_INDEV)               += dshow.o dshow_enummediatypes.o \
18                                             dshow_enumpins.o dshow_filter.o \
19                                             dshow_pin.o dshow_common.o
20 OBJS-$(CONFIG_DV1394_INDEV)              += dv1394.o
21 OBJS-$(CONFIG_FBDEV_INDEV)               += fbdev.o
22 OBJS-$(CONFIG_JACK_INDEV)                += jack_audio.o timefilter.o
23 OBJS-$(CONFIG_LAVFI_INDEV)               += lavfi.o
24 OBJS-$(CONFIG_OPENAL_INDEV)              += openal-dec.o
25 OBJS-$(CONFIG_OSS_INDEV)                 += oss_audio.o
26 OBJS-$(CONFIG_OSS_OUTDEV)                += oss_audio.o
27 OBJS-$(CONFIG_SDL_OUTDEV)                += sdl.o
28 OBJS-$(CONFIG_SNDIO_INDEV)               += sndio_common.o sndio_dec.o
29 OBJS-$(CONFIG_SNDIO_OUTDEV)              += sndio_common.o sndio_enc.o
30 OBJS-$(CONFIG_V4L2_INDEV)                += v4l2.o
31 OBJS-$(CONFIG_V4L_INDEV)                 += v4l.o
32 OBJS-$(CONFIG_VFWCAP_INDEV)              += vfwcap.o
33 OBJS-$(CONFIG_X11_GRAB_DEVICE_INDEV)     += x11grab.o
34
35 # external libraries
36 OBJS-$(CONFIG_LIBCDIO_INDEV)             += libcdio.o
37 OBJS-$(CONFIG_LIBDC1394_INDEV)           += libdc1394.o
38
39 SKIPHEADERS-$(HAVE_ALSA_ASOUNDLIB_H)     += alsa-audio.h
40 SKIPHEADERS-$(HAVE_SNDIO_H)              += sndio_common.h
41
42 TESTPROGS = timefilter
43
44 include $(SRC_PATH)/subdir.mak