annotate Makefile @ 405:d3c5480e8441

fix broken fillRegenerationBuffer/fillScreenArray attempt to handle missing attributes; fix setfield outside screen boundaries
author Carl Byington <carl@five-ten-sg.com>
date Fri, 24 Oct 2014 14:19:06 -0700
parents 4d5cb1e185e1
children 47de9ffed872
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
1 #mc40 is "On Device Storage"
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
2 #tc55 is "Internal Storage"
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
3
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
4 style=release
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
5 dest=/run/user/1000/gvfs/mtp*/*torage/Download
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
6 apk='bin/510Connectbot-$(style).apk'
170
f0f41cd3604b set debuggable flag depending on build style
Carl Byington <carl@five-ten-sg.com>
parents: 169
diff changeset
7 ifeq ($(style),release)
171
18aceeae6681 fix inverted style/debuggable test
Carl Byington <carl@five-ten-sg.com>
parents: 170
diff changeset
8 debuggable=false
170
f0f41cd3604b set debuggable flag depending on build style
Carl Byington <carl@five-ten-sg.com>
parents: 169
diff changeset
9 else
171
18aceeae6681 fix inverted style/debuggable test
Carl Byington <carl@five-ten-sg.com>
parents: 170
diff changeset
10 debuggable=true
170
f0f41cd3604b set debuggable flag depending on build style
Carl Byington <carl@five-ten-sg.com>
parents: 169
diff changeset
11 endif
f0f41cd3604b set debuggable flag depending on build style
Carl Byington <carl@five-ten-sg.com>
parents: 169
diff changeset
12
0
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
13
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
14 all:
73
accf93be8c12 update documentation; use xterm-256color as default terminal type
Carl Byington <carl@five-ten-sg.com>
parents: 1
diff changeset
15 hg pull; hg update
accf93be8c12 update documentation; use xterm-256color as default terminal type
Carl Byington <carl@five-ten-sg.com>
parents: 1
diff changeset
16 make builder
accf93be8c12 update documentation; use xterm-256color as default terminal type
Carl Byington <carl@five-ten-sg.com>
parents: 1
diff changeset
17
362
d51bf957d955 add help files to the web documentation
Carl Byington <carl@five-ten-sg.com>
parents: 360
diff changeset
18 builder: prep
170
f0f41cd3604b set debuggable flag depending on build style
Carl Byington <carl@five-ten-sg.com>
parents: 169
diff changeset
19 sed -i -e 's/android:debuggable=".*"/android:debuggable="$(debuggable)"/g' AndroidManifest.xml
74
1aff8d06d5ef makefile typo
Carl Byington <carl@five-ten-sg.com>
parents: 73
diff changeset
20 rm -rf gen bin
0
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
21 ndk-build clean; V=1 ndk-build
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
22 android update project -p . -t android-16
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
23 ant $(style)
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
24
362
d51bf957d955 add help files to the web documentation
Carl Byington <carl@five-ten-sg.com>
parents: 360
diff changeset
25 prep:
d51bf957d955 add help files to the web documentation
Carl Byington <carl@five-ten-sg.com>
parents: 360
diff changeset
26 (cd help; make)
d51bf957d955 add help files to the web documentation
Carl Byington <carl@five-ten-sg.com>
parents: 360
diff changeset
27
0
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
28 genkey:
1
ab7313512aba missing comma in DN, regenerate keystore
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
29 keytool -genkeypair -keystore 510Connectbot.keystore -alias 510Connectbot -dname "cn=510Connectbot , ou=510Connectbot, o=five-ten-sg, o=com, c=US" -keyalg RSA -keysize 2048 -validity 10000
0
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
30
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
31 docs:
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
32 (cd xml; make)
360
7eb24880b111 add help files to the web documentation
Carl Byington <carl@five-ten-sg.com>
parents: 332
diff changeset
33 (cd help; make)
0
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
34
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
35 install:
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
36 cp $(apk) $(dest)
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
37 ls -al $(apk) $(dest)
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
38
116
524f9d41e046 new 510 icons
Carl Byington <carl@five-ten-sg.com>
parents: 74
diff changeset
39 buildicon:
159
13ca2a7a63f3 add icons up to 192x192 xxxhdpi
Carl Byington <carl@five-ten-sg.com>
parents: 116
diff changeset
40 cp -a base.510.icon.png res/drawable-xxxhdpi/icon.png
13ca2a7a63f3 add icons up to 192x192 xxxhdpi
Carl Byington <carl@five-ten-sg.com>
parents: 116
diff changeset
41 convert base.510.icon.png -resize 144x144 res/drawable-xxhdpi/icon.png
13ca2a7a63f3 add icons up to 192x192 xxxhdpi
Carl Byington <carl@five-ten-sg.com>
parents: 116
diff changeset
42 convert base.510.icon.png -resize 96x96 res/drawable-xhdpi/icon.png
13ca2a7a63f3 add icons up to 192x192 xxxhdpi
Carl Byington <carl@five-ten-sg.com>
parents: 116
diff changeset
43 convert base.510.icon.png -resize 72x72 res/drawable-hdpi/icon.png
13ca2a7a63f3 add icons up to 192x192 xxxhdpi
Carl Byington <carl@five-ten-sg.com>
parents: 116
diff changeset
44 convert base.510.icon.png -resize 48x48 res/drawable-mdpi/icon.png
13ca2a7a63f3 add icons up to 192x192 xxxhdpi
Carl Byington <carl@five-ten-sg.com>
parents: 116
diff changeset
45 convert base.510.icon.png -resize 36x36 res/drawable-ldpi/icon.png
116
524f9d41e046 new 510 icons
Carl Byington <carl@five-ten-sg.com>
parents: 74
diff changeset
46
159
13ca2a7a63f3 add icons up to 192x192 xxxhdpi
Carl Byington <carl@five-ten-sg.com>
parents: 116
diff changeset
47 convert res/drawable-xxxhdpi/icon.png -resize 50% -colorspace Gray res/drawable-xxxhdpi/notification_icon.png
13ca2a7a63f3 add icons up to 192x192 xxxhdpi
Carl Byington <carl@five-ten-sg.com>
parents: 116
diff changeset
48 convert res/drawable-xxhdpi/icon.png -resize 50% -colorspace Gray res/drawable-xxhdpi/notification_icon.png
13ca2a7a63f3 add icons up to 192x192 xxxhdpi
Carl Byington <carl@five-ten-sg.com>
parents: 116
diff changeset
49 convert res/drawable-xhdpi/icon.png -resize 50% -colorspace Gray res/drawable-xhdpi/notification_icon.png
13ca2a7a63f3 add icons up to 192x192 xxxhdpi
Carl Byington <carl@five-ten-sg.com>
parents: 116
diff changeset
50 convert res/drawable-hdpi/icon.png -resize 50% -colorspace Gray res/drawable-hdpi/notification_icon.png
13ca2a7a63f3 add icons up to 192x192 xxxhdpi
Carl Byington <carl@five-ten-sg.com>
parents: 116
diff changeset
51 convert res/drawable-mdpi/icon.png -resize 50% -colorspace Gray res/drawable-mdpi/notification_icon.png
13ca2a7a63f3 add icons up to 192x192 xxxhdpi
Carl Byington <carl@five-ten-sg.com>
parents: 116
diff changeset
52 convert res/drawable-ldpi/icon.png -resize 50% -colorspace Gray res/drawable-ldpi/notification_icon.png
0
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
53
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
54 indentc:
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
55 indent --line-length100 \
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
56 --brace-indent4 \
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
57 --braces-on-if-line \
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
58 --braces-on-func-def-line \
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
59 --case-brace-indentation4 \
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
60 --case-indentation4 \
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
61 --comment-indentation60 \
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
62 --cuddle-else \
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
63 --declaration-comment-column60 \
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
64 --no-tabs \
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
65 -nbbo \
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
66 -npcs \
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
67 -nprs \
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
68 -npsl \
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
69 -saf -sai -saw \
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
70 -i4 \
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
71 $(shell find . -iname *.c -o -iname *.h -o -iname *.cpp)
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
72
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
73
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
74 indentjava:
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
75 astyle --style=java \
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
76 --attach-namespaces \
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
77 --attach-classes \
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
78 --indent-classes \
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
79 --indent-switches \
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
80 --indent-cases \
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
81 --indent-namespaces \
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
82 --break-blocks \
332
5c17707d94b0 fix java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 331
diff changeset
83 --unpad-paren \
0
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
84 --pad-oper \
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
85 --pad-header \
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
86 --delete-empty-lines \
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
87 --align-pointer=type \
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
88 --break-closing-brackets \
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
89 --keep-one-line-blocks \
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
90 --keep-one-line-statements \
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
91 --convert-tabs \
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
92 --break-after-logical \
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
93 --mode=java \
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
94 $(shell find . -iname *.java | grep -v /gen/)
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
95
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
96 internaldocs:
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
97 doxygen