lavd: add opengl device
[ffmpeg.git] / 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 # input/output devices
14 OBJS-$(CONFIG_ALSA_INDEV)                += alsa-audio-common.o \
15                                             alsa-audio-dec.o timefilter.o
16 OBJS-$(CONFIG_ALSA_OUTDEV)               += alsa-audio-common.o \
17                                             alsa-audio-enc.o
18 OBJS-$(CONFIG_BKTR_INDEV)                += bktr.o
19 OBJS-$(CONFIG_CACA_OUTDEV)               += caca.o
20 OBJS-$(CONFIG_DSHOW_INDEV)               += 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_IEC61883_INDEV)            += iec61883.o
29 OBJS-$(CONFIG_JACK_INDEV)                += jack_audio.o timefilter.o
30 OBJS-$(CONFIG_LAVFI_INDEV)               += lavfi.o
31 OBJS-$(CONFIG_OPENAL_INDEV)              += openal-dec.o
32 OBJS-$(CONFIG_OPENGL_OUTDEV)             += opengl_enc.o
33 OBJS-$(CONFIG_OSS_INDEV)                 += oss_audio.o
34 OBJS-$(CONFIG_OSS_OUTDEV)                += oss_audio.o
35 OBJS-$(CONFIG_PULSE_INDEV)               += pulse_audio_dec.o \
36                                             pulse_audio_common.o
37 OBJS-$(CONFIG_PULSE_OUTDEV)              += pulse_audio_enc.o \
38                                             pulse_audio_common.o
39 OBJS-$(CONFIG_SDL_OUTDEV)                += sdl.o
40 OBJS-$(CONFIG_SNDIO_INDEV)               += sndio_common.o sndio_dec.o
41 OBJS-$(CONFIG_SNDIO_OUTDEV)              += sndio_common.o sndio_enc.o
42 OBJS-$(CONFIG_V4L2_INDEV)                += v4l2.o v4l2-common.o timefilter.o
43 OBJS-$(CONFIG_V4L2_OUTDEV)               += v4l2enc.o v4l2-common.o
44 OBJS-$(CONFIG_V4L_INDEV)                 += v4l.o
45 OBJS-$(CONFIG_VFWCAP_INDEV)              += vfwcap.o
46 OBJS-$(CONFIG_X11GRAB_INDEV)             += x11grab.o
47 OBJS-$(CONFIG_XV_OUTDEV)                 += xv.o
48
49 # external libraries
50 OBJS-$(CONFIG_LIBCDIO_INDEV)             += libcdio.o
51 OBJS-$(CONFIG_LIBDC1394_INDEV)           += libdc1394.o
52
53 OBJS-$(HAVE_LIBC_MSVCRT)                 += file_open.o
54
55 # Windows resource file
56 SLIBOBJS-$(HAVE_GNU_WINDRES)             += avdeviceres.o
57
58 SKIPHEADERS-$(CONFIG_DSHOW_INDEV)        += dshow_capture.h
59 SKIPHEADERS-$(CONFIG_LIBPULSE)           += pulse_audio_common.h
60 SKIPHEADERS-$(CONFIG_V4L2_INDEV)         += v4l2-common.h
61 SKIPHEADERS-$(CONFIG_V4L2_OUTDEV)        += v4l2-common.h
62 SKIPHEADERS-$(HAVE_ALSA_ASOUNDLIB_H)     += alsa-audio.h
63 SKIPHEADERS-$(HAVE_SNDIO_H)              += sndio_common.h
64
65 TESTPROGS = timefilter