JPeterMugaas
7136489d33
More build imrpvements
...
Moved a few other tests to Makefiles.inc. Other things might need to go there.
Made a test for symlink appropriateness. Windows can NOT handle them the same way Unix-like operating systems do (if at all). This is mostly the same as the Visual C projects.
embed version info into .dll and .exes that are redistributed.
2019-04-23 07:44:00 -04:00
JPeterMugaas
5e6807fd95
Make programs/Makefile use the includes.
2019-04-22 17:38:43 -04:00
JPeterMugaas
773b66547f
Initial commits from diff I submitted earlier
2019-04-22 13:48:59 -04:00
Yann Collet
8d76c8a44a
introduce LZ4_DISTANCE_MAX build macro
...
make it possible to generate LZ4-compressed block
with a controlled maximum offset (necessarily <= 65535).
This could be useful for compatibility with decoders
using a very limited memory budget (<64 KB).
Answer #154
2019-04-11 14:15:33 -07:00
Vincent Torri
0360981f68
Allow installation of lz4 for Windows 10 with MSYS2
2019-03-03 22:06:38 +01:00
Vincent Torri
0314027051
Allow installation of lz4 for Windows (MSYS2 or when cross-compiling)
2018-11-20 21:08:23 +01:00
Lucas Holt
3318d573ba
Add support for MidnightBSD
2018-09-08 14:46:54 -04:00
Yann Collet
d136118ea9
Merge pull request #556 from kou/add-missing-exeext
...
Add missing $(EXT)
2018-09-05 15:55:34 -07:00
Kouhei Sutou
9c457ccb7a
Add missing $(EXT)
2018-08-13 14:17:54 +09:00
fbrosson
2149b1a8f6
Add Haiku as a validated target.
...
lz4 1.8.2 works fine on Haiku and passes all tests.
2018-05-17 16:52:53 +00:00
Nick Terrell
a7cc0b590a
Fix make install
...
* Uninstall didn't remove the pkg-config correctly.
* Fix `mandir`
* Allow overriding either upper- or lower-case location variables, but
always use the lower case variables.
* Add test case that ensures overriding both upper- and lower-case
variables is the same, and that the directory is empty after uninstall.
2018-05-04 13:50:23 -07:00
Yann Collet
ac38ffa9af
updated manuals to v1.8.1
2018-01-13 18:46:13 -08:00
Yann Collet
ee5332438b
minor Makefile fixes
2017-09-06 17:41:44 -07:00
Yann Collet
c4d6884cd8
build: source files sorted in a FS independent manner
...
to be more compatible with reproducible builds.
patch inspired by @bmwiedemann
2017-08-26 12:22:51 -07:00
Yann Collet
c04655bebf
fixed make recurrence from /tests
2017-08-24 17:58:13 -07:00
Yann Collet
82ccdec2fb
minor : added header license
2017-08-24 16:59:47 -07:00
Yann Collet
68040a76ad
fixed man directory installation ( #337 )
...
also : lz4c is now a symlink to lz4
2017-08-23 17:53:45 -07:00
Yann Collet
01cdbfb5fe
lz4c legacy commands are now enabled at runtime based on link/binary name "lz4c"
...
instead of selected at compilation time depending on a macro.
This design makes it possible to have a single binary which supports both modes.
An advantageous side effect is that when doing `make; make install`
no additional binary is created during `make install`
(it used to create `lz4c`, because `make` would only build `lz4`)
2017-08-14 16:56:05 -07:00
Yann Collet
aea7d521ae
better respect GNU standard Makefile conventions
...
supports lowercase directory variables
add an "Installation" section in README.md
added an INSTALL file
2017-08-14 15:13:23 -07:00
Yann Collet
dba4d70a1d
updated man page
2017-08-06 21:04:46 -07:00
Yann Collet
a6fd0f9d0b
-g compilation flag not by default for lz4 cli
2017-06-13 14:45:48 -07:00
Yann Collet
b8575f2d2b
updated Makefile
...
to automatically build manual files with
make all
2017-05-10 13:26:04 -07:00
Przemyslaw Skibinski
c7b14967ab
updated platform.h
2017-02-10 14:53:58 +01: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
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
19c0f21b00
updated Makefile : lz4 no longer recompiled when already up-to-date
2016-12-22 18:02:09 +01:00
Przemyslaw Skibinski
9b4b081c15
"make test" is now compatible with Solaris
2016-12-22 17:18:39 +01:00
Yann Collet
750a50cf67
fix #284 , reported by @beiDei8z : added test cases for path/to/lz4cat
2016-12-07 14:49:04 -08:00
Yann Collet
01ffed25ad
fix : invocation of path/to/unlz4 ( #284 ), reported by @beiDei8z
2016-12-07 14:29:22 -08:00
Takayuki MATSUOKA
544290d587
Add "man" target to Makefile
...
- `make man` makes manpage lz4.1 from lz4.1.md
- It needs `gem` and `ronn` which is same as xxhash.1.md is required.
2016-11-27 23:40:53 +09:00
Yann Collet
f4c74e6fac
library release build compatible with environment variable
2016-11-22 11:52:43 -08:00
Yann Collet
edc132b69f
lz4 release build compatible with PIE
2016-11-22 11:37:51 -08:00
Yann Collet
c0e55ec05f
fixed versionsTest
2016-11-17 14:54:30 -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
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
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
Przemyslaw Skibinski
2302649138
tests\Makefile: added test-platform
2016-11-08 10:43:18 +01:00
Przemyslaw Skibinski
e8a6067e8a
updated lz4cli.c
2016-11-04 14:46:45 +01:00
Przemyslaw Skibinski
e06fcd9039
redefined VOID for Windows/MSYS
2016-11-04 13:32:36 +01:00
Yann Collet
99d11120bd
Merge pull request #249 from inikep/dev
...
Dev
2016-11-03 10:49:33 -07:00
Yann Collet
c66108ceb2
check fread() operation results ( #243 )
2016-11-03 09:27:35 -07:00
Przemyslaw Skibinski
74ba377d72
updated .travis.yml
2016-11-03 15:28:50 +01:00
Przemyslaw Skibinski
e624978ea2
test programs moved to tests/
2016-11-03 15:03:43 +01: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
inikep
58a1616d7b
Merge remote-tracking branch 'refs/remotes/Cyan4973/dev' into dev
...
# Conflicts:
# programs/Makefile
2016-09-03 08:10:16 +02:00