forked from radareorg/radare2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config-user.mk.acr
132 lines (112 loc) · 2.6 KB
/
config-user.mk.acr
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
# This file should be generated by the ./configure script
CC=@CC@
WITH_GPL=@WITH_GPL@
HAVE_PKGCONFIG=@HAVE_PKGCONFIG@
USE_CS4=@USE_CS4@
USE_CSNEXT=@USE_CSNEXT@
DESTDIR=
PREFIX=@PREFIX@
BINDIR=@BINDIR@
LIBDIR=@LIBDIR@
MANDIR=@MANDIR@
DOCDIR=@DOCDIR@
DATADIR=@DATADIR@
INCLUDEDIR=@INCLUDEDIR@
HAVE_LIB_GMP=@HAVE_LIB_GMP@
USE_RPATH=@USE_RPATH@
HAVE_JEMALLOC=@HAVE_JEMALLOC@
HAVE_FORK=@HAVE_FORK@
WANT_DYLINK=@WANT_DYLINK@
WANT_CAPSTONE=@WANT_CAPSTONE@
WITH_STATIC_THEMES=@WITH_STATIC_THEMES@
WITH_LIBR=@WITH_LIBR@
NEW_IO_CACHE=@NEW_IO_CACHE@
ifeq ($(USE_RPATH),1)
LDFLAGS_RPATH=-Wl,-rpath,"${LIBDIR}"
else
LDFLAGS_RPATH=
endif
MKPLUGINS=mk/stat.mk mk/sloc.mk
USERCC=@USERCC@
COMPILER0=$(shell echo "${USERCC}" | awk '{print $$1}')
COMPILER=$(shell basename ${COMPILER0})
DEBUGGER=@DEBUGGER@
INSTALL_DIR=@INSTALL_DIR@
INSTALL_DATA=@INSTALL_DATA@
INSTALL_PROGRAM=@INSTALL_PROGRAM@
INSTALL_SCRIPT=@INSTALL_SCRIPT@
INSTALL_MAN=@INSTALL_MAN@
INSTALL_LIB=@INSTALL_LIB@
VERSION=@VERSION@
R2_VERSION=@VERSION@
R2_VERSION_MAJOR=@VERSION_MAJOR@
R2_VERSION_MINOR=@VERSION_MINOR@
R2_VERSION_PATCH=@VERSION_PATCH@
R2_VERSION_NUMBER=@VERSION_NUMBER@
LIBVERSION=@LIBVERSION@
ABIVERSION=$(shell echo @LIBVERSION@ | awk -F . '{print $$1"."$$2}')
# ./configure --with-ostype=[linux,osx,solaris,windows] # TODO: rename to w32, w64?
OSTYPE=@USEROSTYPE@
BUILD_OS=@BUILD_OS@
HOST_OS=@HOST_OS@
ifeq ($(WANT_DYLINK),1)
# workaround: must be fixed in acr
ifeq ($(OSTYPE),qnx)
DL_LIBS=
else
ifeq ($(OSTYPE),windows)
else
ifeq ($(OSTYPE),darwin)
else
DL_LIBS=@DL_LIBS@
endif
endif
endif
else
# WANT_DYLINK=0
DL_LIBS=
endif
# capstone
ifeq ($(WANT_CAPSTONE),1)
USE_CAPSTONE=@USE_CAPSTONE@
else
USE_CAPSTONE=0
endif
ifeq ($(USE_CAPSTONE),1)
CAPSTONE_CFLAGS=$(subst include/capstone,include,@CAPSTONE_CFLAGS@)
CAPSTONE_LDFLAGS=@CAPSTONE_LDFLAGS@
else
CAPSTONE_CFLAGS=
CAPSTONE_LDFLAGS=
endif
HAVE_LIB_GMP=@HAVE_LIB_GMP@
HAVE_LIB_SSL=@HAVE_OPENSSL@
WANT_SSL_CRYPTO=@WANT_SSL_CRYPTO@
HAVE_LIB_MAGIC=@HAVE_LIB_MAGIC@
USE_LIB_MAGIC=@USE_LIB_MAGIC@
HAVE_LIB_XXHASH=@HAVE_LIB_XXHASH@
USE_LIB_XXHASH=@USE_LIB_XXHASH@
USE_LIB_ZIP=@USE_LIB_ZIP@
LIBMAGIC=@LIBMAGIC@
LIBZIP=@LIBZIP@
LIBXXHASH=@LIBXXHASH@
USE_SYSLZ4=@USE_SYSLZ4@
USE_SMALLZ4=@USE_SMALLZ4@
ifeq ($(USE_SYSLZ4),1)
LZ4_LDFLAGS=@LZ4_LDFLAGS@
LZ4_CFLAGS=@LZ4_CFLAGS@
endif
ifeq ($(HAVE_LIB_SSL),1)
SSL_CFLAGS=@SSL_CFLAGS@
SSL_LDFLAGS=@SSL_LDFLAGS@
endif
HAVE_LIBUV=@HAVE_LIBUV@
LIBUV_CFLAGS=@LIBUV_CFLAGS@
LIBUV_LDFLAGS=@LIBUV_LDFLAGS@
HAVE_GPERF=@HAVE_GPERF@
HAVE_PTRACE=@HAVE_PTRACE@
USE_PTRACE_WRAP=@USE_PTRACE_WRAP@
CLOCK_LDFLAGS+=@CLOCK_LDFLAGS@
# cache compiler flags at configure time #
CFLAGS+=@CFLAGS@
LDFLAGS+=@LDFLAGS@