changeset 14101:380b2be7eedb

New module `libposix'. * modules/libposix: New module to facilitate an installable library of posix modules. (Makefile.am): Use lib_LTLIBRARIES to mark libposix.la as installable. (Depends-On): List all the modules found by `posix-modules', except `strdup' which is spurious, and with the addition of `alloca' to satisfy an otherwise undefined LTALLOCA definition; and `progname' to provide a non-extern program_name symbol so that compilation with `-no-undefined' symbols can work.
author Gary V. Vaughan <gary@gnu.org>
date Mon, 11 Oct 2010 16:03:07 +0700
parents 85f15823ff38
children f49fe7e6d028
files ChangeLog modules/libposix
diffstat 2 files changed, 329 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,16 @@
 2010-10-12  Gary V. Vaughan  <gary@gnu.org>
 
+	New module `libposix'.
+	* modules/libposix: New module to facilitate an installable
+	library of posix modules.
+	(Makefile.am): Use lib_LTLIBRARIES to mark libposix.la as
+	installable.
+	(Depends-On): List all the modules found by `posix-modules',
+	except `strdup' which is spurious, and with the addition of
+	`alloca' to satisfy an otherwise undefined LTALLOCA definition;
+	and `progname' to provide a non-extern program_name symbol so that
+	compilation with `-no-undefined' symbols can work.
+
 	iconv_open: reduce not-trivial repetition of file-list
 	* modules/iconv_open (iconv_headers): New make macro to hold list of
 	iconv header files.
new file mode 100644
--- /dev/null
+++ b/modules/libposix
@@ -0,0 +1,318 @@
+Description:
+Wrap up all the posix modules into an installable libposix.la.
+
+Files:
+
+Depends-on:
+_Exit
+accept
+acos
+acosl
+alloca
+alphasort
+arpa_inet
+asin
+asinl
+atan
+atan2
+atanl
+atexit
+atoll
+bind
+btowc
+calloc-posix
+canonicalize-lgpl
+cbrt
+ceil
+ceilf
+ceill
+chown
+close
+connect
+copysign
+cos
+cosh
+cosl
+ctype
+dirent
+dirfd
+dprintf
+dprintf-posix
+dup2
+duplocale
+environ
+erf
+erfc
+errno
+exp
+expl
+extensions
+fabs
+faccessat
+fchdir
+fclose
+fcntl
+fcntl-h
+fdopendir
+fflush
+float
+floor
+floorf
+floorl
+fmod
+fnmatch
+fnmatch-posix
+fopen
+fprintf-posix
+free
+freopen
+frexp
+frexpl
+fseek
+fseeko
+fsync
+ftell
+ftello
+futimens
+getaddrinfo
+getcwd
+getdelim
+getgroups
+gethostname
+getline
+getlogin
+getlogin_r
+getopt-posix
+getpeername
+getsockname
+getsockopt
+getsubopt
+gettimeofday
+glob
+grantpt
+hypot
+iconv
+iconv_open
+iconv_open-utf
+imaxabs
+imaxdiv
+inet_ntop
+inet_pton
+inttypes
+ioctl
+isblank
+isfinite
+isinf
+isnan
+j0
+j1
+jn
+langinfo
+lchown
+ldexp
+ldexpl
+lgamma
+link
+linkat
+listen
+locale
+log
+log10
+log1p
+logb
+logl
+lseek
+lstat
+malloc-posix
+math
+mbrlen
+mbrtowc
+mbsinit
+mbsnrtowcs
+mbsrtowcs
+memchr
+memcmp
+memcpy
+memmove
+memset
+mkdir
+mkdtemp
+mkfifo
+mkfifoat
+mknod
+mkstemp
+mktime
+modf
+nanosleep
+netdb
+netinet_in
+nextafter
+nl_langinfo
+open
+openat
+perror
+poll
+poll-h
+popen
+posix_spawn
+posix_spawn_file_actions_addclose
+posix_spawn_file_actions_adddup2
+posix_spawn_file_actions_addopen
+posix_spawn_file_actions_destroy
+posix_spawn_file_actions_init
+posix_spawnattr_destroy
+posix_spawnattr_getflags
+posix_spawnattr_getpgroup
+posix_spawnattr_getschedparam
+posix_spawnattr_getschedpolicy
+posix_spawnattr_getsigdefault
+posix_spawnattr_getsigmask
+posix_spawnattr_init
+posix_spawnattr_setflags
+posix_spawnattr_setpgroup
+posix_spawnattr_setschedparam
+posix_spawnattr_setschedpolicy
+posix_spawnattr_setsigdefault
+posix_spawnattr_setsigmask
+posix_spawnp
+pow
+pread
+printf-posix
+progname
+ptsname
+pwrite
+raise
+readlink
+readlinkat
+realloc-posix
+recv
+recvfrom
+regex
+remainder
+remove
+rename
+renameat
+rint
+rmdir
+round
+roundf
+roundl
+scandir
+sched
+search
+select
+send
+sendto
+setenv
+setsockopt
+shutdown
+sigaction
+signal
+signbit
+sigpipe
+sigprocmask
+sin
+sinh
+sinl
+sleep
+snprintf
+snprintf-posix
+socket
+spawn
+sprintf-posix
+sqrt
+sqrtl
+stat
+stdarg
+stdbool
+stddef
+stdint
+stdio
+stdlib
+stpcpy
+stpncpy
+strcase
+strcspn
+strdup-posix
+strerror
+string
+strncat
+strndup
+strnlen
+strpbrk
+strptime
+strsignal
+strstr
+strstr-simple
+strtod
+strtoimax
+strtok_r
+strtol
+strtoll
+strtoul
+strtoull
+strtoumax
+symlink
+symlinkat
+sys_select
+sys_socket
+sys_stat
+sys_time
+sys_times
+sys_utsname
+sys_wait
+system-posix
+tan
+tanh
+tanl
+tcgetsid
+termios
+time
+time_r
+times
+tmpfile
+trunc
+truncf
+truncl
+tsearch
+ttyname_r
+tzset
+uname
+unistd
+unlink
+unlockpt
+unsetenv
+utimensat
+vdprintf
+vdprintf-posix
+vfprintf-posix
+vprintf-posix
+vsnprintf
+vsnprintf-posix
+vsprintf-posix
+waitpid
+wchar
+wcrtomb
+wcsnrtombs
+wcsrtombs
+wctob
+wctype
+wcwidth
+write
+y0
+y1
+yn
+
+configure.ac:
+
+Makefile.am:
+lib_LTLIBRARIES = libposix.la
+
+Include:
+
+License:
+LGPL
+
+Maintainer:
+Bruce Korb
+Gary V. Vaughan