585827be822f8f20ea0a7277b9db69c91c63726c
[ffmpeg.git] / 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 OBJS-$(HAVE_LIBC_MSVCRT)                 += file_open.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_AVFOUNDATION_INDEV)        += avfoundation.o
18 OBJS-$(CONFIG_BKTR_INDEV)                += bktr.o
19 OBJS-$(CONFIG_CACA_OUTDEV)               += caca.o
20 OBJS-$(CONFIG_DECKLINK_OUTDEV)           += decklink_enc.o decklink_enc_c.o decklink_common.o
21 OBJS-$(CONFIG_DECKLINK_INDEV)            += decklink_dec.o decklink_dec_c.o decklink_common.o
22 OBJS-$(CONFIG_DSHOW_INDEV)               += dshow_crossbar.o 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_GDIGRAB_INDEV)             += gdigrab.o
31 OBJS-$(CONFIG_IEC61883_INDEV)            += iec61883.o
32 OBJS-$(CONFIG_JACK_INDEV)                += jack.o timefilter.o
33 OBJS-$(CONFIG_LAVFI_INDEV)               += lavfi.o
34 OBJS-$(CONFIG_OPENAL_INDEV)              += openal-dec.o
35 OBJS-$(CONFIG_OPENGL_OUTDEV)             += opengl_enc.o
36 OBJS-$(CONFIG_OSS_INDEV)                 += oss_dec.o oss.o
37 OBJS-$(CONFIG_OSS_OUTDEV)                += oss_enc.o oss.o
38 OBJS-$(CONFIG_PULSE_INDEV)               += pulse_audio_dec.o \
39                                             pulse_audio_common.o timefilter.o
40 OBJS-$(CONFIG_PULSE_OUTDEV)              += pulse_audio_enc.o \
41                                             pulse_audio_common.o
42 OBJS-$(CONFIG_QTKIT_INDEV)               += qtkit.o
43 OBJS-$(CONFIG_SDL_OUTDEV)                += sdl.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_V4L_INDEV)                 += v4l.o
49 OBJS-$(CONFIG_VFWCAP_INDEV)              += vfwcap.o
50 OBJS-$(CONFIG_X11GRAB_INDEV)             += x11grab.o
51 OBJS-$(CONFIG_X11GRAB_XCB_INDEV)         += xcbgrab.o
52 OBJS-$(CONFIG_XV_OUTDEV)                 += xv.o
53
54 # external libraries
55 OBJS-$(CONFIG_LIBCDIO_INDEV)             += libcdio.o
56 OBJS-$(CONFIG_LIBDC1394_INDEV)           += libdc1394.o
57
58 # Windows resource file
59 SLIBOBJS-$(HAVE_GNU_WINDRES)             += avdeviceres.o
60
61 SKIPHEADERS                              += decklink_common.h
62 SKIPHEADERS-$(CONFIG_DECKLINK)           += decklink_enc.h decklink_dec.h \
63                                             decklink_common_c.h
64 SKIPHEADERS-$(CONFIG_DSHOW_INDEV)        += dshow_capture.h
65 SKIPHEADERS-$(CONFIG_FBDEV_INDEV)        += fbdev_common.h
66 SKIPHEADERS-$(CONFIG_FBDEV_OUTDEV)       += fbdev_common.h
67 SKIPHEADERS-$(CONFIG_LIBPULSE)           += pulse_audio_common.h
68 SKIPHEADERS-$(CONFIG_V4L2_INDEV)         += v4l2-common.h
69 SKIPHEADERS-$(CONFIG_V4L2_OUTDEV)        += v4l2-common.h
70 SKIPHEADERS-$(HAVE_ALSA_ASOUNDLIB_H)     += alsa.h
71 SKIPHEADERS-$(HAVE_SNDIO_H)              += sndio.h
72
73 TESTPROGS-$(CONFIG_JACK_INDEV)           += timefilter