2011-06-26 10:46:05 +03:00
|
|
|
include $(SUBDIR)../config.mak
|
|
|
|
|
2008-05-08 13:02:29 +03:00
|
|
|
NAME = avdevice
|
2011-02-07 15:37:08 +02:00
|
|
|
FFLIBS = avformat avcodec avutil
|
2011-06-11 16:40:08 +03:00
|
|
|
FFLIBS-$(CONFIG_LAVFI_INDEV) += avfilter
|
2007-11-22 18:10:02 +02:00
|
|
|
|
2012-07-01 12:51:30 +03:00
|
|
|
HEADERS = avdevice.h \
|
|
|
|
version.h \
|
2007-11-22 18:10:02 +02:00
|
|
|
|
2012-04-14 14:05:08 +03:00
|
|
|
OBJS = alldevices.o \
|
|
|
|
avdevice.o \
|
2008-05-08 13:02:29 +03:00
|
|
|
|
2007-11-22 18:10:02 +02:00
|
|
|
# input/output devices
|
2009-10-18 13:47:40 +03:00
|
|
|
OBJS-$(CONFIG_ALSA_INDEV) += alsa-audio-common.o \
|
2011-10-22 02:03:27 +03:00
|
|
|
alsa-audio-dec.o timefilter.o
|
2009-10-18 13:47:40 +03:00
|
|
|
OBJS-$(CONFIG_ALSA_OUTDEV) += alsa-audio-common.o \
|
|
|
|
alsa-audio-enc.o
|
2009-06-29 21:49:15 +03:00
|
|
|
OBJS-$(CONFIG_BKTR_INDEV) += bktr.o
|
2011-05-21 15:24:50 +03:00
|
|
|
OBJS-$(CONFIG_DSHOW_INDEV) += dshow.o dshow_enummediatypes.o \
|
|
|
|
dshow_enumpins.o dshow_filter.o \
|
|
|
|
dshow_pin.o dshow_common.o
|
2009-06-29 21:49:15 +03:00
|
|
|
OBJS-$(CONFIG_DV1394_INDEV) += dv1394.o
|
2011-03-07 19:54:52 +02:00
|
|
|
OBJS-$(CONFIG_FBDEV_INDEV) += fbdev.o
|
2012-04-23 17:01:17 +03:00
|
|
|
OBJS-$(CONFIG_IEC61883_INDEV) += iec61883.o
|
2011-10-21 12:47:39 +03:00
|
|
|
OBJS-$(CONFIG_JACK_INDEV) += jack_audio.o timefilter.o
|
2011-06-11 16:40:08 +03:00
|
|
|
OBJS-$(CONFIG_LAVFI_INDEV) += lavfi.o
|
2011-06-25 09:06:00 +03:00
|
|
|
OBJS-$(CONFIG_OPENAL_INDEV) += openal-dec.o
|
2009-06-29 21:49:15 +03:00
|
|
|
OBJS-$(CONFIG_OSS_INDEV) += oss_audio.o
|
|
|
|
OBJS-$(CONFIG_OSS_OUTDEV) += oss_audio.o
|
2011-10-19 21:23:20 +03:00
|
|
|
OBJS-$(CONFIG_PULSE_INDEV) += pulse.o
|
2011-05-27 02:34:35 +03:00
|
|
|
OBJS-$(CONFIG_SDL_OUTDEV) += sdl.o
|
2011-03-27 01:03:41 +02:00
|
|
|
OBJS-$(CONFIG_SNDIO_INDEV) += sndio_common.o sndio_dec.o
|
|
|
|
OBJS-$(CONFIG_SNDIO_OUTDEV) += sndio_common.o sndio_enc.o
|
2012-03-03 17:56:11 +03:00
|
|
|
OBJS-$(CONFIG_V4L2_INDEV) += v4l2.o timefilter.o
|
2012-01-25 02:45:49 +03:00
|
|
|
OBJS-$(CONFIG_V4L_INDEV) += v4l.o
|
2009-06-29 21:49:15 +03:00
|
|
|
OBJS-$(CONFIG_VFWCAP_INDEV) += vfwcap.o
|
|
|
|
OBJS-$(CONFIG_X11_GRAB_DEVICE_INDEV) += x11grab.o
|
2007-11-22 18:10:02 +02:00
|
|
|
|
|
|
|
# external libraries
|
2011-09-13 18:23:06 +03:00
|
|
|
OBJS-$(CONFIG_LIBCDIO_INDEV) += libcdio.o
|
2009-06-29 21:49:15 +03:00
|
|
|
OBJS-$(CONFIG_LIBDC1394_INDEV) += libdc1394.o
|
2007-11-22 18:10:02 +02:00
|
|
|
|
2012-05-24 14:59:33 +03:00
|
|
|
SKIPHEADERS-$(CONFIG_DSHOW_INDEV) += dshow_capture.h
|
2009-08-23 14:02:37 +03:00
|
|
|
SKIPHEADERS-$(HAVE_ALSA_ASOUNDLIB_H) += alsa-audio.h
|
2011-03-27 01:03:41 +02:00
|
|
|
SKIPHEADERS-$(HAVE_SNDIO_H) += sndio_common.h
|
2009-08-23 14:02:37 +03:00
|
|
|
|
2011-10-21 12:47:39 +03:00
|
|
|
TESTPROGS = timefilter
|