Makefile 2.32 KB
Newer Older
1 2
include $(SUBDIR)../config.mak

Diego Biurrun's avatar
Diego Biurrun committed
3
NAME    = avdevice
4
FFLIBS  = avformat avcodec avutil
5
FFLIBS-$(CONFIG_LAVFI_INDEV) += avfilter
Luca Abeni's avatar
Luca Abeni committed
6

7 8
HEADERS = avdevice.h                                                    \
          version.h                                                     \
Luca Abeni's avatar
Luca Abeni committed
9

10 11
OBJS    = alldevices.o                                                  \
          avdevice.o                                                    \
Diego Biurrun's avatar
Diego Biurrun committed
12

Luca Abeni's avatar
Luca Abeni committed
13
# input/output devices
14
OBJS-$(CONFIG_ALSA_INDEV)                += alsa-audio-common.o \
15
                                            alsa-audio-dec.o timefilter.o
16 17
OBJS-$(CONFIG_ALSA_OUTDEV)               += alsa-audio-common.o \
                                            alsa-audio-enc.o
18
OBJS-$(CONFIG_BKTR_INDEV)                += bktr.o
Paul B Mahol's avatar
Paul B Mahol committed
19
OBJS-$(CONFIG_CACA_OUTDEV)               += caca.o
20 21 22
OBJS-$(CONFIG_DSHOW_INDEV)               += dshow.o dshow_enummediatypes.o \
                                            dshow_enumpins.o dshow_filter.o \
                                            dshow_pin.o dshow_common.o
23
OBJS-$(CONFIG_DV1394_INDEV)              += dv1394.o
24
OBJS-$(CONFIG_FBDEV_INDEV)               += fbdev.o
25
OBJS-$(CONFIG_IEC61883_INDEV)            += iec61883.o
26
OBJS-$(CONFIG_JACK_INDEV)                += jack_audio.o timefilter.o
27
OBJS-$(CONFIG_LAVFI_INDEV)               += lavfi.o
28
OBJS-$(CONFIG_OPENAL_INDEV)              += openal-dec.o
29 30
OBJS-$(CONFIG_OSS_INDEV)                 += oss_audio.o
OBJS-$(CONFIG_OSS_OUTDEV)                += oss_audio.o
31
OBJS-$(CONFIG_PULSE_INDEV)               += pulse.o
32
OBJS-$(CONFIG_SDL_OUTDEV)                += sdl.o
33 34
OBJS-$(CONFIG_SNDIO_INDEV)               += sndio_common.o sndio_dec.o
OBJS-$(CONFIG_SNDIO_OUTDEV)              += sndio_common.o sndio_enc.o
35
OBJS-$(CONFIG_V4L2_INDEV)                += v4l2.o v4l2-common.o timefilter.o
Clément Bœsch's avatar
Clément Bœsch committed
36
OBJS-$(CONFIG_V4L2_OUTDEV)               += v4l2enc.o v4l2-common.o
37
OBJS-$(CONFIG_V4L_INDEV)                 += v4l.o
38
OBJS-$(CONFIG_VFWCAP_INDEV)              += vfwcap.o
39
OBJS-$(CONFIG_X11GRAB_INDEV)             += x11grab.o
Luca Abeni's avatar
Luca Abeni committed
40 41

# external libraries
42
OBJS-$(CONFIG_LIBCDIO_INDEV)             += libcdio.o
43
OBJS-$(CONFIG_LIBDC1394_INDEV)           += libdc1394.o
Luca Abeni's avatar
Luca Abeni committed
44

45
SKIPHEADERS-$(CONFIG_DSHOW_INDEV)        += dshow_capture.h
46
SKIPHEADERS-$(HAVE_ALSA_ASOUNDLIB_H)     += alsa-audio.h
47
SKIPHEADERS-$(HAVE_SNDIO_H)              += sndio_common.h
48

49
TESTPROGS = timefilter