a902b0089
신재종
fork clone_app so...
|
1
2
3
4
5
6
7
8
|
TOOLCHAIN_DIR = /opt/fsl-imx-wayland/5.10-hardknott
SDKTARGETSYSROOT = $(TOOLCHAIN_DIR)/sysroots/cortexa53-crypto-poky-linux
CC_PATH = /opt/fsl-imx-wayland/5.10-hardknott/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux
CROSS_FREFIX = $(CC_PATH)/aarch64-poky-linux-
GCC = $(CROSS_FREFIX)gcc
CFLAGS=-mcpu=cortex-a53 -march=armv8-a+crc+crypto -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security
|
89fd7edb8
신재종
Makefile modified...
|
9
10
|
LDFLAGS=-lpthread -lm
INC=-I./protocol -I./shared -I./
|
a902b0089
신재종
fork clone_app so...
|
11
|
|
89fd7edb8
신재종
Makefile modified...
|
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
CFLAGS+=`pkg-config --cflags pixman-1`
LDFLAGS+=`pkg-config --libs pixman-1`
CFLAGS+=`pkg-config --cflags libweston-9`
LDFLAGS+=`pkg-config --libs libweston-9`
CFLAGS+=`pkg-config --cflags gtk+-wayland-3.0`
LDFLAGS+=`pkg-config --libs gtk+-wayland-3.0`
CFLAGS+=`pkg-config --cflags glib-2.0`
LDFLAGS+=`pkg-config --libs glib-2.0`
CFLAGS+=`pkg-config --cflags pango`
LDFLAGS+=`pkg-config --libs pango`
CFLAGS+=`pkg-config --cflags harfbuzz`
LDFLAGS+=`pkg-config --libs harfbuzz`
CFLAGS+=`pkg-config --cflags wayland-server`
LDFLAGS+=`pkg-config --libs wayland-server`
CFLAGS+=`pkg-config --cflags wayland-client`
LDFLAGS+=`pkg-config --libs wayland-client`
CFLAGS+=`pkg-config --cflags xkbcommon`
LDFLAGS+=`pkg-config --libs xkbcommon`
CFLAGS+=`pkg-config --cflags wayland-cursor`
LDFLAGS+=`pkg-config --libs wayland-cursor`
CFLAGS+=`pkg-config --cflags weston`
LDFLAGS+=`pkg-config --libs weston`
CFLAGS+=`pkg-config --cflags cairo-png`
LDFLAGS+=`pkg-config --libs cairo-png`
CFLAGS+=`pkg-config --cflags libjpeg`
LDFLAGS+=`pkg-config --libs libjpeg`
#CFLAGS+=`pkg-config --cflags `
#LDFLAGS+=`pkg-config --libs `
#CFLAGS+=`pkg-config --cflags `
#LDFLAGS+=`pkg-config --libs `
#CFLAGS+=`pkg-config --cflags `
#LDFLAGS+=`pkg-config --libs `
|
a902b0089
신재종
fork clone_app so...
|
59
60
61
|
all:
|
89fd7edb8
신재종
Makefile modified...
|
62
|
$(GCC) $(CFLAGS) --sysroot $(SDKTARGETSYSROOT) $(LDFLAGS) $(INC) -o weston-vncserver \
|
a902b0089
신재종
fork clone_app so...
|
63
|
screenshot.c \
|
89fd7edb8
신재종
Makefile modified...
|
64
65
66
67
|
protocol/pointer-constraints-unstable-v1-protocol.c \
protocol/relative-pointer-unstable-v1-protocol.c \
protocol/text-cursor-position-protocol.c \
protocol/viewporter-protocol.c \
|
a902b0089
신재종
fork clone_app so...
|
68
|
protocol/weston-screenshooter-protocol.c \
|
89fd7edb8
신재종
Makefile modified...
|
69
|
protocol/xdg-shell-protocol.c \
|
a902b0089
신재종
fork clone_app so...
|
70
71
72
73
|
shared/os-compatibility.c \
shared/xalloc.c \
shared/file-util.c \
shared/cairo-util.c \
|
89fd7edb8
신재종
Makefile modified...
|
74
75
|
shared/frame.c \
shared/image-loader.c \
|
a902b0089
신재종
fork clone_app so...
|
76
77
78
|
window.c
clean:
|
89fd7edb8
신재종
Makefile modified...
|
79
|
rm weston-vncserver
|