diff options
| author | Kyle Evans <kevans@FreeBSD.org> | 2025-10-04 00:52:36 +0000 |
|---|---|---|
| committer | Kyle Evans <kevans@FreeBSD.org> | 2025-10-04 00:53:28 +0000 |
| commit | bbef1c72b4873b657fdb0466b48b15d1d4f0a731 (patch) | |
| tree | 2ca2941566c31292a81071246d39ace6c608c924 /libexec/flua/libhash | |
| parent | d4c973fa148544a0b949ceb1efb6c68096f02baf (diff) | |
Diffstat (limited to 'libexec/flua/libhash')
| -rw-r--r-- | libexec/flua/libhash/Makefile | 5 | ||||
| -rw-r--r-- | libexec/flua/libhash/Makefile.inc | 3 | ||||
| -rw-r--r-- | libexec/flua/libhash/lhash.c | 4 |
3 files changed, 4 insertions, 8 deletions
diff --git a/libexec/flua/libhash/Makefile b/libexec/flua/libhash/Makefile index 9cbd6f15acae..b7c8d7ee9948 100644 --- a/libexec/flua/libhash/Makefile +++ b/libexec/flua/libhash/Makefile @@ -1,6 +1,9 @@ SHLIB_NAME= hash.so +SRCS+= lhash.c + +LIBADD+= md + MAN= hash.3lua -.include "Makefile.inc" .include <bsd.lib.mk> diff --git a/libexec/flua/libhash/Makefile.inc b/libexec/flua/libhash/Makefile.inc deleted file mode 100644 index d112dfe7df33..000000000000 --- a/libexec/flua/libhash/Makefile.inc +++ /dev/null @@ -1,3 +0,0 @@ -.PATH: ${.PARSEDIR} -SRCS+= lhash.c -LIBADD+= md diff --git a/libexec/flua/libhash/lhash.c b/libexec/flua/libhash/lhash.c index 7127ddc1d530..4587961fe8a0 100644 --- a/libexec/flua/libhash/lhash.c +++ b/libexec/flua/libhash/lhash.c @@ -11,8 +11,6 @@ #include <sha256.h> #include <string.h> -#include "bootstrap.h" - #define SHA256_META "SHA256 meta table" #define SHA256_DIGEST_LEN 32 @@ -177,5 +175,3 @@ luaopen_hash(lua_State *L) return 1; } - -FLUA_MODULE(hash); |
