File: mkc_imp.f_arc4random.mk

package info (click to toggle)
mk-configure 0.37.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 4,112 kB
  • sloc: ansic: 5,441; makefile: 1,412; sh: 1,086; cpp: 200; perl: 101; yacc: 85; lex: 21
file content (19 lines) | stat: -rw-r--r-- 648 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Copyright (c) 2020 by Aleksey Cheusov
#
# See LICENSE file in the distribution.
############################################################
.ifndef _MKC_IMP.F_ARC4RANDOM_MK
_MKC_IMP.F_ARC4RANDOM_MK := 1

MKC_CHECK_FUNCS0   +=	arc4random:stdlib.h arc4random_stir:stdlib.h
MKC_CHECK_FUNCS1   +=	arc4random_uniform:stdlib.h
MKC_CHECK_FUNCS2   +=	arc4random_buf:stdlib.h arc4random_addrandom:stdlib.h

MKC_REQUIRE_FUNCLIBS +=	arc4random:bsd arc4random_buf:bsd arc4random_uniform:bsd
#MKC_REQUIRE_FUNCLIBS +=	arc4random_stir:bsd arc4random_addrandom:bsd

.include <mkc.conf.mk>

CPPFLAGS +=	-D_MKC_CHECK_ARC4RANDOM

.endif # _MKC_IMP.F_ARC4RANDOM_MK