2011-06-26 10:46:05 +03:00
|
|
|
include $(SUBDIR)../config.mak
|
|
|
|
|
2008-05-08 13:02:29 +03:00
|
|
|
NAME = avdevice
|
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 \
|
2014-12-21 21:12:47 +02:00
|
|
|
utils.o \
|
2008-05-08 13:02:29 +03:00
|
|
|
|
2016-02-16 18:58:50 +02:00
|
|
|
OBJS-$(HAVE_LIBC_MSVCRT) += file_open.o
|
|
|
|
|
2007-11-22 18:10:02 +02:00
|
|
|
# input/output devices
|
2015-04-09 21:36:42 +02:00
|
|
|
OBJS-$(CONFIG_ALSA_INDEV) += alsa_dec.o alsa.o timefilter.o
|
2015-03-27 13:40:23 +02:00
|
|
|
OBJS-$(CONFIG_ALSA_OUTDEV) += alsa_enc.o alsa.o
|
2014-04-11 18:29:07 +03:00
|
|
|
OBJS-$(CONFIG_AVFOUNDATION_INDEV) += avfoundation.o
|
2009-06-29 21:49:15 +03:00
|
|
|
OBJS-$(CONFIG_BKTR_INDEV) += bktr.o
|
2012-03-14 00:45:46 +03:00
|
|
|
OBJS-$(CONFIG_CACA_OUTDEV) += caca.o
|
2014-09-22 02:39:50 +03:00
|
|
|
OBJS-$(CONFIG_DECKLINK_OUTDEV) += decklink_enc.o decklink_enc_c.o decklink_common.o
|
2014-09-22 03:46:03 +03:00
|
|
|
OBJS-$(CONFIG_DECKLINK_INDEV) += decklink_dec.o decklink_dec_c.o decklink_common.o
|
2015-01-23 15:35:16 +02:00
|
|
|
OBJS-$(CONFIG_DSHOW_INDEV) += dshow_crossbar.o dshow.o dshow_enummediatypes.o \
|
2011-05-21 15:24:50 +03:00
|
|
|
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
|
2013-10-19 22:12:51 +03:00
|
|
|
OBJS-$(CONFIG_FBDEV_INDEV) += fbdev_dec.o \
|
|
|
|
fbdev_common.o
|
|
|
|
OBJS-$(CONFIG_FBDEV_OUTDEV) += fbdev_enc.o \
|
|
|
|
fbdev_common.o
|
2014-04-02 21:53:10 +03:00
|
|
|
OBJS-$(CONFIG_GDIGRAB_INDEV) += gdigrab.o
|
2012-04-23 17:01:17 +03:00
|
|
|
OBJS-$(CONFIG_IEC61883_INDEV) += iec61883.o
|
2015-03-27 13:40:23 +02:00
|
|
|
OBJS-$(CONFIG_JACK_INDEV) += jack.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
|
2013-11-24 22:13:27 +03:00
|
|
|
OBJS-$(CONFIG_OPENGL_OUTDEV) += opengl_enc.o
|
2015-03-27 13:40:23 +02:00
|
|
|
OBJS-$(CONFIG_OSS_INDEV) += oss_dec.o oss.o
|
|
|
|
OBJS-$(CONFIG_OSS_OUTDEV) += oss_enc.o oss.o
|
2013-10-04 15:21:29 +03:00
|
|
|
OBJS-$(CONFIG_PULSE_INDEV) += pulse_audio_dec.o \
|
2014-11-28 16:54:50 +02:00
|
|
|
pulse_audio_common.o timefilter.o
|
2013-10-04 15:21:29 +03:00
|
|
|
OBJS-$(CONFIG_PULSE_OUTDEV) += pulse_audio_enc.o \
|
|
|
|
pulse_audio_common.o
|
2014-03-24 12:55:35 +03:00
|
|
|
OBJS-$(CONFIG_QTKIT_INDEV) += qtkit.o
|
2016-02-25 01:31:02 +02:00
|
|
|
OBJS-$(CONFIG_SDL2_OUTDEV) += sdl2.o
|
2015-03-27 13:40:23 +02:00
|
|
|
OBJS-$(CONFIG_SNDIO_INDEV) += sndio_dec.o sndio.o
|
|
|
|
OBJS-$(CONFIG_SNDIO_OUTDEV) += sndio_enc.o sndio.o
|
2013-05-20 00:35:07 +03:00
|
|
|
OBJS-$(CONFIG_V4L2_INDEV) += v4l2.o v4l2-common.o timefilter.o
|
2013-05-20 00:36:10 +03:00
|
|
|
OBJS-$(CONFIG_V4L2_OUTDEV) += v4l2enc.o v4l2-common.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
|
2016-07-27 11:31:49 +02:00
|
|
|
OBJS-$(CONFIG_XCBGRAB_INDEV) += xcbgrab.o
|
2013-05-14 14:44:29 +03:00
|
|
|
OBJS-$(CONFIG_XV_OUTDEV) += xv.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
|
|
|
|
2013-12-05 23:50:14 +03:00
|
|
|
# Windows resource file
|
|
|
|
SLIBOBJS-$(HAVE_GNU_WINDRES) += avdeviceres.o
|
|
|
|
|
2015-12-02 07:44:50 +02:00
|
|
|
SKIPHEADERS += decklink_common.h
|
2014-09-23 23:51:36 +03:00
|
|
|
SKIPHEADERS-$(CONFIG_DECKLINK) += decklink_enc.h decklink_dec.h \
|
2015-12-02 07:44:50 +02:00
|
|
|
decklink_common_c.h
|
2012-05-24 14:59:33 +03:00
|
|
|
SKIPHEADERS-$(CONFIG_DSHOW_INDEV) += dshow_capture.h
|
2014-03-06 07:39:25 +03:00
|
|
|
SKIPHEADERS-$(CONFIG_FBDEV_INDEV) += fbdev_common.h
|
|
|
|
SKIPHEADERS-$(CONFIG_FBDEV_OUTDEV) += fbdev_common.h
|
2013-10-09 10:39:57 +03:00
|
|
|
SKIPHEADERS-$(CONFIG_LIBPULSE) += pulse_audio_common.h
|
2013-08-11 00:47:23 +03:00
|
|
|
SKIPHEADERS-$(CONFIG_V4L2_INDEV) += v4l2-common.h
|
|
|
|
SKIPHEADERS-$(CONFIG_V4L2_OUTDEV) += v4l2-common.h
|
2015-03-27 13:40:23 +02:00
|
|
|
SKIPHEADERS-$(HAVE_ALSA_ASOUNDLIB_H) += alsa.h
|
|
|
|
SKIPHEADERS-$(HAVE_SNDIO_H) += sndio.h
|
2009-08-23 14:02:37 +03:00
|
|
|
|
2016-03-18 13:07:19 +02:00
|
|
|
TESTPROGS-$(CONFIG_JACK_INDEV) += timefilter
|