aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Set install name for installed libraryCarlo Cabrera2022-02-191-0/+1
|
* Set install name in `LIBFLAGS`Carlo Cabrera2022-02-191-1/+0
| | | | | | | | | | My previous PR (#16) deliberately set the install name at install time instead of at build time, since this is the correct time to determine the library's install name. However, if you prefer to do this during build time instead, then there is no need to call `install_name_tool`. We can pass the appropriate flags to the linker instead.
* Remove use of ifeq in Makefile and move use of install_name_tool from install-time to build-timeMattias Andrée2022-02-191-3/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix library install name in `install` target on macOSCarlo Cabrera2022-02-061-0/+3
| | | | | | | | | | | | | | | | | | | | On macOS, libraries have "install names" which the linker records in a binary that links against the library. At runtime, the dynamic loader uses this install name to work out where to find the linked library. Currently, the Makefile passes no information about the install name to the linker, and so the DSO has an install name of `libkeccak.dylib`. This is a problem when you link something against `libkeccak` but install it outside the default linker search path, because the dynamic loader won't be able to find it. This change fixes that by making sure the dynamic loader will always be able to find `libkeccak.dylib` regardless of where it's been installed. We use `LIBMAJOREXT` since this is the typical convention for library install names. For example, the system libc++ has an install name of `libc++.1.dylib`, in the same way that `SONAME` also typically includes the library major version on Linux.
* Add man pages for zero-copy functionsMattias Andrée2021-12-241-1/+4
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Update library version numberMattias Andrée2021-12-241-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add libkeccak_zerocopy_{update,digest} and in libkeccak_generalised_sum_fd (requires man pages)Mattias Andrée2021-12-241-1/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Use inline instead of static inline for non-deprecated functionsMattias Andrée2021-07-301-0/+24
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Improve makefileMattias Andrée2021-03-011-5/+6
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Deprecate libkeccak_{state,hmac}_{unmarshal_skip,marshal_size} and replace with the functions without the _skip or _size suffixMattias Andrée2019-02-121-5/+0
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Update makefile1.2Mattias Andrée2019-02-111-59/+59
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Deprecate typedefsMattias Andrée2019-02-111-1/+3
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Split most .c files into one per function and flatten file hierarchyMattias Andrée2019-02-111-7/+24
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* General API improvementsMattias Andrée2019-02-101-14/+5
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix makefile add add OSCONFIGFILEMattias Andrée2019-02-091-74/+71
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Remove texinfo file (it was truncated anyhow for some reason)Mattias Andrée2019-02-091-27/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix makefile1.1.4Mattias Andrée2017-10-211-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix use of LIBFLAGSMattias Andrée2017-10-181-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Remove unnessary -r flag in make clean1.1.3Mattias Andrée2017-10-151-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Makefile: use "rm -f" to prevent errors upon second cleaningLeo Izen2017-10-151-14/+11
| | | | | | | The coreutil `rm` will by default exit with failure if it is instructed to remove a file that doesn't exist. Using `rm -f` will suppress this behavior, so `rm` will exit with success whether or not the file had existed before invoking `rm -f`.
* Use basic config by default1.1.2Mattias Andrée2017-10-141-0/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix makefileMattias Andrée2017-10-141-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* General improvementsMattias Andrée2017-10-141-325/+177
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Change style and licenseMattias Andrée2017-10-131-9/+4
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* makefile: install man pagesMattias Andrée2017-02-101-12/+84
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* attributes are gcc specificMattias Andrée2015-10-021-1/+3
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* start on info manualMattias Andrée2015-09-141-4/+70
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* update version1.1Mattias Andrée2015-08-311-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* beginning of hmac implementationMattias Andrée2015-07-251-2/+6
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* See issue #1Mattias Andrée2015-03-281-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m0.1Mattias Andrée2014-11-131-6/+6
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-11-131-4/+4
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add install and uninstall rulesMattias Andrée2014-11-121-0/+97
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-11-121-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* something seems to be wrong in libkeccak_f_round (not libkeccak_f_round64), but I have not figured out whatMattias Andrée2014-11-071-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add static library and dep listMattias Andrée2014-11-071-1/+16
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add run-benchmark ruleMattias Andrée2014-11-061-0/+5
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-11-061-2/+5
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* improved optimisationMattias Andrée2014-11-061-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* preliminary optimisationMattias Andrée2014-11-061-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m + benchmark-flagsMattias Andrée2014-11-051-55/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add benchmark programMattias Andrée2014-11-051-1/+13
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* test.c does not need its own directoryMattias Andrée2014-11-051-5/+4
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* isolate optimisation to the libraryMattias Andrée2014-11-051-7/+7
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* prepare check rule for the test reading the license fileMattias Andrée2014-11-051-0/+3
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add check rule to the makefileMattias Andrée2014-11-051-0/+8
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* some preparation for selecting optimisationMattias Andrée2014-11-051-79/+58
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* maybe-initialised warning on -O3 in generalised-specMattias Andrée2014-11-051-1/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-11-051-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* beginning of testMattias Andrée2014-11-051-3/+16
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>