Makefile.am 975 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11
include $(top_srcdir)/globals.mak

noinst_LTLIBRARIES = libmedia.la

SUBDIRS = audio

if RING_VIDEO
SUBDIRS += video
endif

libmedia_la_SOURCES = \
12
	libav_utils.cpp \
Éloi Bail's avatar
Éloi Bail committed
13
	socket_pair.cpp \
14
	media_buffer.cpp \
Éloi Bail's avatar
Éloi Bail committed
15 16 17 18
	media_decoder.cpp \
	media_encoder.cpp \
	media_io_handle.cpp \
	media_codec.cpp \
19 20
	system_codec_container.cpp \
	srtp.c
21 22

noinst_HEADERS = \
Guillaume Roguez's avatar
Guillaume Roguez committed
23
	rtp_session.h \
24
	libav_utils.h \
25 26
	libav_deps.h \
	socket_pair.h \
27
	media_buffer.h \
Éloi Bail's avatar
Éloi Bail committed
28 29 30
	media_decoder.h \
	media_encoder.h \
	media_io_handle.h \
31
	media_device.h \
Éloi Bail's avatar
Éloi Bail committed
32
	media_codec.h \
33 34
	system_codec_container.h \
	srtp.h
35 36 37 38 39 40 41 42 43 44 45 46 47 48

libmedia_la_LIBADD = \
	./audio/libaudio.la

if RING_VIDEO
libmedia_la_libADD = \
	./video/libvideo.la
endif

libmedia_la_LDFLAGS = @LIBAVCODEC_LIBS@ @LIBAVFORMAT_LIBS@ @LIBAVDEVICE_LIBS@ @LIBSWSCALE_LIBS@ @LIBAVUTIL_LIBS@

AM_CFLAGS=@LIBAVCODEC_CFLAGS@ @LIBAVFORMAT_CFLAGS@ @LIBAVDEVICE_CFLAGS@ @LIBSWSCALE_CFLAGS@

AM_CXXFLAGS=@LIBAVCODEC_CFLAGS@ @LIBAVFORMAT_CFLAGS@ @LIBAVDEVICE_CFLAGS@ @LIBSWSCALE_CFLAGS@