]> git.sesse.net Git - ffmpeg/blob - libavdevice/Makefile
Merge commit '92fdc80cab2acad9f171ba38a08aa89b392bdadd'
[ffmpeg] / libavdevice / Makefile
1 include $(SUBDIR)../config.mak
2
3 NAME    = avdevice
4
5 HEADERS = avdevice.h                                                    \
6           version.h                                                     \
7
8 OBJS    = alldevices.o                                                  \
9           avdevice.o                                                    \
10           utils.o                                                       \
11
12 # input/output devices
13 OBJS-$(CONFIG_ALSA_INDEV)                += alsa_dec.o alsa.o timefilter.o
14 OBJS-$(CONFIG_ALSA_OUTDEV)               += alsa_enc.o alsa.o
15 OBJS-$(CONFIG_AVFOUNDATION_INDEV)        += avfoundation.o
16 OBJS-$(CONFIG_BKTR_INDEV)                += bktr.o
17 OBJS-$(CONFIG_CACA_OUTDEV)               += caca.o
18 OBJS-$(CONFIG_DECKLINK_OUTDEV)           += decklink_enc.o decklink_enc_c.o decklink_common.o
19 OBJS-$(CONFIG_DECKLINK_INDEV)            += decklink_dec.o decklink_dec_c.o decklink_common.o
20 OBJS-$(CONFIG_DSHOW_INDEV)               += dshow_crossbar.o dshow.o dshow_enummediatypes.o \
21                                             dshow_enumpins.o dshow_filter.o \
22                                             dshow_pin.o dshow_common.o
23 OBJS-$(CONFIG_DV1394_INDEV)              += dv1394.o
24 OBJS-$(CONFIG_FBDEV_INDEV)               += fbdev_dec.o \
25                                             fbdev_common.o
26 OBJS-$(CONFIG_FBDEV_OUTDEV)              += fbdev_enc.o \
27                                             fbdev_common.o
28 OBJS-$(CONFIG_GDIGRAB_INDEV)             += gdigrab.o
29 OBJS-$(CONFIG_IEC61883_INDEV)            += iec61883.o
30 OBJS-$(CONFIG_JACK_INDEV)                += jack.o timefilter.o
31 OBJS-$(CONFIG_LAVFI_INDEV)               += lavfi.o
32 OBJS-$(CONFIG_OPENAL_INDEV)              += openal-dec.o
33 OBJS-$(CONFIG_OPENGL_OUTDEV)             += opengl_enc.o
34 OBJS-$(CONFIG_OSS_INDEV)                 += oss_dec.o oss.o
35 OBJS-$(CONFIG_OSS_OUTDEV)                += oss_enc.o oss.o
36 OBJS-$(CONFIG_PULSE_INDEV)               += pulse_audio_dec.o \
37                                             pulse_audio_common.o timefilter.o
38 OBJS-$(CONFIG_PULSE_OUTDEV)              += pulse_audio_enc.o \
39                                             pulse_audio_common.o
40 OBJS-$(CONFIG_QTKIT_INDEV)               += qtkit.o
41 OBJS-$(CONFIG_SDL_OUTDEV)                += sdl.o
42 OBJS-$(CONFIG_SNDIO_INDEV)               += sndio_dec.o sndio.o
43 OBJS-$(CONFIG_SNDIO_OUTDEV)              += sndio_enc.o sndio.o
44 OBJS-$(CONFIG_V4L2_INDEV)                += v4l2.o v4l2-common.o timefilter.o
45 OBJS-$(CONFIG_V4L2_OUTDEV)               += v4l2enc.o v4l2-common.o
46 OBJS-$(CONFIG_V4L_INDEV)                 += v4l.o
47 OBJS-$(CONFIG_VFWCAP_INDEV)              += vfwcap.o
48 OBJS-$(CONFIG_X11GRAB_INDEV)             += x11grab.o
49 OBJS-$(CONFIG_X11GRAB_XCB_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 OBJS-$(HAVE_LIBC_MSVCRT)                 += file_open.o
57
58 # Windows resource file
59 SLIBOBJS-$(HAVE_GNU_WINDRES)             += avdeviceres.o
60
61 SKIPHEADERS-$(CONFIG_DECKLINK)           += decklink_enc.h decklink_dec.h \
62                                             decklink_common.h decklink_common_c.h
63 SKIPHEADERS-$(CONFIG_DSHOW_INDEV)        += dshow_capture.h
64 SKIPHEADERS-$(CONFIG_FBDEV_INDEV)        += fbdev_common.h
65 SKIPHEADERS-$(CONFIG_FBDEV_OUTDEV)       += fbdev_common.h
66 SKIPHEADERS-$(CONFIG_LIBPULSE)           += pulse_audio_common.h
67 SKIPHEADERS-$(CONFIG_V4L2_INDEV)         += v4l2-common.h
68 SKIPHEADERS-$(CONFIG_V4L2_OUTDEV)        += v4l2-common.h
69 SKIPHEADERS-$(HAVE_ALSA_ASOUNDLIB_H)     += alsa.h
70 SKIPHEADERS-$(HAVE_SNDIO_H)              += sndio.h
71
72 TESTPROGS = timefilter