2011-06-26 15:46:05 +08:00
|
|
|
include $(SUBDIR)../config.mak
|
|
|
|
|
|
2008-05-08 18:02:29 +08:00
|
|
|
NAME = avdevice
|
2007-11-23 00:10:02 +08:00
|
|
|
|
2012-07-01 17:51:30 +08:00
|
|
|
HEADERS = avdevice.h \
|
|
|
|
|
version.h \
|
2007-11-23 00:10:02 +08:00
|
|
|
|
2012-04-14 19:05:08 +08:00
|
|
|
OBJS = alldevices.o \
|
|
|
|
|
avdevice.o \
|
2014-12-22 03:12:47 +08:00
|
|
|
utils.o \
|
2008-05-08 18:02:29 +08:00
|
|
|
|
2007-11-23 00:10:02 +08:00
|
|
|
# input/output devices
|
2015-04-10 03:36:42 +08:00
|
|
|
OBJS-$(CONFIG_ALSA_INDEV) += alsa_dec.o alsa.o timefilter.o
|
2015-03-27 19:40:23 +08:00
|
|
|
OBJS-$(CONFIG_ALSA_OUTDEV) += alsa_enc.o alsa.o
|
2014-04-11 23:29:07 +08:00
|
|
|
OBJS-$(CONFIG_AVFOUNDATION_INDEV) += avfoundation.o
|
2009-06-30 02:49:15 +08:00
|
|
|
OBJS-$(CONFIG_BKTR_INDEV) += bktr.o
|
2012-03-14 05:45:46 +08:00
|
|
|
OBJS-$(CONFIG_CACA_OUTDEV) += caca.o
|
2014-09-22 07:39:50 +08:00
|
|
|
OBJS-$(CONFIG_DECKLINK_OUTDEV) += decklink_enc.o decklink_enc_c.o decklink_common.o
|
2014-09-22 08:46:03 +08:00
|
|
|
OBJS-$(CONFIG_DECKLINK_INDEV) += decklink_dec.o decklink_dec_c.o decklink_common.o
|
2015-01-23 21:35:16 +08:00
|
|
|
OBJS-$(CONFIG_DSHOW_INDEV) += dshow_crossbar.o dshow.o dshow_enummediatypes.o \
|
2011-05-21 20:24:50 +08:00
|
|
|
dshow_enumpins.o dshow_filter.o \
|
|
|
|
|
dshow_pin.o dshow_common.o
|
2009-06-30 02:49:15 +08:00
|
|
|
OBJS-$(CONFIG_DV1394_INDEV) += dv1394.o
|
2013-10-20 03:12:51 +08:00
|
|
|
OBJS-$(CONFIG_FBDEV_INDEV) += fbdev_dec.o \
|
|
|
|
|
fbdev_common.o
|
|
|
|
|
OBJS-$(CONFIG_FBDEV_OUTDEV) += fbdev_enc.o \
|
|
|
|
|
fbdev_common.o
|
2014-04-03 02:53:10 +08:00
|
|
|
OBJS-$(CONFIG_GDIGRAB_INDEV) += gdigrab.o
|
2012-04-23 22:01:17 +08:00
|
|
|
OBJS-$(CONFIG_IEC61883_INDEV) += iec61883.o
|
2015-03-27 19:40:23 +08:00
|
|
|
OBJS-$(CONFIG_JACK_INDEV) += jack.o timefilter.o
|
2011-06-11 21:40:08 +08:00
|
|
|
OBJS-$(CONFIG_LAVFI_INDEV) += lavfi.o
|
2011-06-25 14:06:00 +08:00
|
|
|
OBJS-$(CONFIG_OPENAL_INDEV) += openal-dec.o
|
2013-11-25 03:13:27 +08:00
|
|
|
OBJS-$(CONFIG_OPENGL_OUTDEV) += opengl_enc.o
|
2015-03-27 19:40:23 +08:00
|
|
|
OBJS-$(CONFIG_OSS_INDEV) += oss_dec.o oss.o
|
|
|
|
|
OBJS-$(CONFIG_OSS_OUTDEV) += oss_enc.o oss.o
|
2013-10-04 20:21:29 +08:00
|
|
|
OBJS-$(CONFIG_PULSE_INDEV) += pulse_audio_dec.o \
|
2014-11-28 22:54:50 +08:00
|
|
|
pulse_audio_common.o timefilter.o
|
2013-10-04 20:21:29 +08:00
|
|
|
OBJS-$(CONFIG_PULSE_OUTDEV) += pulse_audio_enc.o \
|
|
|
|
|
pulse_audio_common.o
|
2014-03-24 17:55:35 +08:00
|
|
|
OBJS-$(CONFIG_QTKIT_INDEV) += qtkit.o
|
2011-05-27 07:34:35 +08:00
|
|
|
OBJS-$(CONFIG_SDL_OUTDEV) += sdl.o
|
2015-03-27 19:40:23 +08:00
|
|
|
OBJS-$(CONFIG_SNDIO_INDEV) += sndio_dec.o sndio.o
|
|
|
|
|
OBJS-$(CONFIG_SNDIO_OUTDEV) += sndio_enc.o sndio.o
|
2013-05-20 05:35:07 +08:00
|
|
|
OBJS-$(CONFIG_V4L2_INDEV) += v4l2.o v4l2-common.o timefilter.o
|
2013-05-20 05:36:10 +08:00
|
|
|
OBJS-$(CONFIG_V4L2_OUTDEV) += v4l2enc.o v4l2-common.o
|
2012-01-25 07:45:49 +08:00
|
|
|
OBJS-$(CONFIG_V4L_INDEV) += v4l.o
|
2009-06-30 02:49:15 +08:00
|
|
|
OBJS-$(CONFIG_VFWCAP_INDEV) += vfwcap.o
|
2012-07-22 03:28:54 +08:00
|
|
|
OBJS-$(CONFIG_X11GRAB_INDEV) += x11grab.o
|
2014-08-24 20:18:22 +08:00
|
|
|
OBJS-$(CONFIG_X11GRAB_XCB_INDEV) += xcbgrab.o
|
2013-05-14 19:44:29 +08:00
|
|
|
OBJS-$(CONFIG_XV_OUTDEV) += xv.o
|
2007-11-23 00:10:02 +08:00
|
|
|
|
|
|
|
|
# external libraries
|
2011-09-13 23:23:06 +08:00
|
|
|
OBJS-$(CONFIG_LIBCDIO_INDEV) += libcdio.o
|
2009-06-30 02:49:15 +08:00
|
|
|
OBJS-$(CONFIG_LIBDC1394_INDEV) += libdc1394.o
|
2007-11-23 00:10:02 +08:00
|
|
|
|
2013-12-05 01:21:30 +08:00
|
|
|
OBJS-$(HAVE_LIBC_MSVCRT) += file_open.o
|
|
|
|
|
|
2013-12-06 04:50:14 +08:00
|
|
|
# Windows resource file
|
|
|
|
|
SLIBOBJS-$(HAVE_GNU_WINDRES) += avdeviceres.o
|
|
|
|
|
|
2014-09-24 04:51:36 +08:00
|
|
|
SKIPHEADERS-$(CONFIG_DECKLINK) += decklink_enc.h decklink_dec.h \
|
|
|
|
|
decklink_common.h decklink_common_c.h
|
2012-05-24 19:59:33 +08:00
|
|
|
SKIPHEADERS-$(CONFIG_DSHOW_INDEV) += dshow_capture.h
|
2014-03-06 12:39:25 +08:00
|
|
|
SKIPHEADERS-$(CONFIG_FBDEV_INDEV) += fbdev_common.h
|
|
|
|
|
SKIPHEADERS-$(CONFIG_FBDEV_OUTDEV) += fbdev_common.h
|
2013-10-09 15:39:57 +08:00
|
|
|
SKIPHEADERS-$(CONFIG_LIBPULSE) += pulse_audio_common.h
|
2013-08-11 05:47:23 +08:00
|
|
|
SKIPHEADERS-$(CONFIG_V4L2_INDEV) += v4l2-common.h
|
|
|
|
|
SKIPHEADERS-$(CONFIG_V4L2_OUTDEV) += v4l2-common.h
|
2015-03-27 19:40:23 +08:00
|
|
|
SKIPHEADERS-$(HAVE_ALSA_ASOUNDLIB_H) += alsa.h
|
|
|
|
|
SKIPHEADERS-$(HAVE_SNDIO_H) += sndio.h
|
2009-08-23 19:02:37 +08:00
|
|
|
|
2011-10-21 17:47:39 +08:00
|
|
|
TESTPROGS = timefilter
|