Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
62 lines (51 loc) · 1.73 KB

File metadata and controls

62 lines (51 loc) · 1.73 KB
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# -g - extra debug information
# -O1 - more precise backtraces
# -fPIC - required when using -shared option, required for use with Cython
# -Wall - show important warnings
# -Werror - treat warnings as errors
# Cython compiler options:
# -fPIC -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions \
# -Wl,-z,relro
UNAME_S = $(shell uname -s)
CC = g++
CCFLAGS = -fPIC -std=gnu++11 -Wall -Werror $(CEF_CCFLAGS)
SRC = client_handler.cpp cookie_visitor.cpp resource_handler.cpp \
web_request_client.cpp string_visitor.cpp request_context_handler.cpp \
task.cpp x11.cpp
OBJ = $(SRC:.cpp=.o)
ifeq ($(UNAME_S), Darwin)
OBJ += util_mac.o
endif
OUT = libclient_handler.a
INC = -I./../ -I/usr/include/python2.7 \
-I/usr/include/gtk-2.0 \
-I/usr/include/gtk-unix-print-2.0 \
-I/usr/include/glib-2.0 \
-I/usr/include/cairo \
-I/usr/include/pango-1.0 \
-I/usr/include/gdk-pixbuf-2.0 \
-I/usr/include/atk-1.0 \
-I/usr/lib/x86_64-linux-gnu/gtk-2.0/include \
-I/usr/lib/x86_64-linux-gnu/gtk-unix-print-2.0 \
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include \
-I/usr/lib/i386-linux-gnu/gtk-2.0/include \
-I/usr/lib/i386-linux-gnu/gtk-unix-print-2.0 \
-I/usr/lib/i386-linux-gnu/glib-2.0/include \
-I/usr/lib64/gtk-2.0/include \
-I/usr/lib64/gtk-unix-print-2.0 \
-I/usr/lib64/glib-2.0/include \
-I/usr/lib/gtk-2.0/include \
-I/usr/lib/gtk-2.0/gtk-unix-print-2.0 \
-I/usr/lib/glib-2.0/include
.cpp.o:
@echo [CLIENT HANDLER] Building $@ from $<...
$(CC) $(CCFLAGS) $(INC) -c $< -o $@
$(OUT): $(OBJ)
@echo [CLIENT HANDLER] Creating library $(OUT) from $(OBJ)...
ar rcs $(OUT) $(OBJ)
util_mac.o: util_mac.mm
@echo [CLIENT HANDLER] Building $@ from $<...
$(CC) $(CCFLAGS) $(INC) -c $< -o $@
clean:
@echo [CLIENT HANDLER] Cleaning...
rm *.o *.a
Morty Proxy This is a proxified and sanitized view of the page, visit original site.