summaryrefslogtreecommitdiff
path: root/other/analysis/gen-file.sh
diff options
context:
space:
mode:
Diffstat (limited to 'other/analysis/gen-file.sh')
-rw-r--r--other/analysis/gen-file.sh48
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 @@
1CPPFLAGS="-DMIN_LOGGER_LEVEL=LOG_TRACE -Iauto_tests -Itoxcore -Itoxav -Itoxencryptsave `pkg-config --cflags libsodium opus vpx`"
2
3put() {
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
12put toxcore/tox.c
13
14put toxcore/DHT.c
15put toxcore/LAN_discovery.c
16put toxcore/Messenger.c
17put toxcore/TCP_client.c
18put toxcore/TCP_connection.c
19put toxcore/TCP_server.c
20put toxcore/crypto_core.c
21put toxcore/crypto_core_mem.c
22put toxcore/friend_connection.c
23put toxcore/friend_requests.c
24put toxcore/group.c
25put toxcore/list.c
26put toxcore/logger.c
27put toxcore/network.c
28put toxcore/net_crypto.c
29put toxcore/onion.c
30put toxcore/onion_announce.c
31put toxcore/onion_client.c
32put toxcore/ping.c
33put toxcore/ping_array.c
34put toxcore/tox_api.c
35put 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
48put toxencryptsave/toxencryptsave.c