diff options
Diffstat (limited to 'other/analysis/gen-file.sh')
-rw-r--r-- | other/analysis/gen-file.sh | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/other/analysis/gen-file.sh b/other/analysis/gen-file.sh new file mode 100644 index 00000000..710e20d7 --- /dev/null +++ b/other/analysis/gen-file.sh | |||
@@ -0,0 +1,48 @@ | |||
1 | CPPFLAGS="-DMIN_LOGGER_LEVEL=LOG_TRACE -Iauto_tests -Itoxcore -Itoxav -Itoxencryptsave `pkg-config --cflags libsodium opus vpx`" | ||
2 | |||
3 | put() { | ||
4 | if [ "$SKIP_LINES" = "" ]; then | ||
5 | echo "#line 1 \"$1\"" >> test.c | ||
6 | fi | ||
7 | cat $1 >> test.c | ||
8 | } | ||
9 | |||
10 | :> test.c | ||
11 | |||
12 | put toxcore/tox.c | ||
13 | |||
14 | put toxcore/DHT.c | ||
15 | put toxcore/LAN_discovery.c | ||
16 | put toxcore/Messenger.c | ||
17 | put toxcore/TCP_client.c | ||
18 | put toxcore/TCP_connection.c | ||
19 | put toxcore/TCP_server.c | ||
20 | put toxcore/crypto_core.c | ||
21 | put toxcore/crypto_core_mem.c | ||
22 | put toxcore/friend_connection.c | ||
23 | put toxcore/friend_requests.c | ||
24 | put toxcore/group.c | ||
25 | put toxcore/list.c | ||
26 | put toxcore/logger.c | ||
27 | put toxcore/network.c | ||
28 | put toxcore/net_crypto.c | ||
29 | put toxcore/onion.c | ||
30 | put toxcore/onion_announce.c | ||
31 | put toxcore/onion_client.c | ||
32 | put toxcore/ping.c | ||
33 | put toxcore/ping_array.c | ||
34 | put toxcore/tox_api.c | ||
35 | put toxcore/util.c | ||
36 | |||
37 | # Not included yet, since there are too many issues with this code. | ||
38 | #put toxav/audio.c | ||
39 | #put toxav/bwcontroller.c | ||
40 | #put toxav/groupav.c | ||
41 | #put toxav/msi.c | ||
42 | #put toxav/ring_buffer.c | ||
43 | #put toxav/rtp.c | ||
44 | #put toxav/toxav.c | ||
45 | #put toxav/toxav_old.c | ||
46 | #put toxav/video.c | ||
47 | |||
48 | put toxencryptsave/toxencryptsave.c | ||