6ea62b914e818f998461c5b527a3ca4ee14afefa
[ffmpeg.git] / libavdevice / Makefile
1 NAME    = avdevice
2 DESC    = FFmpeg device handling library
3
4 HEADERS = avdevice.h                                                    \
5           version.h                                                     \
6
7 OBJS    = alldevices.o                                                  \
8           avdevice.o                                                    \
9           utils.o                                                       \
10
11 OBJS-$(HAVE_LIBC_MSVCRT)                 += file_open.o
12 OBJS-$(CONFIG_SHARED)                    += reverse.o
13
14 # input/output devices
15 OBJS-$(CONFIG_ALSA_INDEV)                += alsa_dec.o alsa.o timefilter.o
16 OBJS-$(CONFIG_ALSA_OUTDEV)               += alsa_enc.o alsa.o
17 OBJS-$(CONFIG_ANDROID_CAMERA_INDEV)      += android_camera.o
18 OBJS-$(CONFIG_AVFOUNDATION_INDEV)        += avfoundation.o
19 OBJS-$(CONFIG_BKTR_INDEV)                += bktr.o
20 OBJS-$(CONFIG_CACA_OUTDEV)               += caca.o
21 OBJS-$(CONFIG_DECKLINK_OUTDEV)           += decklink_enc.o decklink_enc_c.o decklink_common.o
22 OBJS-$(CONFIG_DECKLINK_INDEV)            += decklink_dec.o decklink_dec_c.o decklink_common.o
23 OBJS-$(CONFIG_DSHOW_INDEV)               += dshow_crossbar.o dshow.o dshow_enummediatypes.o \
24                                             dshow_enumpins.o dshow_filter.o \
25                                             dshow_pin.o dshow_common.o
26 OBJS-$(CONFIG_FBDEV_INDEV)               += fbdev_dec.o \
27                                             fbdev_common.o
28 OBJS-$(CONFIG_FBDEV_OUTDEV)              += fbdev_enc.o \
29                                             fbdev_common.o
30 OBJS-$(CONFIG_GDIGRAB_INDEV)             += gdigrab.o
31 OBJS-$(CONFIG_IEC61883_INDEV)            += iec61883.o
32 OBJS-$(CONFIG_JACK_INDEV)                += jack.o timefilter.o
33 OBJS-$(CONFIG_KMSGRAB_INDEV)             += kmsgrab.o
34 OBJS-$(CONFIG_LAVFI_INDEV)               += lavfi.o
35 OBJS-$(CONFIG_OPENAL_INDEV)              += openal-dec.o
36 OBJS-$(CONFIG_OPENGL_OUTDEV)             += opengl_enc.o
37 OBJS-$(CONFIG_OSS_INDEV)                 += oss_dec.o oss.o
38 OBJS-$(CONFIG_OSS_OUTDEV)                += oss_enc.o oss.o
39 OBJS-$(CONFIG_PULSE_INDEV)               += pulse_audio_dec.o \
40                                             pulse_audio_common.o timefilter.o
41 OBJS-$(CONFIG_PULSE_OUTDEV)              += pulse_audio_enc.o \
42                                             pulse_audio_common.o
43 OBJS-$(CONFIG_SDL2_OUTDEV)               += sdl2.o
44 OBJS-$(CONFIG_SNDIO_INDEV)               += sndio_dec.o sndio.o
45 OBJS-$(CONFIG_SNDIO_OUTDEV)              += sndio_enc.o sndio.o
46 OBJS-$(CONFIG_V4L2_INDEV)                += v4l2.o v4l2-common.o timefilter.o
47 OBJS-$(CONFIG_V4L2_OUTDEV)               += v4l2enc.o v4l2-common.o
48 OBJS-$(CONFIG_VFWCAP_INDEV)              += vfwcap.o
49 OBJS-$(CONFIG_XCBGRAB_INDEV)             += xcbgrab.o
50 OBJS-$(CONFIG_XV_OUTDEV)                 += xv.o
51
52 # external libraries
53 OBJS-$(CONFIG_LIBCDIO_INDEV)             += libcdio.o
54 OBJS-$(CONFIG_LIBDC1394_INDEV)           += libdc1394.o
55
56 # Windows resource file
57 SLIBOBJS-$(HAVE_GNU_WINDRES)             += avdeviceres.o
58
59 SKIPHEADERS                              += decklink_common.h
60 SKIPHEADERS-$(CONFIG_DECKLINK)           += decklink_enc.h decklink_dec.h \
61                                             decklink_common_c.h
62 SKIPHEADERS-$(CONFIG_DSHOW_INDEV)        += dshow_capture.h
63 SKIPHEADERS-$(CONFIG_FBDEV_INDEV)        += fbdev_common.h
64 SKIPHEADERS-$(CONFIG_FBDEV_OUTDEV)       += fbdev_common.h
65 SKIPHEADERS-$(CONFIG_LIBPULSE)           += pulse_audio_common.h
66 SKIPHEADERS-$(CONFIG_V4L2_INDEV)         += v4l2-common.h
67 SKIPHEADERS-$(CONFIG_V4L2_OUTDEV)        += v4l2-common.h
68 SKIPHEADERS-$(CONFIG_ALSA)               += alsa.h
69 SKIPHEADERS-$(CONFIG_SNDIO)              += sndio.h
70
71 TESTPROGS-$(CONFIG_JACK_INDEV)           += timefilter