2009-03-31 00:57:39 +00:00
|
|
|
# This file should be generated by the ./configure script
|
2013-02-06 10:47:31 +00:00
|
|
|
CC=@CC@
|
2015-02-07 00:41:54 +00:00
|
|
|
WITH_GPL=@WITH_GPL@
|
2015-10-26 21:33:45 +00:00
|
|
|
|
2021-04-24 20:04:51 +00:00
|
|
|
USE_CS4=@USE_CS4@
|
2015-10-26 21:33:45 +00:00
|
|
|
DESTDIR=
|
2009-03-25 19:53:26 +00:00
|
|
|
PREFIX=@PREFIX@
|
2011-07-19 09:25:11 +00:00
|
|
|
BINDIR=@BINDIR@
|
|
|
|
LIBDIR=@LIBDIR@
|
2011-07-03 11:06:16 +00:00
|
|
|
MANDIR=@MANDIR@
|
2017-03-15 18:00:52 +00:00
|
|
|
DOCDIR=@DOCDIR@
|
2013-04-18 21:11:12 +00:00
|
|
|
DATADIR=@DATADIR@
|
2011-07-19 09:25:11 +00:00
|
|
|
INCLUDEDIR=@INCLUDEDIR@
|
2015-10-26 21:33:45 +00:00
|
|
|
|
2010-05-24 09:15:32 +00:00
|
|
|
HAVE_LIB_GMP=@HAVE_LIB_GMP@
|
2012-08-27 15:02:58 +00:00
|
|
|
USE_RPATH=@USE_RPATH@
|
2017-08-10 15:04:13 +00:00
|
|
|
HAVE_JEMALLOC=@HAVE_JEMALLOC@
|
2017-10-08 23:56:44 +00:00
|
|
|
HAVE_FORK=@HAVE_FORK@
|
2020-07-02 03:58:12 +00:00
|
|
|
WANT_DYLINK=@WANT_DYLINK@
|
2021-06-21 15:48:00 +00:00
|
|
|
WANT_CAPSTONE=@WANT_CAPSTONE@
|
2022-11-02 09:57:15 +00:00
|
|
|
WITH_STATIC_THEMES=@WITH_STATIC_THEMES@
|
2018-05-28 15:14:49 +00:00
|
|
|
WITH_LIBR=@WITH_LIBR@
|
2009-04-01 00:28:13 +00:00
|
|
|
|
2021-05-09 17:57:11 +00:00
|
|
|
ifeq ($(USE_RPATH),1)
|
2021-09-07 20:19:15 +00:00
|
|
|
LDFLAGS_RPATH=-Wl,-rpath,"${LIBDIR}"
|
|
|
|
else
|
|
|
|
LDFLAGS_RPATH=
|
2021-05-09 17:57:11 +00:00
|
|
|
endif
|
|
|
|
|
2012-08-13 16:06:24 +00:00
|
|
|
MKPLUGINS=mk/stat.mk mk/sloc.mk
|
2009-08-22 02:03:58 +00:00
|
|
|
|
2021-12-16 22:26:19 +00:00
|
|
|
USERCC=@USERCC@
|
2021-12-17 00:20:45 +00:00
|
|
|
COMPILER0=$(shell echo "${USERCC}" | awk '{print $$1}')
|
|
|
|
COMPILER=$(shell basename ${COMPILER0})
|
2016-06-25 02:26:07 +00:00
|
|
|
DEBUGGER=@DEBUGGER@
|
2009-04-01 00:28:13 +00:00
|
|
|
|
2009-04-20 11:02:04 +00:00
|
|
|
INSTALL_DIR=@INSTALL_DIR@
|
2009-04-20 09:42:05 +00:00
|
|
|
INSTALL_DATA=@INSTALL_DATA@
|
|
|
|
INSTALL_PROGRAM=@INSTALL_PROGRAM@
|
2011-11-27 01:04:26 +00:00
|
|
|
INSTALL_SCRIPT=@INSTALL_SCRIPT@
|
2010-03-12 17:46:11 +00:00
|
|
|
INSTALL_MAN=@INSTALL_MAN@
|
2011-01-22 22:52:37 +00:00
|
|
|
INSTALL_LIB=@INSTALL_LIB@
|
2009-04-20 09:42:05 +00:00
|
|
|
|
2009-09-25 02:04:51 +00:00
|
|
|
VERSION=@VERSION@
|
2020-01-17 11:18:05 +00:00
|
|
|
R2_VERSION=@VERSION@
|
|
|
|
R2_VERSION_MAJOR=@VERSION_MAJOR@
|
|
|
|
R2_VERSION_MINOR=@VERSION_MINOR@
|
|
|
|
R2_VERSION_PATCH=@VERSION_PATCH@
|
|
|
|
R2_VERSION_NUMBER=@VERSION_NUMBER@
|
2011-04-20 11:56:58 +00:00
|
|
|
LIBVERSION=@LIBVERSION@
|
2022-02-01 19:03:26 +00:00
|
|
|
ABIVERSION=$(shell echo @LIBVERSION@ | awk -F . '{print $$1"."$$2}')
|
2011-04-20 11:56:58 +00:00
|
|
|
|
2010-01-15 12:02:54 +00:00
|
|
|
# ./configure --with-ostype=[linux,osx,solaris,windows] # TODO: rename to w32, w64?
|
2010-02-21 19:21:36 +00:00
|
|
|
OSTYPE=@USEROSTYPE@
|
2015-07-13 09:21:21 +00:00
|
|
|
BUILD_OS=@BUILD_OS@
|
2010-01-15 12:02:54 +00:00
|
|
|
HOST_OS=@HOST_OS@
|
2020-07-02 03:58:12 +00:00
|
|
|
ifeq ($(WANT_DYLINK),1)
|
2021-07-07 22:49:52 +00:00
|
|
|
|
|
|
|
# workaround: must be fixed in acr
|
2012-06-01 12:56:46 +00:00
|
|
|
ifeq ($(OSTYPE),qnx)
|
2012-06-01 12:50:24 +00:00
|
|
|
DL_LIBS=
|
2021-07-07 22:49:52 +00:00
|
|
|
else
|
2021-08-27 00:41:09 +00:00
|
|
|
ifeq ($(OSTYPE),windows)
|
|
|
|
else
|
2021-07-07 22:49:52 +00:00
|
|
|
DL_LIBS=@DL_LIBS@
|
2012-06-01 12:50:24 +00:00
|
|
|
endif
|
2021-08-27 00:41:09 +00:00
|
|
|
endif
|
2021-07-07 22:49:52 +00:00
|
|
|
|
2020-07-02 03:58:12 +00:00
|
|
|
else
|
2021-07-07 22:49:52 +00:00
|
|
|
# WANT_DYLINK=0
|
2020-07-02 03:58:12 +00:00
|
|
|
DL_LIBS=
|
|
|
|
endif
|
2009-04-01 00:28:13 +00:00
|
|
|
|
2014-06-24 10:48:29 +00:00
|
|
|
# capstone
|
2021-06-21 15:48:00 +00:00
|
|
|
ifeq ($(WANT_CAPSTONE),1)
|
2014-06-24 10:48:29 +00:00
|
|
|
USE_CAPSTONE=@USE_CAPSTONE@
|
2021-06-21 15:48:00 +00:00
|
|
|
else
|
|
|
|
USE_CAPSTONE=0
|
|
|
|
endif
|
2014-06-24 10:48:29 +00:00
|
|
|
ifeq ($(USE_CAPSTONE),1)
|
|
|
|
CAPSTONE_CFLAGS=@CAPSTONE_CFLAGS@
|
|
|
|
CAPSTONE_LDFLAGS=@CAPSTONE_LDFLAGS@
|
|
|
|
else
|
|
|
|
CAPSTONE_CFLAGS=
|
|
|
|
CAPSTONE_LDFLAGS=
|
|
|
|
endif
|
|
|
|
|
2010-07-16 21:13:34 +00:00
|
|
|
HAVE_LIB_GMP=@HAVE_LIB_GMP@
|
2011-07-13 17:22:38 +00:00
|
|
|
HAVE_LIB_SSL=@HAVE_OPENSSL@
|
2022-12-29 15:57:00 +00:00
|
|
|
WANT_SSL_CRYPTO=@WANT_SSL_CRYPTO@
|
2011-02-23 18:11:39 +00:00
|
|
|
HAVE_LIB_MAGIC=@HAVE_LIB_MAGIC@
|
2011-10-18 16:12:17 +00:00
|
|
|
USE_LIB_MAGIC=@USE_LIB_MAGIC@
|
2018-08-06 13:18:50 +00:00
|
|
|
HAVE_LIB_XXHASH=@HAVE_LIB_XXHASH@
|
|
|
|
USE_LIB_XXHASH=@USE_LIB_XXHASH@
|
2014-01-30 00:45:08 +00:00
|
|
|
USE_LIB_ZIP=@USE_LIB_ZIP@
|
|
|
|
LIBMAGIC=@LIBMAGIC@
|
|
|
|
LIBZIP=@LIBZIP@
|
2018-08-06 13:18:50 +00:00
|
|
|
LIBXXHASH=@LIBXXHASH@
|
2011-07-13 17:22:38 +00:00
|
|
|
|
2022-02-15 09:55:55 +00:00
|
|
|
USE_SYSLZ4=@USE_SYSLZ4@
|
|
|
|
|
2021-05-14 19:34:21 +00:00
|
|
|
ifeq ($(HAVE_LIB_SSL),1)
|
2011-07-13 17:22:38 +00:00
|
|
|
SSL_CFLAGS=@SSL_CFLAGS@
|
|
|
|
SSL_LDFLAGS=@SSL_LDFLAGS@
|
2021-05-14 19:34:21 +00:00
|
|
|
endif
|
2012-08-13 23:48:39 +00:00
|
|
|
|
2018-09-17 10:07:00 +00:00
|
|
|
HAVE_LIBUV=@HAVE_LIBUV@
|
|
|
|
LIBUV_CFLAGS=@LIBUV_CFLAGS@
|
|
|
|
LIBUV_LDFLAGS=@LIBUV_LDFLAGS@
|
|
|
|
|
2021-04-25 00:31:46 +00:00
|
|
|
HAVE_GPERF=@HAVE_GPERF@
|
|
|
|
|
2018-10-12 10:20:18 +00:00
|
|
|
HAVE_PTRACE=@HAVE_PTRACE@
|
|
|
|
USE_PTRACE_WRAP=@USE_PTRACE_WRAP@
|
|
|
|
|
2020-04-29 11:02:02 +00:00
|
|
|
CLOCK_LDFLAGS+=@CLOCK_LDFLAGS@
|
|
|
|
|
2013-04-26 01:15:39 +00:00
|
|
|
# cache compiler flags at configure time #
|
|
|
|
CFLAGS+=@CFLAGS@
|
|
|
|
LDFLAGS+=@LDFLAGS@
|