Makefile.am 1.19 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 \
21 22
	recordable.cpp \
	media_filter.cpp
23 24

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

libmedia_la_LIBADD = \
	./audio/libaudio.la

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

50
libmedia_la_LDFLAGS = @LIBAVCODEC_LIBS@ @LIBAVFORMAT_LIBS@ @LIBAVDEVICE_LIBS@ @LIBAVFILTER_LIBS@ @LIBSWSCALE_LIBS@ @LIBAVUTIL_LIBS@
51

Edric Milaret's avatar
Edric Milaret committed
52
if HAVE_WIN32
Edric Milaret's avatar
Edric Milaret committed
53
libmedia_la_LDFLAGS += -lws2_32 -lwsock32 -lshlwapi
Edric Milaret's avatar
Edric Milaret committed
54 55
endif

56
AM_CFLAGS=@LIBAVCODEC_CFLAGS@ @LIBAVFORMAT_CFLAGS@ @LIBAVDEVICE_CFLAGS@ @LIBAVFILTER_CFLAGS@ @LIBSWSCALE_CFLAGS@
57

58
AM_CXXFLAGS=@LIBAVCODEC_CFLAGS@ @LIBAVFORMAT_CFLAGS@ @LIBAVDEVICE_CFLAGS@ @LIBAVFILTER_CFLAGS@ @LIBSWSCALE_CFLAGS@