Makefile.am 1.05 KB
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
	system_codec_container.cpp \
20 21
	srtp.c \
	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 36
	srtp.h \
	recordable.h
37 38 39 40 41 42 43 44 45 46 47

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@

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

52 53 54
AM_CFLAGS=@LIBAVCODEC_CFLAGS@ @LIBAVFORMAT_CFLAGS@ @LIBAVDEVICE_CFLAGS@ @LIBSWSCALE_CFLAGS@

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