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
|
|
|
|
|
2014-02-16 05:36:15 +08:00
|
|
|
libtoxav_la_SOURCES = ../toxav/event.h \
|
|
|
|
../toxav/event.c \
|
|
|
|
../toxav/rtp.h \
|
2014-02-16 03:44:33 +08:00
|
|
|
../toxav/rtp.c \
|
|
|
|
../toxav/msi.h \
|
|
|
|
../toxav/msi.c \
|
|
|
|
../toxav/media.h \
|
|
|
|
../toxav/media.c \
|
|
|
|
../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) \
|
2014-06-03 08:19:40 +08:00
|
|
|
$(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
|
|
|
|
2014-05-03 07:46:03 +08:00
|
|
|
endif
|