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