2014-01-25 21:41:04 +08:00
|
|
|
if BUILD_AV
|
|
|
|
|
2015-10-11 05:54:23 +08:00
|
|
|
lib_LTLIBRARIES += libtoxav.la
|
|
|
|
libtoxav_la_include_HEADERS = ../toxav/toxav.h
|
|
|
|
libtoxav_la_includedir = $(includedir)/tox
|
2014-02-16 03:44:33 +08:00
|
|
|
|
2014-07-03 22:58:00 +08:00
|
|
|
libtoxav_la_SOURCES = ../toxav/rtp.h \
|
2015-10-11 05:54:23 +08:00
|
|
|
../toxav/rtp.c \
|
|
|
|
../toxav/msi.h \
|
|
|
|
../toxav/msi.c \
|
2016-10-29 04:11:48 +08:00
|
|
|
../toxav/groupav.h \
|
|
|
|
../toxav/groupav.c \
|
2015-10-11 05:54:23 +08:00
|
|
|
../toxav/audio.h \
|
|
|
|
../toxav/audio.c \
|
|
|
|
../toxav/video.h \
|
|
|
|
../toxav/video.c \
|
2015-11-11 17:33:03 +08:00
|
|
|
../toxav/bwcontroller.h \
|
|
|
|
../toxav/bwcontroller.c \
|
2016-09-22 22:20:33 +08:00
|
|
|
../toxav/ring_buffer.h \
|
|
|
|
../toxav/ring_buffer.c \
|
2015-10-11 05:54:23 +08:00
|
|
|
../toxav/toxav.h \
|
|
|
|
../toxav/toxav.c \
|
|
|
|
../toxav/toxav_old.c
|
2014-02-16 03:44:33 +08:00
|
|
|
|
|
|
|
libtoxav_la_CFLAGS = -I../toxcore \
|
2015-10-11 05:54:23 +08:00
|
|
|
-I../toxav \
|
|
|
|
$(LIBSODIUM_CFLAGS) \
|
|
|
|
$(AV_CFLAGS) \
|
|
|
|
$(PTHREAD_CFLAGS)
|
2014-02-16 03:44:33 +08:00
|
|
|
|
2017-01-12 05:41:11 +08:00
|
|
|
libtoxav_la_LDFLAGS = $(LT_LDFLAGS) \
|
2015-10-11 05:54:23 +08:00
|
|
|
$(LIBSODIUM_LDFLAGS) \
|
|
|
|
$(EXTRA_LT_LDFLAGS) \
|
|
|
|
$(WINSOCK2_LIBS)
|
2014-03-05 18:51:22 +08:00
|
|
|
|
|
|
|
libtoxav_la_LIBADD = libtoxcore.la \
|
2015-10-11 05:54:23 +08:00
|
|
|
$(LIBSODIUM_LIBS) \
|
|
|
|
$(PTHREAD_LIBS) \
|
|
|
|
$(AV_LIBS)
|
2014-01-25 21:41:04 +08:00
|
|
|
|
2017-01-12 05:41:11 +08:00
|
|
|
if SET_SO_VERSION
|
|
|
|
|
|
|
|
EXTRA_libtoxav_la_DEPENDENCIES = ../so.version
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2016-09-22 22:20:33 +08:00
|
|
|
endif
|