toxcore/toxav/Makefile.inc

55 lines
1.6 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
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) \
$(NACL_LIBS)
2014-05-03 07:46:03 +08:00
endif