toxcore/toxav/Makefile.inc

58 lines
1.9 KiB
PHP
Raw Normal View History

2014-01-25 21:41:04 +08:00
if BUILD_AV
2014-02-16 03:44:33 +08:00
lib_LTLIBRARIES += libtoxav.la
libtoxav_la_include_HEADERS = ../toxav/toxav.h
libtoxav_la_includedir = $(includedir)/tox
libtoxav_la_SOURCES = ../toxav/rtp.h \
2014-02-16 03:44:33 +08:00
../toxav/rtp.c \
../toxav/msi.h \
../toxav/msi.c \
../toxav/group.h \
../toxav/group.c \
2014-06-21 07:58:55 +08:00
../toxav/codec.h \
../toxav/codec.c \
2014-02-16 03:44:33 +08:00
../toxav/toxav.h \
../toxav/toxav.c
libtoxav_la_CFLAGS = -I../toxcore \
-I../toxav \
2014-05-20 06:10:40 +08:00
$(LIBSODIUM_CFLAGS) \
2014-02-16 03:44:33 +08:00
$(NACL_CFLAGS) \
2014-02-24 06:13:38 +08:00
$(AV_CFLAGS) \
2014-02-16 05:36:15 +08:00
$(PTHREAD_CFLAGS)
2014-02-16 03:44:33 +08:00
libtoxav_la_LDFLAGS = $(TOXAV_LT_LDFLAGS) \
2014-05-20 06:10:40 +08:00
$(LIBSODIUM_LDFLAGS) \
2014-02-16 03:44:33 +08:00
$(NACL_LDFLAGS) \
$(EXTRA_LT_LDFLAGS) \
$(WINSOCK2_LIBS)
2014-03-05 18:51:22 +08:00
libtoxav_la_LIBADD = libtoxcore.la \
2014-05-20 06:10:40 +08:00
$(LIBSODIUM_LIBS) \
2014-03-05 18:51:22 +08:00
$(NACL_LIBS) \
2014-02-24 06:13:38 +08:00
$(PTHREAD_LIBS) \
$(AV_LIBS)
2014-01-25 21:41:04 +08:00
2015-03-25 06:59:01 +08:00
noinst_PROGRAMS += av_test
av_test_SOURCES = ../toxav/av_test.c
av_test_CFLAGS = $(LIBSODIUM_CFLAGS) \
$(NACL_CFLAGS)
av_test_LDADD = $(LIBSODIUM_LDFLAGS) \
$(NACL_LDFLAGS) \
libtoxav.la \
libtoxcore.la \
$(LIBSODIUM_LIBS) \
$(NACL_OBJECTS) \
2015-03-22 07:21:49 +08:00
-lopenal \
2015-03-25 06:59:01 +08:00
-lopencv_calib3d -lopencv_contrib -lopencv_core -lopencv_features2d -lopencv_flann -lopencv_gpu -lopencv_highgui -lopencv_imgproc -lopencv_legacy -lopencv_ml -lopencv_objdetect -lopencv_ocl -lopencv_photo -lopencv_stitching -lopencv_superres -lopencv_ts -lopencv_video -lopencv_videostab \
$(NACL_LIBS)
2014-05-03 07:46:03 +08:00
endif