summaryrefslogtreecommitdiff
path: root/toxav/Makefile.inc
blob: 79275c9bbc697eb0ec259b90369487053c77408d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
if BUILD_AV

lib_LTLIBRARIES += libtoxav.la
libtoxav_la_include_HEADERS = ../toxav/toxav.h
libtoxav_la_includedir = $(includedir)/tox

libtoxav_la_SOURCES = ../toxav/rtp.h \
                      ../toxav/rtp.c \
                      ../toxav/msi.h \
                      ../toxav/msi.c \
                      ../toxav/group.h \
                      ../toxav/group.c \
                      ../toxav/audio.h \
                      ../toxav/audio.c \
                      ../toxav/video.h \
                      ../toxav/video.c \
                      ../toxav/toxav.h \
                      ../toxav/toxav.c \
                      ../toxav/toxav_old.h \
                      ../toxav/toxav_old.c


libtoxav_la_CFLAGS = -I../toxcore \
                     -I../toxav \
                     $(LIBSODIUM_CFLAGS) \
                     $(NACL_CFLAGS) \
                     $(AV_CFLAGS) \
                     $(PTHREAD_CFLAGS)

libtoxav_la_LDFLAGS = $(TOXAV_LT_LDFLAGS) \
                      $(LIBSODIUM_LDFLAGS) \
                      $(NACL_LDFLAGS) \
                      $(EXTRA_LT_LDFLAGS) \
                      $(WINSOCK2_LIBS)

libtoxav_la_LIBADD =  libtoxcore.la \
                      $(LIBSODIUM_LIBS) \
                      $(NACL_LIBS) \
                      $(PTHREAD_LIBS) \
                      $(AV_LIBS)

endif