-
Notifications
You must be signed in to change notification settings - Fork 7
/
Makefile
40 lines (36 loc) · 1.58 KB
/
Makefile
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
36
37
38
39
40
CC=aarch64-linux-gnu-gcc
CXX=aarch64-linux-gnu-g++
all:
make -C aml_libion
make -C aml_libge2d
make -C libencoder/h264/bjunion_enc
make -C libencoder/h264
make -C libencoder/h265/EncoderAPI-HEVC/hevc_enc
make -C libencoder/h265/EncoderAPI-HEVC
install: all
rm -rf .tmp
mkdir -p .tmp/usr/lib/aarch64-linux-gnu/ .tmp/usr/local/bin/ .tmp/usr/include/linux/
cp aml_libion/*.so .tmp/usr/lib/aarch64-linux-gnu/
cp aml_libion/iontest .tmp/usr/local/bin/
cp -r aml_libion/include/* .tmp/usr/include/
cp -r aml_libion/kernel-headers/linux/* .tmp/usr/include/linux/
cp aml_libge2d/libge2d/*.so .tmp/usr/lib/aarch64-linux-gnu/
cp aml_libge2d/ge2d_feature_test .tmp/usr/local/bin/
cp aml_libge2d/libge2d/include/aml_ge2d.h .tmp/usr/include/
cp aml_libge2d/libge2d/include/aml_ge2d.h .tmp/usr/include/
cp aml_libge2d/libge2d/include/ge2d_*.h .tmp/usr/include/
cp aml_libge2d/libge2d/kernel-headers/linux/ge2d.h .tmp/usr/include/linux/
cp libencoder/h264/bjunion_enc/*.so .tmp/usr/lib/aarch64-linux-gnu/
cp libencoder/h264/h264EncoderDemo .tmp/usr/local/bin/
cp libencoder/h265/EncoderAPI-HEVC/hevc_enc/*.so .tmp/usr/lib/aarch64-linux-gnu/
cp libencoder/h265/EncoderAPI-HEVC/h265EncoderDemo .tmp/usr/local/bin/
cp libencoder/h264/bjunion_enc/vpcodec_1_0.h .tmp/usr/include/
cp libencoder/h265/EncoderAPI-HEVC/hevc_enc/vp_hevc_codec_1_0.h .tmp/usr/include/
clean:
make -C aml_libion clean
make -C aml_libge2d clean
make -C libencoder/h264/bjunion_enc clean
make -C libencoder/h264 clean
make -C libencoder/h265/EncoderAPI-HEVC/hevc_enc clean
make -C libencoder/h265/EncoderAPI-HEVC clean
rm -rf .tmp