mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-08 17:22:05 +03:00
Rename module sys_random to sys_random-h.
* modules/sys_random-h: Renamed from modules/sys_random. * modules/sys_random-h-tests: Renamed from modules/sys_random-tests. * modules/sys_random-h-c++-tests: Renamed from modules/sys_random-c++-tests. * tests/test-sys_random-h.c: Renamed from tests/test-sys_random.c. * tests/test-sys_random-h-c++.cc: Renamed from tests/test-sys_random-c++.cc. * doc/glibc-headers/sys_random.texi: Update. * modules/* (Depends-on): Update. * modules/sys_random: New file.
This commit is contained in:
52
modules/sys_random-h
Normal file
52
modules/sys_random-h
Normal file
@@ -0,0 +1,52 @@
|
||||
Description:
|
||||
A GNU-like <sys/random.h>.
|
||||
|
||||
Files:
|
||||
lib/sys_random.in.h
|
||||
m4/sys_random_h.m4
|
||||
|
||||
Depends-on:
|
||||
gen-header
|
||||
include_next
|
||||
snippet/arg-nonnull
|
||||
snippet/c++defs
|
||||
snippet/warn-on-use
|
||||
|
||||
configure.ac:
|
||||
gl_SYS_RANDOM_H
|
||||
gl_SYS_RANDOM_H_REQUIRE_DEFAULTS
|
||||
AC_PROG_MKDIR_P
|
||||
|
||||
Makefile.am:
|
||||
BUILT_SOURCES += sys/random.h
|
||||
|
||||
# We need the following in order to create <sys/random.h> when the system
|
||||
# doesn't have one.
|
||||
sys/random.h: sys_random.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
|
||||
$(AM_V_GEN)$(MKDIR_P) '%reldir%/sys'
|
||||
$(AM_V_at)$(SED_HEADER_STDOUT) \
|
||||
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
|
||||
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
|
||||
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
|
||||
-e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
|
||||
-e 's|@''NEXT_SYS_RANDOM_H''@|$(NEXT_SYS_RANDOM_H)|g' \
|
||||
-e 's|@''HAVE_SYS_RANDOM_H''@|$(HAVE_SYS_RANDOM_H)|g' \
|
||||
-e 's/@''GNULIB_GETRANDOM''@/$(GNULIB_GETRANDOM)/g' \
|
||||
-e 's/@''HAVE_GETRANDOM''@/$(HAVE_GETRANDOM)/g' \
|
||||
-e 's/@''REPLACE_GETRANDOM''@/$(REPLACE_GETRANDOM)/g' \
|
||||
-e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
|
||||
-e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
|
||||
-e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
|
||||
$(srcdir)/sys_random.in.h > $@-t
|
||||
$(AM_V_at)mv $@-t $@
|
||||
MOSTLYCLEANFILES += sys/random.h sys/random.h-t
|
||||
MOSTLYCLEANDIRS += sys
|
||||
|
||||
Include:
|
||||
<sys/random.h>
|
||||
|
||||
License:
|
||||
LGPLv2+
|
||||
|
||||
Maintainer:
|
||||
all
|
Reference in New Issue
Block a user