mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-15 02:45:44 +00:00
4fc291a465
The build fails with crypto backends other than builtin, the initializers cannot be reached as they're ifdef-ed out. Move hash_init_accel under the right condition and delete the algorithm-specific initializers as they're used only by the hash test and that can simply call hash_init_accel to set the implementation. All the -m flags need to be detected at configure time and the flag used for ifdef (HAVE_CFLAG_m*), not the actual feature defined by compiler as the dispatcher function is not built with the -m flags. The uname check for x86_64 must be dropped so on i386/i586 we can still build accelerated version. Signed-off-by: David Sterba <dsterba@suse.com>
56 lines
1.7 KiB
PHP
56 lines
1.7 KiB
PHP
# Variables set during configure phase:
|
|
# * build environment, paths
|
|
# * features (eg. convert, documentation)
|
|
export
|
|
|
|
CC = @CC@
|
|
LN_S = @LN_S@
|
|
AR = @AR@
|
|
RM = @RM@
|
|
RMDIR = @RMDIR@
|
|
INSTALL = @INSTALL@
|
|
DISABLE_DOCUMENTATION = @DISABLE_DOCUMENTATION@
|
|
DISABLE_BTRFSCONVERT = @DISABLE_BTRFSCONVERT@
|
|
BUILD_PROGRAMS = @BUILD_PROGRAMS@
|
|
BUILD_SHARED_LIBRARIES = @BUILD_SHARED_LIBRARIES@
|
|
BUILD_STATIC_LIBRARIES = @BUILD_STATIC_LIBRARIES@
|
|
BTRFSCONVERT_EXT2 = @BTRFSCONVERT_EXT2@
|
|
BTRFSCONVERT_REISERFS = @BTRFSCONVERT_REISERFS@
|
|
COMPRESSION_LZO = @COMPRESSION_LZO@
|
|
COMPRESSION_ZSTD = @COMPRESSION_ZSTD@
|
|
PYTHON_BINDINGS = @PYTHON_BINDINGS@
|
|
PYTHON = @PYTHON@
|
|
PYTHON_CFLAGS = @PYTHON_CFLAGS@
|
|
CRYPTOPROVIDER_BUILTIN = @CRYPTOPROVIDER_BUILTIN@
|
|
CRYPTO_CFLAGS = @GCRYPT_CFLAGS@ @SODIUM_CFLAGS@ @KCAPI_CFLAGS@
|
|
|
|
HAVE_CFLAG_msse2 = @HAVE_CFLAG_msse2@
|
|
HAVE_CFLAG_msse41 = @HAVE_CFLAG_msse41@
|
|
HAVE_CFLAG_mavx2 = @HAVE_CFLAG_mavx2@
|
|
HAVE_CFLAG_msha = @HAVE_CFLAG_msha@
|
|
|
|
SUBST_CFLAGS = @CFLAGS@
|
|
SUBST_LDFLAGS = @LDFLAGS@
|
|
|
|
LIBS_BASE = @UUID_LIBS@ @BLKID_LIBS@ @LIBUDEV_LIBS@ -L. -pthread
|
|
LIBS_COMP = @ZLIB_LIBS@ @LZO2_LIBS@ @ZSTD_LIBS@
|
|
LIBS_PYTHON = @PYTHON_LIBS@
|
|
LIBS_CRYPTO = @GCRYPT_LIBS@ @SODIUM_LIBS@ @KCAPI_LIBS@
|
|
STATIC_LIBS_BASE = @UUID_LIBS_STATIC@ @BLKID_LIBS_STATIC@ -L. -pthread
|
|
STATIC_LIBS_COMP = @ZLIB_LIBS_STATIC@ @LZO2_LIBS_STATIC@ @ZSTD_LIBS_STATIC@
|
|
|
|
prefix ?= @prefix@
|
|
exec_prefix = @exec_prefix@
|
|
bindir = @bindir@
|
|
libdir ?= @libdir@
|
|
incdir = @includedir@
|
|
udevdir = @UDEVDIR@
|
|
udevruledir = ${udevdir}/rules.d
|
|
pkgconfigdir = @pkgconfigdir@
|
|
|
|
# external libs required by various binaries; for btrfs-foo,
|
|
# specify btrfs_foo_libs = <list of libs>; see $($(subst...)) rules in Makefile
|
|
btrfs_convert_libs = @EXT2FS_LIBS@ @COM_ERR_LIBS@ @REISERFS_LIBS@
|
|
|
|
MAKEFILE_INC_INCLUDED = yes
|