toxcore/toxav/Makefile.inc

79 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
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 \
$(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) \
$(LIBSODIUM_LDFLAGS) \
2014-02-16 03:44:33 +08:00
$(NACL_LDFLAGS) \
$(EXTRA_LT_LDFLAGS)
2014-03-05 18:51:22 +08:00
libtoxav_la_LIBADD = libtoxcore.la \
$(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-03-05 18:51:22 +08:00
2014-02-16 03:44:33 +08:00
endif
2014-03-05 18:51:22 +08:00
2014-02-16 03:44:33 +08:00
if BUILD_PHONE
2014-01-25 21:41:04 +08:00
2014-03-05 18:51:22 +08:00
2014-01-25 21:41:04 +08:00
noinst_PROGRAMS += phone
2014-03-05 18:51:22 +08:00
phone_SOURCES = ../toxav/phone.c
2014-01-25 21:41:04 +08:00
phone_CFLAGS = -I../toxcore \
-I../toxav \
$(AVFORMAT_CFLAGS) \
$(AVCODEC_CFLAGS) \
$(AVUTIL_CFLAGS) \
$(AVDEVICE_CFLAGS) \
$(SWSCALE_CFLAGS) \
$(SDL_CFLAGS) \
2014-02-16 03:44:33 +08:00
$(OPENAL_CFLAGS)
2014-01-25 21:41:04 +08:00
2014-02-16 03:44:33 +08:00
phone_LDADD = libtoxav.la \
2014-01-25 21:41:04 +08:00
libtoxcore.la \
$(AVFORMAT_LIBS) \
$(AVCODEC_LIBS) \
$(AVUTIL_LIBS) \
$(AVDEVICE_LIBS) \
$(SWSCALE_LIBS) \
$(SDL_LIBS) \
2014-02-16 05:02:38 +08:00
$(OPENAL_LIBS) \
$(OPUS_LIBS) \
2014-02-16 05:36:15 +08:00
$(VPX_LIBS)\
2014-02-17 05:11:10 +08:00
$(PTHREAD_LIBS)\
2014-04-25 23:17:20 +08:00
$(NACL_OBJECTS) \
2014-02-17 05:11:10 +08:00
$(NACL_LIBS)
2014-03-05 18:51:22 +08:00
endif