File: makefile

package info (click to toggle)
p7zip 16.02%2Bdfsg-6
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 14,144 kB
  • sloc: cpp: 167,145; ansic: 14,992; python: 1,911; asm: 1,688; sh: 1,132; makefile: 701
file content (35 lines) | stat: -rw-r--r-- 810 bytes parent folder | download | duplicates (5)
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

TARGET=7za

include ../makefile.inc

test: install
	adb shell $(DEVICE_DIR)/7za b

test_crc: install
	adb shell $(DEVICE_DIR)/7za -mm=crc b

test_complex: install
	adb shell $(DEVICE_DIR)/7za "-mm=*" b

test2:
	adb push ./libs/armeabi-v7a/7za $(DEVICE_DIR)/7za-v7a
	adb shell chmod 777 $(DEVICE_DIR)/7za-v7a
	adb shell $(DEVICE_DIR)/7za-v7a b

test_all: install
	adb push ../../../check/test/7za433_7zip_lzma.7z $(DEVICE_DIR)
	adb shell $(DEVICE_DIR)/7za t  $(DEVICE_DIR)/7za433_7zip_lzma.7z

bench: install test

# FIXME
debug:
	cd jni ; ndk-build NDK_DEBUG=1
	adb push ./libs/armeabi/7za /data/app/
	adb push ./libs/armeabi/gdbserver /data/app/
	adb shell chmod 777 /data/app/7za
	adb shell chmod 777 /data/app/gdbserver
	adb forward tcp:1234: tcp:1234
	adb shell  /data/app/gdbserver :1234 /data/app/7za