diff options
author | irungentoo <irungentoo@gmail.com> | 2014-02-16 19:13:34 -0500 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2014-02-16 19:13:34 -0500 |
commit | 9d1eb27717472f5655242fac7b8123a44f1ff33c (patch) | |
tree | fd205f1ea53749717d9930d93ddb153fc8a16929 /toxav/Makefile.inc | |
parent | fd3dc22ef3bd77beb78faf24cd43e9d2b9706f5d (diff) | |
parent | f79b327fd639b2dcca9d4d2c137f93c1dce622fc (diff) |
Merge branch 'av-fix' into av-good
Diffstat (limited to 'toxav/Makefile.inc')
-rw-r--r-- | toxav/Makefile.inc | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/toxav/Makefile.inc b/toxav/Makefile.inc new file mode 100644 index 00000000..30879f65 --- /dev/null +++ b/toxav/Makefile.inc | |||
@@ -0,0 +1,75 @@ | |||
1 | if BUILD_AV | ||
2 | |||
3 | lib_LTLIBRARIES += libtoxav.la | ||
4 | libtoxav_la_include_HEADERS = ../toxav/toxav.h | ||
5 | libtoxav_la_includedir = $(includedir)/tox | ||
6 | |||
7 | libtoxav_la_SOURCES = ../toxav/event.h \ | ||
8 | ../toxav/event.c \ | ||
9 | ../toxav/rtp.h \ | ||
10 | ../toxav/rtp.c \ | ||
11 | ../toxav/msi.h \ | ||
12 | ../toxav/msi.c \ | ||
13 | ../toxav/media.h \ | ||
14 | ../toxav/media.c \ | ||
15 | ../toxav/toxav.h \ | ||
16 | ../toxav/toxav.c | ||
17 | |||
18 | |||
19 | libtoxav_la_CFLAGS = -I../toxcore \ | ||
20 | -I../toxav \ | ||
21 | $(NACL_CFLAGS) \ | ||
22 | $(OPUS_CFLAGS) \ | ||
23 | $(VPX_CFLAGS) \ | ||
24 | $(PTHREAD_CFLAGS) | ||
25 | |||
26 | libtoxav_la_LDFLAGS = $(TOXAV_LT_LDFLAGS) \ | ||
27 | $(NACL_LDFLAGS) \ | ||
28 | $(EXTRA_LT_LDFLAGS) | ||
29 | |||
30 | libtoxav_la_LIBS = $(NACL_LIBS) \ | ||
31 | $(OPUS_LIBS) \ | ||
32 | $(VPX_LIBS) \ | ||
33 | $(PTHREAD_LIBS) | ||
34 | |||
35 | |||
36 | endif | ||
37 | |||
38 | |||
39 | |||
40 | |||
41 | |||
42 | |||
43 | if BUILD_PHONE | ||
44 | |||
45 | |||
46 | noinst_PROGRAMS += phone | ||
47 | |||
48 | phone_SOURCES = ../toxav/phone.c | ||
49 | |||
50 | phone_CFLAGS = -I../toxcore \ | ||
51 | -I../toxav \ | ||
52 | $(AVFORMAT_CFLAGS) \ | ||
53 | $(AVCODEC_CFLAGS) \ | ||
54 | $(AVUTIL_CFLAGS) \ | ||
55 | $(AVDEVICE_CFLAGS) \ | ||
56 | $(SWSCALE_CFLAGS) \ | ||
57 | $(SDL_CFLAGS) \ | ||
58 | $(OPENAL_CFLAGS) | ||
59 | |||
60 | phone_LDADD = libtoxav.la \ | ||
61 | libtoxcore.la \ | ||
62 | $(AVFORMAT_LIBS) \ | ||
63 | $(AVCODEC_LIBS) \ | ||
64 | $(AVUTIL_LIBS) \ | ||
65 | $(AVDEVICE_LIBS) \ | ||
66 | $(SWSCALE_LIBS) \ | ||
67 | $(SDL_LIBS) \ | ||
68 | $(OPENAL_LIBS) \ | ||
69 | $(OPUS_LIBS) \ | ||
70 | $(VPX_LIBS)\ | ||
71 | $(PTHREAD_LIBS)\ | ||
72 | $(NACL_LIBS) | ||
73 | |||
74 | |||
75 | endif \ No newline at end of file | ||