]> git.sesse.net Git - ffmpeg/blob - libavdevice/Makefile
Merge commit 'ed1a11ed52bbd1f15bb9b0416d69b7924bee3191'
[ffmpeg] / libavdevice / Makefile
1 include $(SUBDIR)../config.mak
2
3 NAME    = avdevice
4 FFLIBS  = avformat avcodec avutil
5 FFLIBS-$(CONFIG_LAVFI_INDEV) += avfilter
6
7 HEADERS = avdevice.h                                                    \
8           version.h                                                     \
9
10 OBJS    = alldevices.o                                                  \
11           avdevice.o                                                    \
12
13 OBJS-$(HAVE_MSVCRT) += file_open.o
14
15 # input/output devices
16 OBJS-$(CONFIG_ALSA_INDEV)                += alsa-audio-common.o \
17                                             alsa-audio-dec.o timefilter.o
18 OBJS-$(CONFIG_ALSA_OUTDEV)               += alsa-audio-common.o \
19                                             alsa-audio-enc.o
20 OBJS-$(CONFIG_BKTR_INDEV)                += bktr.o
21 OBJS-$(CONFIG_CACA_OUTDEV)               += caca.o
22 OBJS-$(CONFIG_DSHOW_INDEV)               += dshow.o dshow_enummediatypes.o \
23                                             dshow_enumpins.o dshow_filter.o \
24                                             dshow_pin.o dshow_common.o
25 OBJS-$(CONFIG_DV1394_INDEV)              += dv1394.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_IEC61883_INDEV)            += iec61883.o
31 OBJS-$(CONFIG_JACK_INDEV)                += jack_audio.o timefilter.o
32 OBJS-$(CONFIG_LAVFI_INDEV)               += lavfi.o
33 OBJS-$(CONFIG_OPENAL_INDEV)              += openal-dec.o
34 OBJS-$(CONFIG_OSS_INDEV)                 += oss_audio.o
35 OBJS-$(CONFIG_OSS_OUTDEV)                += oss_audio.o
36 OBJS-$(CONFIG_PULSE_INDEV)               += pulse_audio_dec.o \
37                                             pulse_audio_common.o
38 OBJS-$(CONFIG_PULSE_OUTDEV)              += pulse_audio_enc.o \
39                                             pulse_audio_common.o
40 OBJS-$(CONFIG_SDL_OUTDEV)                += sdl.o
41 OBJS-$(CONFIG_SNDIO_INDEV)               += sndio_common.o sndio_dec.o
42 OBJS-$(CONFIG_SNDIO_OUTDEV)              += sndio_common.o sndio_enc.o
43 OBJS-$(CONFIG_V4L2_INDEV)                += v4l2.o v4l2-common.o timefilter.o
44 OBJS-$(CONFIG_V4L2_OUTDEV)               += v4l2enc.o v4l2-common.o
45 OBJS-$(CONFIG_V4L_INDEV)                 += v4l.o
46 OBJS-$(CONFIG_VFWCAP_INDEV)              += vfwcap.o
47 OBJS-$(CONFIG_X11GRAB_INDEV)             += x11grab.o
48 OBJS-$(CONFIG_XV_OUTDEV)                 += xv.o
49
50 # external libraries
51 OBJS-$(CONFIG_LIBCDIO_INDEV)             += libcdio.o
52 OBJS-$(CONFIG_LIBDC1394_INDEV)           += libdc1394.o
53
54 SKIPHEADERS-$(CONFIG_DSHOW_INDEV)        += dshow_capture.h
55 SKIPHEADERS-$(CONFIG_LIBPULSE)           += pulse_audio_common.h
56 SKIPHEADERS-$(CONFIG_V4L2_INDEV)         += v4l2-common.h
57 SKIPHEADERS-$(CONFIG_V4L2_OUTDEV)        += v4l2-common.h
58 SKIPHEADERS-$(HAVE_ALSA_ASOUNDLIB_H)     += alsa-audio.h
59 SKIPHEADERS-$(HAVE_SNDIO_H)              += sndio_common.h
60
61 TESTPROGS = timefilter