aboutsummaryrefslogtreecommitdiff
path: root/src/lib/Makefile.in
Commit message (Collapse)AuthorAge
* Fixed msys2 build warnings and re-activated CI Mingw64 build.fix/windows-msys2Toni Uhlig2022-04-14
| | | | | | | * Removed Visual Studio leftovers. Maintaining an autotools project with VS integration requires some additional overhead. Signed-off-by: Toni Uhlig <matzeton@googlemail.com> Signed-off-by: lns <matzeton@googlemail.com>
* Drop support for non-gcrypt builds. (#1469)Toni2022-03-02
| | | | | | | | * As there is now a builtin, lightweight libgcrypt there is no need to disable tls-clho decryption. * It is still possible to use a host libgcrypt with `--with-local-libgcrypt'. Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* build: respect environment options more (#1392)Sam James2022-01-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * build: update m4/ax_pthread.m4 from serial 23 -> serial 31 Update ax_pthread.m4 to the latest version from the autoconf-archive project. Signed-off-by: Sam James <sam@gentoo.org> * build: properly detect AR, CC, RANLIB It's necessary to be able to override choice of AR/CC/RANLIB and other toolchain variables/tools for cross-compilation, testing with other toolchains, and to ensure the compiler chosen by the user is actually used for the build. Previously, GNU_PREFIX was kind-of used for this but this isn't a standard variable (at all) and it wasn't applied consistently anyway. We now use the standard autoconf mechanisms for finding these tools. (RANLIB is already covered by LT_INIT.) Signed-off-by: Sam James <sam@gentoo.org> * build: use $(MAKE) This ensures that parallel make works correctly, as otherwise, a fresh make job will be started without the jobserver fd, and hence not know about its parent, forcing -j1. * build: respect CPPFLAGS, LDFLAGS - CPPFLAGS is for the C preprocessor (usually for setting defines) - LDFLAGS should be placed before objects for certain flags to work (e.g. -Wl,--as-needed) Signed-off-by: Sam James <sam@gentoo.org> Co-authored-by: Luca Deri <lucaderi@users.noreply.github.com>
* Compile everything with "-W -Wall -Wno-unused-parameter" flags (#1276)Ivan Nardi2021-08-20
| | | | | | | | | | | | | | | | Fix all the warnings. Getting rid of "-Wno-unused-parameter" is quite complex because some parameters usage depends on compilation variable (i.e. `--enable-debug-messages`). The "-Werror" flag has been added only in Travis builds to avoid breaking the builds to users using uncommon/untested OS/compiler/enviroment. Tested on: * x86_64; Ubuntu 20.04; gcc 7,8,9,10,11; clang 7,8,9,10,11,12 * x86_64; CentOS 7.7; gcc 4.8.5 (with "--disable-gcrypt" flag) * Raspberry 4; Debian 10.10; gcc 8.3.0
* Improved libm check via Autoconf. (#1263)Toni2021-07-28
| | | | | * libm will now be part of @ADDITIONAL_LIBS@ (if required) Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Added --with-mipsel for building nDPI on mipsel devicesLuca Deri2020-12-09
|
* Restored Ubuntu/Debian packagingLuca Deri2020-11-03
|
* Merge pull request #1018 from lnslbrty/fix/make-distLuca Deri2020-09-20
|\ | | | | Fixed broken `make dist' and added CI check.
| * Fixed broken `make dist' and added CI check.Toni Uhlig2020-09-19
| | | | | | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* | Fixed mingw build w/o examples/tests/fuzzer.Toni Uhlig2020-09-18
|/ | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Fixes compilation issues introduced by https://github.com/ntop/nDPI/pull/989Luca Deri2020-08-22
|
* Make clean enhancementLuca Deri2020-07-01
|
* Add the --with-llvm-sanitizer flagemanuele-f2020-02-13
| | | | | | | To enable the leaks detector, set the ASAN_OPTIONS=detect_leaks=1 environment variable, e.g: ASAN_OPTIONS=detect_leaks=1 example/ndpiReader -i test.pcap
* PCRE fixesLuca2020-02-02
|
* Add LDFLAGS for Win32.Zied Aouini2019-12-16
|
* Added ability to defien custom protocolsLuca Deri2019-10-29
|
* Simplified makefileLuca Deri2019-07-23
| | | | Fixed warning
* Add SPLT and BD classification to the lib.Ravi Kerur2019-07-23
| | | | Signed-off-by: Ravi Kerur <ravi.kerur@viasat.com>
* Remove Werroremanuele-f2019-07-15
|
* Solve remaining warningsStuart Reilly2019-07-12
|
* Add compiler warnings and fix themStuart Reilly2019-07-12
|
* Makefile: ln -F not supported in alpinehoermto2019-06-28
| | | removed -F option from makefile for alpine support. Actually not sure the relevance of -F flag for other OS
* Reworked SSL cipher handlingLuca Deri2019-06-16
|
* Tests result fixLuca2019-04-05
|\ | | | | | | Merge branch 'dev' of https://github.com/ntop/nDPI into dev
| * Use relative path for library linkchiehminw2019-03-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | relative link path can preserve link relation after packaging and doplying to new machine ex: $ make DESTDIR=/tmp/ndpi install $ tar czf ndpi.tar.gz /tmp/ndpi $ tar xf ndpi.tar.gz -C /lib Orignal install script will caused the /lib/libndpi.so.2 links to /tmp/ndpi/libndpi.so.2.9.0 which is not intended Signed-off-by: chiehminw <chiehminw@synology.com>
* | Fixed false positive with FTP_DATA protocolLuca2019-04-05
|/ | | | | Added coherency in application protol guess by exploiting the host server name Various protocol optimizations
* Propagate prefix settings to MakefilesPramode2019-01-20
| | | | | A "make install" was failing because the --prefix flag setting was not being propagated to the Makefiles.
* Merge pull request #639 from madpilot78/Create_libndpi.so.MAJOR_linkLuca Deri2018-12-10
|\ | | | | Also create the libndpi.so.2 link.
| * Also create the libndpi.so.2 link.Guido Falsi2018-11-15
| | | | | | | | This is created bydefault by all build tools for libraries and required in certain cases. FreeBSD linker requires it when using SONAME.
* | build: cleanup .so.X.X.X if present.Vitaliy Ivanov2018-11-28
| | | | | | | | Signed-off-by: Vitaliy Ivanov <vitaliyi@interfacemasters.com>
* | build: correct example dpdk linking with pcap.Vitaliy Ivanov2018-11-28
| | | | | | | | | | | | | | - take libpcap from configure information. - clean up distclean. Signed-off-by: Vitaliy Ivanov <vitaliyi@interfacemasters.com>
* | removed -r not supported on all systemsAlfredo Cardigliano2018-11-19
| |
* | rpm packageAlfredo Cardigliano2018-11-19
|/
* The OS variable was not being populated by default.Guido Falsi2018-10-29
|
* Try to fix build on Mac.Guido Falsi2018-10-29
|
* Add command line options to correctly populate the shared object SONAME ↵Guido Falsi2018-10-29
| | | | property.
* Add -g flagemanuele-f2018-10-11
|
* fix remakeroot2018-10-02
|
* Fixes #601Luca2018-09-11
|
* Better clang handlingLuca2018-08-30
|
* Cleaned up makefileLuca2018-08-30
| | | | Used clang instead of gcc on MacOS
* Added target for shared liubrary creationLuca2018-08-25
Added target for install Fixes #593