aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
AgeCommit message (Collapse)Author
2019-02-24Use CXXFLAGSGuido Vranken
2019-02-24Makefile: fix cleanGuido Vranken
2019-02-24Merge branch 'master' into fuzzingGuido Vranken
2018-08-22Small changes to FIND_LIBRARIES solution for running testsPascal Buhler
Leave FIND_LIBRARIES empty if CRYPTO_LIBDIR is empty. Propagate CRYPTO_LIBDIR to .sh scripts. CRYPTO_LIBDIR must be an absolute path (for now)
2018-07-31Merge branch 'master' into fuzzingGuido Vranken
2018-07-27Clean up library-finding logicRichard Barnes
2018-07-27GCM passes crypto testsRichard Barnes
2018-07-27Get tests to run (not yet pass)Richard Barnes
2018-07-27Further consolidationRichard Barnes
2018-01-24Add fuzzerGuido Vranken
Signed-off-by: Guido Vranken <guidovranken@gmail.com>
2017-11-13travis: fix mips build to use correct hostPascal Buhler
The host is the OS that the binary will run on, this ensures that CPU_RISC is set to true. Run all test with make runtest.
2017-11-01only link against lib(w)pcap when neededMartin Meszaros
incorporates #366 and adapts to it
2017-10-16Add a runtest-valgrind targetPascal Buhler
Ensure this target is also run in travis-ci
2017-07-26Pass location of words.txt to rtpw invocations.Jonathan Lennox
Fixes builds with srcdir != objdir.
2017-05-14Makefile.in: Remove rtp.h from installationGeir Istad
This is a private test file.
2017-05-11Makefile.in: Add gnu as match for shared lib suffixGeir Istad
This will fix issues as reported in #229 where we fail to complete builds because the libary suffix variable is not set.
2017-03-06Introduction of CUTest FrameworkGeir Istad
This framework is header only which is the main reason it was chosen. More information about it (not that much really!) can be found in [1]. The license is MIT and the copyright notice is included in the header cutest.h so I think putting the file in our repo is OK wrt licensing. Location of new files and structure for unit tests are up for discussion. Note that I am including "srtp.c" in "test_srtp.c" in order to test it's internal (static) functions. Alternatively we could try to test from public API, however that is already done in for example /test/srtp_driver.c which functions more like an integration/module test. The purpose of the unit tests are (for now) testing of lower level functions that are not exposed in the public API. Alternative layout could be to put the unit tests in a /test/ folder in the root directory of the file that is being tested. Alternative frameworks considered: cmocka [2] does not require external tools and have support for mocking. It does however require more than a header to run. This seems like the best bet if we do want to introduce a unit test system that supports more advanced functionality. CTest [3] introduces a dependency on cmake - depending on both make and cmake seems kind of annoying. Google Test [4] requires a C++98 compatible compiler, requiring this for a C library seems excessive. [1] https://github.com/mity/cutest [2] https://cmocka.org/ [3] https://cmake.org/cmake/help/v3.0/manual/ctest.1.html [4] https://github.com/google/googletest
2017-02-21Merge pull request #224 from rsith71/mkiSupportPascal Bühler
Apply MKI Support Patch
2017-02-15Merge branch 'master' into docs_to_markdownGeir Istad
2017-02-08Makefile.in: Rewording comment about documentationGeir Istad
2017-02-02Merge branch 'master' into mkiSupportPascal Bühler
2017-02-01Merge branch 'master' into autotoolsPascal Bühler
2017-01-30ekt is not really supported yet, remove from installPascal Bühler
If in the future it is enabled then remember to not include private header
2017-01-27makefile.in: Fixes shared library generation under Cygwin.Idar Tollefsen
The shared library setup only checked for mingw, not cygwin. Which resulted in a empty shared library variables such as suffix and linker flags. This fixes it by checking both for cygwin and mingw on the same line, resulting in the same setup for both.
2017-01-26configure.in/Makefile.in: Removes -fPIC flag on Windows.Idar Tollefsen
On Windows, adding -fPIC will print a warning for every compilation unit about all code being positioned independent. I.e. the flag is redundant. This removes the unconditional -fPIC flag from CPPFLAGS in Makefile.in and sets it in configure.in instead, except when compiling for *cygwin* or *mingw*.
2017-01-26configure.in/Makefile.in: Always generate and install pkg-config file.Idar Tollefsen
The libsrtp2.pc file should always be generated and installed regardless of whether pkg-config is installed on the build machine. For instance, if a machine is dedicated to building packages, but doesn't have pkg-config installed, that doesn't mean users of the finished package doesn't want the pkg-config file. The libsrtp2.pc file, generated from the libsrtp2.pc.in template, is only dependent on the correct AC_SUBST() calls in configure.in. I.e. pkg-config does not have to be installed to generate it. This removes the entire HAVE_PKG_CONFIG concept and always generates and installs the libsrtp2.pc file.
2017-01-26configure.in/Makefile.in: Whitespace cleanup.Idar Tollefsen
For configure.in, this additionally replaces the few tabs there where with spaces.
2016-12-15Apply MKI Support PatchRyan Hooper
2016-09-14Install cipher.h, auth.h and crypto_types.h.Jonathan Lennox
2016-02-24Don't create a symlink if there is no $(SHAREDLIBVERSION)Sebastian Dröge
Otherwise we create a symlink with the same name as the target, which will create a symlink pointing to itself.
2015-11-26* fix file references without $(srcdir) in Makefile.in, to enable build ↵XIE Tianming
within an independent directory (e.g. mkdir build; ../configure; make)
2015-04-06Double-commit 9968e22ce2b7a1a2c0dde04f2413914416da260a to master.jfigus
2015-04-02Sync latest from masterjfigus
2015-04-02Merge pull request #99 from fancycode/visual_studio_fixesJohn Foley
Thanks for the contribution.
2015-03-27Use own minimal "getopt" function to support compiling using MSVC.Joachim Bauch
2015-03-26Do not install empty /usr/bin/ directoryNikoli
Regression was added in commit cae277e4377acc90ef787d09ed0d82968bbe809a
2015-03-26Do not duplicate shared library when installing, use symlink insteadNikoli
Regression was added in commit cae277e4377acc90ef787d09ed0d82968bbe809a
2015-02-19Merge branch 'master' of https://github.com/cisco/libsrtp into 2_0_0_devjfigus
2014-12-09Fix out-of-source tree builds.Tom Hughes
The pkg-config file is generated in the build directory, so we need to copy it from there.
2014-12-04Remove RNG since there is no longer a public API exposed to use the RNG. The ↵jfigus
RNG in libsrtp wasn't using a particularly good random source anyway. Downstream applications should use OpenSSL or some other random source that's compliant with SP-800-90.
2014-12-01Fix bug from pull request #86 where the pc file was being deleted when doing ↵jfigus
a clean.
2014-12-01Sync latest changes from master.jfigus
2014-11-26Add support for building on/cross-compiling the shared library for Windows ↵Nirbheek Chauhan
and OS X Also ensure that the shared library is versioned, and an implib is created on Windows.
2014-11-20Rename binary target to libsrtp2 since it's not backwards compatible with ↵jfigus
libsrtp 1.x. Header files are now installed into /usr/local/include/srtp2.
2014-11-19Remove obsolete PRNG. Libsrtp shouldn't be used as a general purpose crypto ↵jfigus
library. Libraries such as OpenSSL provide a newer SP800-90 compliant DRBG.
2014-11-14Refactor debug API so app layer doesn't need to include crypto_kernel.h. ↵jfigus
Removed unused hex utils from libsrtp.a and moved them to the app layer.
2014-11-06Makefile cleanup. Remove aes_tables app since libsrtp is not used as a ↵jfigus
general purpose crypto library.
2014-11-04Remove crypto_get_random() since it's been agreed that libsrtp should not be ↵jfigus
used as a general purpose crypto library. The RNG provided by libsrtp is old and not current with the latest standards, such as SP800-90.
2014-11-04Change default option for stdout debugging to disabled to comply with best ↵jfigus
practices for library development. Removed GDOI configure option because it's not used anywhere in the code.
2014-10-31Begin header file refactoring. This is a work-in-progress.jfigus