Yann Collet
b8575f2d2b
updated Makefile
...
to automatically build manual files with
make all
2017-05-10 13:26:04 -07:00
Dmitry V. Levin
883ebdcee0
Export only those symbols that are part of public API
...
Specify -fvisibility=hidden parameter when linking the shared library
using -fPIC, assuming that gcc >= 4 is used.
This change results to unexporting of the following 42 functions:
LZ4F_getErrorCode
LZ4_XXH32
LZ4_XXH32_canonicalFromHash
LZ4_XXH32_copyState
LZ4_XXH32_createState
LZ4_XXH32_digest
LZ4_XXH32_freeState
LZ4_XXH32_hashFromCanonical
LZ4_XXH32_reset
LZ4_XXH32_update
LZ4_XXH64
LZ4_XXH64_canonicalFromHash
LZ4_XXH64_copyState
LZ4_XXH64_createState
LZ4_XXH64_digest
LZ4_XXH64_freeState
LZ4_XXH64_hashFromCanonical
LZ4_XXH64_reset
LZ4_XXH64_update
LZ4_XXH_versionNumber
LZ4_compressHC
LZ4_compressHC2
LZ4_compressHC2_continue
LZ4_compressHC2_limitedOutput
LZ4_compressHC2_limitedOutput_continue
LZ4_compressHC2_limitedOutput_withStateHC
LZ4_compressHC2_withStateHC
LZ4_compressHC_continue
LZ4_compressHC_limitedOutput
LZ4_compressHC_limitedOutput_continue
LZ4_compressHC_limitedOutput_withStateHC
LZ4_compressHC_withStateHC
LZ4_compress_fast_force
LZ4_compress_forceExtDict
LZ4_createHC
LZ4_decompress_safe_forceExtDict
LZ4_freeHC
LZ4_resetStreamStateHC
LZ4_sizeofStreamStateHC
LZ4_slideInputBufferHC
LZ4_uncompress
LZ4_uncompress_unknownOutputSize
2017-03-10 23:35:30 +00:00
Eric Siegerman
eb51b2b8d9
Explicitly create $(DESTDIR)$(LIBDIR)/ at install time
...
This is needed on systems where it isn't the parent of
$(PKGCONFIGDIR), and so doesn't get created implicitly.
2017-02-14 22:12:26 -05:00
Przemyslaw Skibinski
489d1618c9
added "This Makefile is validated for"
2017-01-19 16:28:08 +01:00
Przemyslaw Skibinski
7a73c5c1fe
changed default PREFIX and MANDIR
2016-12-28 11:34:23 +01:00
Przemyslaw Skibinski
e6536faf33
lib\Makefile: fixed INSTALL_DATA
2016-12-27 11:17:35 +01:00
Przemyslaw Skibinski
efaa9b7bc7
Merge remote-tracking branch 'refs/remotes/lz4/dev' into dev
...
# Conflicts:
# lib/Makefile
2016-12-27 10:43:07 +01:00
Przemyslaw Skibinski
b22e2bed5e
BSD: improved "make install"
2016-12-23 10:05:41 +01:00
Przemyslaw Skibinski
ea51ad0cee
Solaris: working "make install"
2016-12-23 00:02:01 +01:00
Yann Collet
70526a11e0
fixed lib/clean
2016-12-21 15:33:53 +01:00
Yann Collet
385cb4f539
minor update Makefile
2016-12-21 13:18:02 +01:00
Yann Collet
f4c74e6fac
library release build compatible with environment variable
2016-11-22 11:52:43 -08:00
Yann Collet
7819d58787
new test case with fPIE
2016-11-22 11:18:07 -08:00
Yann Collet
8b233b228d
added a few dates
2016-11-21 15:51:39 -08:00
Yann Collet
19df3029e2
fixed #272 (compilation fails on gcc 4.4), reported by @totaam
2016-11-18 17:56:56 -08:00
Yann Collet
1abecbc33c
fix 32-bits mode.
...
Large File support for Mac OS-X in 32-bits mode
Fixed potential undefined behavior
Changed makefile for 32-bits mode
2016-11-17 13:02:06 -08:00
Przemyslaw Skibinski
f71340ce1d
DLL dependencies moved to lib/dll/
2016-11-15 11:06:16 +01:00
Yann Collet
5a5ebeec15
clang and g++ tests restricted to native only on Travis CI Ubuntu v12 environment
2016-11-14 08:51:28 -08:00
Przemyslaw Skibinski
063b4d92e1
fixed make install
2016-11-09 16:23:08 +01:00
Przemyslaw Skibinski
773ae50b47
DLL exports only functions defined in liblz4.def
2016-11-09 16:07:28 +01:00
Przemyslaw Skibinski
ca80a7c8f7
create DLL with MinGW/MSYS
2016-11-09 15:19:29 +01:00
Przemyslaw Skibinski
7df658ec1b
removed LZ4_DLL_EXPORT=1 (2)
2016-11-09 12:52:27 +01:00
Przemyslaw Skibinski
d06ab4f415
test powerpc64
2016-11-08 11:16:16 +01:00
Yann Collet
4791cda04a
fixed strict warnings
2016-11-03 17:31:41 -07:00
Yann Collet
258a5e7fa4
updated comments
2016-11-03 17:14:25 -07:00
Yann Collet
52cdb4a5f4
Merge pull request #241 from vapier/dev
...
add a flag to disable static libs
2016-09-23 15:59:39 +02:00
Mike Frysinger
43b631223b
add a flag to disable static libs
2016-09-22 23:59:02 -04:00
Kouhei Sutou
012c66536c
Add LZ4LIB_API
...
It's based on Zstandard's ZSTDLIB_API.
See also: https://github.com/Cyan4973/lz4/issues/216#issuecomment-226245432
Deprecated functions aren't LZ4LIB_API targets. Because we don't need to
export deprecated functions from now.
There are same LZ4LIB_API definitions in each header files instead of
including a common header file because LZ4_DEPRECATED is defined so.
2016-09-23 00:39:45 +09:00
Yann Collet
3b9439ccd0
updated uninstall
2016-09-17 11:59:13 +02:00
Yann Collet
28f98647e3
lz4 version source from lz4.h
2016-09-02 22:04:16 -07:00
Georg Sauthoff
681d5010d5
use gnu c99 to get both c99 and POSIX
...
when compiling with gcc
fixes fileno() implicitly defined on Linx and compile error on Solaris 10
2016-08-27 15:24:50 +02:00
Martin Waschbüsch
7bfbccb972
Add FreeBSD to install targets
...
Add FreeBSD to install targets
2016-05-17 07:47:03 +02:00
Julius Werner
4fcb2e17fb
Remove whitespace from ends of lines
...
I'm trying to import LZ4 code into a project with strict linting
requirements. This will make that easier.
Signed-off-by: Julius Werner <jwerner@chromium.org>
2016-02-12 22:49:52 -08:00
Yann Collet
cd18ed3086
create link to dynamic library without using cp -a
( #147 )
2015-09-01 16:55:55 +01:00
Yann Collet
60119e2585
Makefile : generates *.o for faster processing
2015-08-15 17:21:45 +01:00
Yann Collet
a3c6daba6e
liblz4 : Moved XXH_NAMESPACE to CPPFLAGS
2015-07-02 10:29:24 -08:00
Yann Collet
192ee724a3
Added namespace ability to xxhash
2015-06-27 12:43:28 -08:00
Yann Collet
c04df7e1b5
Changed : static library is no longer compiled with -fPIC by default (this option can still be added on the command line) See #53
2015-06-27 01:30:31 -08:00
Yann Collet
b4ef93a837
Fixed typo
2015-05-06 10:26:59 +01:00
Yann Collet
efbebd2a99
Added : LZ4_compress_destSize()
2015-05-06 02:29:04 +01:00
Yann Collet
2b55752a5c
changed "make install" default install directory to /usr/local
2015-03-15 20:40:38 +01:00
Yann Collet
e1d9b593e1
Fixed : static library (x64 binary)
2015-03-08 12:50:40 +01:00
Yann Collet
32a85fc76d
NetBSD compatibility ( #48 )
2015-03-07 19:30:45 +01:00
Yann Collet
8f4e201a06
Fix : lz4frame.h within uninstaller
2015-01-21 18:03:17 +01:00
Yann Collet
f68eead36c
Added : -pedantic compilation option
2014-12-17 12:32:49 +01:00
Yann Collet
daa320f3f7
New : lz4frame integrated into liblz4 (v1.5.0)
2014-12-13 15:05:46 +01:00
Yann Collet
fc4a6153b0
fixed : pkg version
2014-12-09 09:47:54 +01:00
Yann Collet
65ee6b09c4
Fixed : deprecated function LZ4_slideInputBufferHC()
2014-12-03 19:17:10 +01:00
Yann Collet
d008c87151
New directory structure : library source files into /lib directory
2014-11-30 23:32:12 +01:00