Makefile.am 1.08 KB
Newer Older
1
include $(top_srcdir)/globals.mk
2 3 4 5 6 7 8 9 10 11

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
	system_codec_container.cpp \
20
	srtp.c \
Adrien Béraud's avatar
Adrien Béraud committed
21
	recordable.cpp
22 23

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

libmedia_la_LIBADD = \
	./audio/libaudio.la

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

Adrien Béraud's avatar
Adrien Béraud committed
47
libmedia_la_LDFLAGS = @LIBAVCODEC_LIBS@ @LIBAVFORMAT_LIBS@ @LIBAVDEVICE_LIBS@ @LIBSWSCALE_LIBS@ @LIBAVUTIL_LIBS@
48

Edric Milaret's avatar
Edric Milaret committed
49
if HAVE_WIN32
Edric Milaret's avatar
Edric Milaret committed
50
libmedia_la_LDFLAGS += -lws2_32 -lwsock32 -lshlwapi
Edric Milaret's avatar
Edric Milaret committed
51 52
endif

Adrien Béraud's avatar
Adrien Béraud committed
53
AM_CFLAGS=@LIBAVCODEC_CFLAGS@ @LIBAVFORMAT_CFLAGS@ @LIBAVDEVICE_CFLAGS@ @LIBSWSCALE_CFLAGS@
54

Adrien Béraud's avatar
Adrien Béraud committed
55
AM_CXXFLAGS=@LIBAVCODEC_CFLAGS@ @LIBAVFORMAT_CFLAGS@ @LIBAVDEVICE_CFLAGS@ @LIBSWSCALE_CFLAGS@