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