2013-11-26 22:53:44 +00:00
|
|
|
## DO NOT EDIT! GENERATED AUTOMATICALLY!
|
|
|
|
## Process this file with automake to produce Makefile.in.
|
|
|
|
# Copyright (C) 2004-2007 Free Software Foundation, Inc.
|
|
|
|
#
|
|
|
|
# This file is free software, distributed under the terms of the GNU
|
|
|
|
# General Public License. As a special exception to the GNU General
|
|
|
|
# Public License, this file may be distributed as part of a program
|
|
|
|
# that contains a configuration script generated by Autoconf, under
|
|
|
|
# the same distribution terms as the rest of that program.
|
|
|
|
#
|
|
|
|
# Generated by gnulib-tool.
|
2013-11-26 22:55:28 +00:00
|
|
|
# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=gl --m4-base=gl/m4 --doc-base=doc --aux-dir=build-aux --no-libtool --macro-prefix=gl base64 dirname floorf fsusage getaddrinfo gethostname getloadavg getopt gettext mountlist regex vasprintf vsnprintf
|
2013-11-26 22:53:44 +00:00
|
|
|
|
|
|
|
AUTOMAKE_OPTIONS = 1.5 gnits
|
|
|
|
|
|
|
|
noinst_HEADERS =
|
|
|
|
noinst_LIBRARIES =
|
|
|
|
noinst_LTLIBRARIES =
|
|
|
|
EXTRA_DIST =
|
|
|
|
BUILT_SOURCES =
|
|
|
|
SUFFIXES =
|
|
|
|
MOSTLYCLEANFILES = core *.stackdump
|
|
|
|
MOSTLYCLEANDIRS =
|
|
|
|
CLEANFILES =
|
|
|
|
DISTCLEANFILES =
|
|
|
|
MAINTAINERCLEANFILES =
|
|
|
|
|
|
|
|
AM_CPPFLAGS =
|
|
|
|
|
|
|
|
noinst_LIBRARIES += libgnu.a
|
|
|
|
|
|
|
|
libgnu_a_SOURCES =
|
|
|
|
libgnu_a_LIBADD = $(gl_LIBOBJS)
|
|
|
|
libgnu_a_DEPENDENCIES = $(gl_LIBOBJS)
|
|
|
|
EXTRA_libgnu_a_SOURCES =
|
|
|
|
|
2013-11-26 22:55:28 +00:00
|
|
|
## begin gnulib module absolute-header
|
|
|
|
|
|
|
|
# Use this preprocessor expression to decide whether #include_next works.
|
|
|
|
# Do not rely on a 'configure'-time test for this, since the expression
|
|
|
|
# might appear in an installed header, which is used by some other compiler.
|
|
|
|
HAVE_INCLUDE_NEXT = (__GNUC__ || 60000000 <= __DECC_VER)
|
|
|
|
|
|
|
|
## end gnulib module absolute-header
|
|
|
|
|
2013-11-26 22:53:44 +00:00
|
|
|
## begin gnulib module alloca
|
|
|
|
|
|
|
|
|
|
|
|
EXTRA_DIST += alloca.c
|
|
|
|
|
|
|
|
EXTRA_libgnu_a_SOURCES += alloca.c
|
|
|
|
|
|
|
|
libgnu_a_LIBADD += @ALLOCA@
|
|
|
|
libgnu_a_DEPENDENCIES += @ALLOCA@
|
|
|
|
## end gnulib module alloca
|
|
|
|
|
|
|
|
## begin gnulib module alloca-opt
|
|
|
|
|
|
|
|
BUILT_SOURCES += $(ALLOCA_H)
|
|
|
|
|
|
|
|
# We need the following in order to create <alloca.h> when the system
|
|
|
|
# doesn't have one that works with the given compiler.
|
2013-11-26 22:55:28 +00:00
|
|
|
alloca.h: alloca.in.h
|
2013-11-26 22:53:44 +00:00
|
|
|
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
|
2013-11-26 22:55:28 +00:00
|
|
|
cat $(srcdir)/alloca.in.h; \
|
2013-11-26 22:53:44 +00:00
|
|
|
} > $@-t
|
|
|
|
mv -f $@-t $@
|
|
|
|
MOSTLYCLEANFILES += alloca.h alloca.h-t
|
|
|
|
|
2013-11-26 22:55:28 +00:00
|
|
|
EXTRA_DIST += alloca.in.h
|
2013-11-26 22:53:44 +00:00
|
|
|
|
|
|
|
## end gnulib module alloca-opt
|
|
|
|
|
|
|
|
## begin gnulib module arpa_inet
|
|
|
|
|
|
|
|
BUILT_SOURCES += $(ARPA_INET_H)
|
|
|
|
|
|
|
|
# We need the following in order to create <arpa/inet.h> when the system
|
|
|
|
# doesn't have one.
|
|
|
|
arpa/inet.h:
|
2013-11-26 22:55:28 +00:00
|
|
|
@MKDIR_P@ arpa
|
2013-11-26 22:53:44 +00:00
|
|
|
rm -f $@-t $@
|
|
|
|
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
|
|
|
|
echo '#include <sys/socket.h>'; \
|
|
|
|
} > $@-t
|
|
|
|
mv $@-t $@
|
|
|
|
MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t
|
|
|
|
MOSTLYCLEANDIRS += arpa
|
|
|
|
|
|
|
|
## end gnulib module arpa_inet
|
|
|
|
|
2013-11-26 22:55:28 +00:00
|
|
|
## begin gnulib module base64
|
|
|
|
|
|
|
|
libgnu_a_SOURCES += base64.h base64.c
|
|
|
|
|
|
|
|
## end gnulib module base64
|
|
|
|
|
2013-11-26 22:53:44 +00:00
|
|
|
## begin gnulib module c-strtod
|
|
|
|
|
|
|
|
|
|
|
|
EXTRA_DIST += c-strtod.c c-strtod.h
|
|
|
|
|
|
|
|
EXTRA_libgnu_a_SOURCES += c-strtod.c
|
|
|
|
|
|
|
|
## end gnulib module c-strtod
|
|
|
|
|
|
|
|
## begin gnulib module cloexec
|
|
|
|
|
|
|
|
|
|
|
|
EXTRA_DIST += cloexec.c cloexec.h
|
|
|
|
|
|
|
|
EXTRA_libgnu_a_SOURCES += cloexec.c
|
|
|
|
|
|
|
|
## end gnulib module cloexec
|
|
|
|
|
2013-11-26 22:55:28 +00:00
|
|
|
## begin gnulib module configmake
|
|
|
|
|
|
|
|
# Retrieve values of the variables through 'configure' followed by
|
|
|
|
# 'make', not directly through 'configure', so that a user who
|
|
|
|
# sets some of these variables consistently on the 'make' command
|
|
|
|
# line gets correct results.
|
|
|
|
#
|
|
|
|
# One advantage of this approach, compared to the classical
|
|
|
|
# approach of adding -DLIBDIR=\"$(libdir)\" etc. to AM_CPPFLAGS,
|
|
|
|
# is that it protects against the use of undefined variables.
|
|
|
|
# If, say, $(libdir) is not set in the Makefile, LIBDIR is not
|
|
|
|
# defined by this module, and code using LIBDIR gives a
|
|
|
|
# compilation error.
|
|
|
|
#
|
|
|
|
# Another advantage is that 'make' output is shorter.
|
|
|
|
#
|
|
|
|
# Listed in the same order as the GNU makefile conventions.
|
|
|
|
# The Automake-defined pkg* macros are appended, in the order
|
|
|
|
# listed in the Automake 1.10a+ documentation.
|
|
|
|
configmake.h: Makefile
|
|
|
|
rm -f $@-t $@
|
|
|
|
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
|
|
|
|
echo '#define PREFIX "$(prefix)"'; \
|
|
|
|
echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
|
|
|
|
echo '#define BINDIR "$(bindir)"'; \
|
|
|
|
echo '#define SBINDIR "$(sbindir)"'; \
|
|
|
|
echo '#define LIBEXECDIR "$(libexecdir)"'; \
|
|
|
|
echo '#define DATAROOTDIR "$(datarootdir)"'; \
|
|
|
|
echo '#define DATADIR "$(datadir)"'; \
|
|
|
|
echo '#define SYSCONFDIR "$(sysconfdir)"'; \
|
|
|
|
echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
|
|
|
|
echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
|
|
|
|
echo '#define INCLUDEDIR "$(includedir)"'; \
|
|
|
|
echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
|
|
|
|
echo '#define DOCDIR "$(docdir)"'; \
|
|
|
|
echo '#define INFODIR "$(infodir)"'; \
|
|
|
|
echo '#define HTMLDIR "$(htmldir)"'; \
|
|
|
|
echo '#define DVIDIR "$(dvidir)"'; \
|
|
|
|
echo '#define PDFDIR "$(pdfdir)"'; \
|
|
|
|
echo '#define PSDIR "$(psdir)"'; \
|
|
|
|
echo '#define LIBDIR "$(libdir)"'; \
|
|
|
|
echo '#define LISPDIR "$(lispdir)"'; \
|
|
|
|
echo '#define LOCALEDIR "$(localedir)"'; \
|
|
|
|
echo '#define MANDIR "$(mandir)"'; \
|
|
|
|
echo '#define MANEXT "$(manext)"'; \
|
|
|
|
echo '#define PKGDATADIR "$(pkgdatadir)"'; \
|
|
|
|
echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
|
|
|
|
echo '#define PKGLIBDIR "$(pkglibdir)"'; \
|
|
|
|
echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
|
|
|
|
} | sed '/""/d' > $@-t
|
|
|
|
mv $@-t $@
|
|
|
|
BUILT_SOURCES += configmake.h
|
|
|
|
CLEANFILES += configmake.h configmake.h-t
|
|
|
|
|
|
|
|
## end gnulib module configmake
|
|
|
|
|
2013-11-26 22:53:44 +00:00
|
|
|
## begin gnulib module dirname
|
|
|
|
|
|
|
|
|
|
|
|
EXTRA_DIST += basename.c dirname.c dirname.h stripslash.c
|
|
|
|
|
|
|
|
EXTRA_libgnu_a_SOURCES += basename.c dirname.c stripslash.c
|
|
|
|
|
|
|
|
## end gnulib module dirname
|
|
|
|
|
|
|
|
## begin gnulib module error
|
|
|
|
|
|
|
|
|
|
|
|
EXTRA_DIST += error.c error.h
|
|
|
|
|
|
|
|
EXTRA_libgnu_a_SOURCES += error.c
|
|
|
|
|
|
|
|
## end gnulib module error
|
|
|
|
|
|
|
|
## begin gnulib module exitfail
|
|
|
|
|
|
|
|
|
|
|
|
EXTRA_DIST += exitfail.c exitfail.h
|
|
|
|
|
|
|
|
EXTRA_libgnu_a_SOURCES += exitfail.c
|
|
|
|
|
|
|
|
## end gnulib module exitfail
|
|
|
|
|
|
|
|
## begin gnulib module fcntl-safer
|
|
|
|
|
|
|
|
|
|
|
|
EXTRA_DIST += creat-safer.c fcntl--.h fcntl-safer.h open-safer.c
|
|
|
|
|
|
|
|
EXTRA_libgnu_a_SOURCES += creat-safer.c open-safer.c
|
|
|
|
|
|
|
|
## end gnulib module fcntl-safer
|
|
|
|
|
2013-11-26 22:55:28 +00:00
|
|
|
## begin gnulib module float
|
|
|
|
|
|
|
|
BUILT_SOURCES += $(FLOAT_H)
|
|
|
|
|
|
|
|
# We need the following in order to create <float.h> when the system
|
|
|
|
# doesn't have one that works with the given compiler.
|
|
|
|
float.h: float.in.h
|
|
|
|
rm -f $@-t $@
|
|
|
|
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
|
|
|
|
sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
|
|
|
|
-e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
|
|
|
|
< $(srcdir)/float.in.h; \
|
|
|
|
} > $@-t
|
|
|
|
mv $@-t $@
|
|
|
|
MOSTLYCLEANFILES += float.h float.h-t
|
|
|
|
|
|
|
|
EXTRA_DIST += float.in.h
|
|
|
|
|
|
|
|
## end gnulib module float
|
|
|
|
|
|
|
|
## begin gnulib module floorf
|
|
|
|
|
|
|
|
|
|
|
|
EXTRA_DIST += floor.c floorf.c
|
|
|
|
|
|
|
|
EXTRA_libgnu_a_SOURCES += floor.c floorf.c
|
|
|
|
|
|
|
|
## end gnulib module floorf
|
|
|
|
|
2013-11-26 22:53:44 +00:00
|
|
|
## begin gnulib module fsusage
|
|
|
|
|
|
|
|
|
|
|
|
EXTRA_DIST += fsusage.c fsusage.h
|
|
|
|
|
|
|
|
EXTRA_libgnu_a_SOURCES += fsusage.c
|
|
|
|
|
|
|
|
## end gnulib module fsusage
|
|
|
|
|
|
|
|
## begin gnulib module full-read
|
|
|
|
|
|
|
|
libgnu_a_SOURCES += full-read.h full-read.c
|
|
|
|
|
|
|
|
## end gnulib module full-read
|
|
|
|
|
|
|
|
## begin gnulib module full-write
|
|
|
|
|
|
|
|
libgnu_a_SOURCES += full-write.h full-write.c
|
|
|
|
|
|
|
|
## end gnulib module full-write
|
|
|
|
|
|
|
|
## begin gnulib module getaddrinfo
|
|
|
|
|
|
|
|
|
|
|
|
EXTRA_DIST += gai_strerror.c getaddrinfo.c getaddrinfo.h
|
|
|
|
|
|
|
|
EXTRA_libgnu_a_SOURCES += gai_strerror.c getaddrinfo.c
|
|
|
|
|
|
|
|
## end gnulib module getaddrinfo
|
|
|
|
|
|
|
|
## begin gnulib module gethostname
|
|
|
|
|
|
|
|
|
|
|
|
EXTRA_DIST += gethostname.c
|
|
|
|
|
|
|
|
EXTRA_libgnu_a_SOURCES += gethostname.c
|
|
|
|
|
|
|
|
## end gnulib module gethostname
|
|
|
|
|
|
|
|
## begin gnulib module getloadavg
|
|
|
|
|
|
|
|
|
|
|
|
EXTRA_DIST += getloadavg.c
|
|
|
|
|
|
|
|
EXTRA_libgnu_a_SOURCES += getloadavg.c
|
|
|
|
|
|
|
|
## end gnulib module getloadavg
|
|
|
|
|
|
|
|
## begin gnulib module getopt
|
|
|
|
|
|
|
|
BUILT_SOURCES += $(GETOPT_H)
|
|
|
|
|
|
|
|
# We need the following in order to create <getopt.h> when the system
|
|
|
|
# doesn't have one that works with the given compiler.
|
2013-11-26 22:55:28 +00:00
|
|
|
getopt.h: getopt.in.h
|
2013-11-26 22:53:44 +00:00
|
|
|
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
|
2013-11-26 22:55:28 +00:00
|
|
|
cat $(srcdir)/getopt.in.h; \
|
2013-11-26 22:53:44 +00:00
|
|
|
} > $@-t
|
|
|
|
mv -f $@-t $@
|
|
|
|
MOSTLYCLEANFILES += getopt.h getopt.h-t
|
|
|
|
|
2013-11-26 22:55:28 +00:00
|
|
|
EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
|
2013-11-26 22:53:44 +00:00
|
|
|
|
|
|
|
EXTRA_libgnu_a_SOURCES += getopt.c getopt1.c
|
|
|
|
|
|
|
|
## end gnulib module getopt
|
|
|
|
|
|
|
|
## begin gnulib module gettext
|
|
|
|
|
|
|
|
# This is for those projects which use "gettextize --intl" to put a source-code
|
|
|
|
# copy of libintl into their package. In such projects, every Makefile.am needs
|
|
|
|
# -I$(top_builddir)/intl, so that <libintl.h> can be found in this directory.
|
|
|
|
# For the Makefile.ams in other directories it is the maintainer's
|
|
|
|
# responsibility; for the one from gnulib we do it here.
|
|
|
|
# This option has no effect when the user disables NLS (because then the intl
|
|
|
|
# directory contains no libintl.h file) or when the project does not use
|
|
|
|
# "gettextize --intl".
|
|
|
|
AM_CPPFLAGS += -I$(top_builddir)/intl
|
|
|
|
|
2013-11-26 22:55:28 +00:00
|
|
|
EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
|
|
|
|
|
2013-11-26 22:53:44 +00:00
|
|
|
## end gnulib module gettext
|
|
|
|
|
|
|
|
## begin gnulib module gettext-h
|
|
|
|
|
|
|
|
libgnu_a_SOURCES += gettext.h
|
|
|
|
|
|
|
|
## end gnulib module gettext-h
|
|
|
|
|
2013-11-26 22:55:28 +00:00
|
|
|
## begin gnulib module havelib
|
|
|
|
|
|
|
|
|
|
|
|
EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
|
|
|
|
|
|
|
|
## end gnulib module havelib
|
|
|
|
|
2013-11-26 22:53:44 +00:00
|
|
|
## begin gnulib module inet_ntop
|
|
|
|
|
|
|
|
|
|
|
|
EXTRA_DIST += inet_ntop.c inet_ntop.h
|
|
|
|
|
|
|
|
EXTRA_libgnu_a_SOURCES += inet_ntop.c
|
|
|
|
|
|
|
|
## end gnulib module inet_ntop
|
|
|
|
|
|
|
|
## begin gnulib module intprops
|
|
|
|
|
|
|
|
|
|
|
|
EXTRA_DIST += intprops.h
|
|
|
|
|
|
|
|
## end gnulib module intprops
|
|
|
|
|
2013-11-26 22:55:28 +00:00
|
|
|
## begin gnulib module link-warning
|
|
|
|
|
|
|
|
LINK_WARNING_H=$(top_srcdir)/build-aux/link-warning.h
|
|
|
|
|
|
|
|
EXTRA_DIST += $(top_srcdir)/build-aux/link-warning.h
|
|
|
|
|
|
|
|
## end gnulib module link-warning
|
|
|
|
|
|
|
|
## begin gnulib module localcharset
|
|
|
|
|
|
|
|
libgnu_a_SOURCES += localcharset.h localcharset.c
|
|
|
|
|
|
|
|
# We need the following in order to install a simple file in $(libdir)
|
|
|
|
# which is shared with other installed packages. We use a list of referencing
|
|
|
|
# packages so that "make uninstall" will remove the file if and only if it
|
|
|
|
# is not used by another installed package.
|
|
|
|
# On systems with glibc-2.1 or newer, the file is redundant, therefore we
|
|
|
|
# avoid installing it.
|
|
|
|
|
|
|
|
all-local: charset.alias ref-add.sed ref-del.sed
|
|
|
|
|
|
|
|
charset_alias = $(DESTDIR)$(libdir)/charset.alias
|
|
|
|
charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
|
|
|
|
install-exec-local: all-local
|
|
|
|
test $(GLIBC21) != no || $(mkinstalldirs) $(DESTDIR)$(libdir)
|
|
|
|
if test -f $(charset_alias); then \
|
|
|
|
sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
|
|
|
|
$(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
|
|
|
|
rm -f $(charset_tmp) ; \
|
|
|
|
else \
|
|
|
|
if test $(GLIBC21) = no; then \
|
|
|
|
sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
|
|
|
|
$(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
|
|
|
|
rm -f $(charset_tmp) ; \
|
|
|
|
fi ; \
|
|
|
|
fi
|
|
|
|
|
|
|
|
uninstall-local: all-local
|
|
|
|
if test -f $(charset_alias); then \
|
|
|
|
sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
|
|
|
|
if grep '^# Packages using this file: $$' $(charset_tmp) \
|
|
|
|
> /dev/null; then \
|
|
|
|
rm -f $(charset_alias); \
|
|
|
|
else \
|
|
|
|
$(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
|
|
|
|
fi; \
|
|
|
|
rm -f $(charset_tmp); \
|
|
|
|
fi
|
2013-11-26 22:53:44 +00:00
|
|
|
|
2013-11-26 22:55:28 +00:00
|
|
|
charset.alias: config.charset
|
|
|
|
rm -f t-$@ $@
|
|
|
|
$(SHELL) $(srcdir)/config.charset '$(host)' > t-$@
|
|
|
|
mv t-$@ $@
|
2013-11-26 22:53:44 +00:00
|
|
|
|
2013-11-26 22:55:28 +00:00
|
|
|
SUFFIXES += .sed .sin
|
|
|
|
.sin.sed:
|
|
|
|
rm -f t-$@ $@
|
|
|
|
sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@
|
|
|
|
mv t-$@ $@
|
2013-11-26 22:53:44 +00:00
|
|
|
|
2013-11-26 22:55:28 +00:00
|
|
|
CLEANFILES += charset.alias ref-add.sed ref-del.sed
|
2013-11-26 22:53:44 +00:00
|
|
|
|
2013-11-26 22:55:28 +00:00
|
|
|
EXTRA_DIST += config.charset ref-add.sin ref-del.sin
|
2013-11-26 22:53:44 +00:00
|
|
|
|
2013-11-26 22:55:28 +00:00
|
|
|
## end gnulib module localcharset
|
2013-11-26 22:53:44 +00:00
|
|
|
|
2013-11-26 22:55:28 +00:00
|
|
|
## begin gnulib module malloc
|
2013-11-26 22:53:44 +00:00
|
|
|
|
|
|
|
|
2013-11-26 22:55:28 +00:00
|
|
|
EXTRA_DIST += malloc.c
|
2013-11-26 22:53:44 +00:00
|
|
|
|
2013-11-26 22:55:28 +00:00
|
|
|
EXTRA_libgnu_a_SOURCES += malloc.c
|
2013-11-26 22:53:44 +00:00
|
|
|
|
2013-11-26 22:55:28 +00:00
|
|
|
## end gnulib module malloc
|
2013-11-26 22:53:44 +00:00
|
|
|
|
2013-11-26 22:55:28 +00:00
|
|
|
## begin gnulib module malloc-posix
|
2013-11-26 22:53:44 +00:00
|
|
|
|
|
|
|
|
2013-11-26 22:55:28 +00:00
|
|
|
EXTRA_DIST += malloc.c
|
2013-11-26 22:53:44 +00:00
|
|
|
|
2013-11-26 22:55:28 +00:00
|
|
|
EXTRA_libgnu_a_SOURCES += malloc.c
|
2013-11-26 22:53:44 +00:00
|
|
|
|
2013-11-26 22:55:28 +00:00
|
|
|
## end gnulib module malloc-posix
|
2013-11-26 22:53:44 +00:00
|
|
|
|
2013-11-26 22:55:28 +00:00
|
|
|
## begin gnulib module math
|
2013-11-26 22:53:44 +00:00
|
|
|
|
2013-11-26 22:55:28 +00:00
|
|
|
BUILT_SOURCES += math.h
|
2013-11-26 22:53:44 +00:00
|
|
|
|
2013-11-26 22:55:28 +00:00
|
|
|
# We need the following in order to create <math.h> when the system
|
|
|
|
# doesn't have one that works with the given compiler.
|
|
|
|
math.h: math.in.h
|
|
|
|
rm -f $@-t $@
|
|
|
|
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
|
|
|
|
sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
|
|
|
|
-e 's|@''NEXT_MATH_H''@|$(NEXT_MATH_H)|g' \
|
|
|
|
-e 's|@''GNULIB_CEILF''@|$(GNULIB_CEILF)|g' \
|
|
|
|
-e 's|@''GNULIB_CEILL''@|$(GNULIB_CEILL)|g' \
|
|
|
|
-e 's|@''GNULIB_FLOORF''@|$(GNULIB_FLOORF)|g' \
|
|
|
|
-e 's|@''GNULIB_FLOORL''@|$(GNULIB_FLOORL)|g' \
|
|
|
|
-e 's|@''GNULIB_FREXP''@|$(GNULIB_FREXP)|g' \
|
|
|
|
-e 's|@''GNULIB_FREXPL''@|$(GNULIB_FREXPL)|g' \
|
|
|
|
-e 's|@''GNULIB_ISFINITE''@|$(GNULIB_ISFINITE)|g' \
|
|
|
|
-e 's|@''GNULIB_LDEXPL''@|$(GNULIB_LDEXPL)|g' \
|
|
|
|
-e 's|@''GNULIB_MATHL''@|$(GNULIB_MATHL)|g' \
|
|
|
|
-e 's|@''GNULIB_ROUND''@|$(GNULIB_ROUND)|g' \
|
|
|
|
-e 's|@''GNULIB_ROUNDF''@|$(GNULIB_ROUNDF)|g' \
|
|
|
|
-e 's|@''GNULIB_ROUNDL''@|$(GNULIB_ROUNDL)|g' \
|
|
|
|
-e 's|@''GNULIB_SIGNBIT''@|$(GNULIB_SIGNBIT)|g' \
|
|
|
|
-e 's|@''GNULIB_TRUNC''@|$(GNULIB_TRUNC)|g' \
|
|
|
|
-e 's|@''GNULIB_TRUNCF''@|$(GNULIB_TRUNCF)|g' \
|
|
|
|
-e 's|@''GNULIB_TRUNCL''@|$(GNULIB_TRUNCL)|g' \
|
|
|
|
-e 's|@''HAVE_DECL_ACOSL''@|$(HAVE_DECL_ACOSL)|g' \
|
|
|
|
-e 's|@''HAVE_DECL_ASINL''@|$(HAVE_DECL_ASINL)|g' \
|
|
|
|
-e 's|@''HAVE_DECL_ATANL''@|$(HAVE_DECL_ATANL)|g' \
|
|
|
|
-e 's|@''HAVE_DECL_COSL''@|$(HAVE_DECL_COSL)|g' \
|
|
|
|
-e 's|@''HAVE_DECL_EXPL''@|$(HAVE_DECL_EXPL)|g' \
|
|
|
|
-e 's|@''HAVE_DECL_FREXPL''@|$(HAVE_DECL_FREXPL)|g' \
|
|
|
|
-e 's|@''HAVE_DECL_LDEXPL''@|$(HAVE_DECL_LDEXPL)|g' \
|
|
|
|
-e 's|@''HAVE_DECL_LOGL''@|$(HAVE_DECL_LOGL)|g' \
|
|
|
|
-e 's|@''HAVE_DECL_SINL''@|$(HAVE_DECL_SINL)|g' \
|
|
|
|
-e 's|@''HAVE_DECL_SQRTL''@|$(HAVE_DECL_SQRTL)|g' \
|
|
|
|
-e 's|@''HAVE_DECL_TANL''@|$(HAVE_DECL_TANL)|g' \
|
|
|
|
-e 's|@''HAVE_DECL_TRUNC''@|$(HAVE_DECL_TRUNC)|g' \
|
|
|
|
-e 's|@''HAVE_DECL_TRUNCF''@|$(HAVE_DECL_TRUNCF)|g' \
|
|
|
|
-e 's|@''HAVE_DECL_TRUNCL''@|$(HAVE_DECL_TRUNCL)|g' \
|
|
|
|
-e 's|@''REPLACE_CEILF''@|$(REPLACE_CEILF)|g' \
|
|
|
|
-e 's|@''REPLACE_CEILL''@|$(REPLACE_CEILL)|g' \
|
|
|
|
-e 's|@''REPLACE_FLOORF''@|$(REPLACE_FLOORF)|g' \
|
|
|
|
-e 's|@''REPLACE_FLOORL''@|$(REPLACE_FLOORL)|g' \
|
|
|
|
-e 's|@''REPLACE_FREXP''@|$(REPLACE_FREXP)|g' \
|
|
|
|
-e 's|@''REPLACE_FREXPL''@|$(REPLACE_FREXPL)|g' \
|
|
|
|
-e 's|@''REPLACE_ISFINITE''@|$(REPLACE_ISFINITE)|g' \
|
|
|
|
-e 's|@''REPLACE_LDEXPL''@|$(REPLACE_LDEXPL)|g' \
|
|
|
|
-e 's|@''REPLACE_ROUND''@|$(REPLACE_ROUND)|g' \
|
|
|
|
-e 's|@''REPLACE_ROUNDF''@|$(REPLACE_ROUNDF)|g' \
|
|
|
|
-e 's|@''REPLACE_ROUNDL''@|$(REPLACE_ROUNDL)|g' \
|
|
|
|
-e 's|@''REPLACE_SIGNBIT''@|$(REPLACE_SIGNBIT)|g' \
|
|
|
|
-e 's|@''REPLACE_SIGNBIT_USING_GCC''@|$(REPLACE_SIGNBIT_USING_GCC)|g' \
|
|
|
|
-e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
|
|
|
|
< $(srcdir)/math.in.h; \
|
|
|
|
} > $@-t
|
|
|
|
mv $@-t $@
|
|
|
|
MOSTLYCLEANFILES += math.h math.h-t
|
2013-11-26 22:53:44 +00:00
|
|
|
|
2013-11-26 22:55:28 +00:00
|
|
|
EXTRA_DIST += math.in.h
|
2013-11-26 22:53:44 +00:00
|
|
|
|
2013-11-26 22:55:28 +00:00
|
|
|
## end gnulib module math
|
2013-11-26 22:53:44 +00:00
|
|
|
|
|
|
|
## begin gnulib module mountlist
|
|
|
|
|
|
|
|
|
|
|
|
EXTRA_DIST += mountlist.c mountlist.h
|
|
|
|
|
|
|
|
EXTRA_libgnu_a_SOURCES += mountlist.c
|
|
|
|
|
|
|
|
## end gnulib module mountlist
|
|
|
|
|
|
|
|
## begin gnulib module netinet_in
|
|
|
|
|
|
|
|
BUILT_SOURCES += $(NETINET_IN_H)
|
|
|
|
|
|
|
|
# We need the following in order to create <netinet/in.h> when the system
|
|
|
|
# doesn't have one.
|
2013-11-26 22:55:28 +00:00
|
|
|
netinet/in.h: netinet_in.in.h
|
|
|
|
@MKDIR_P@ netinet
|
2013-11-26 22:53:44 +00:00
|
|
|
rm -f $@-t $@
|
|
|
|
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
|
2013-11-26 22:55:28 +00:00
|
|
|
sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
|
|
|
|
-e 's|@''NEXT_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \
|
|
|
|
-e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \
|
|
|
|
< $(srcdir)/netinet_in.in.h; \
|
2013-11-26 22:53:44 +00:00
|
|
|
} > $@-t
|
|
|
|
mv $@-t $@
|
|
|
|
MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
|
|
|
|
MOSTLYCLEANDIRS += netinet
|
|
|
|
|
2013-11-26 22:55:28 +00:00
|
|
|
EXTRA_DIST += netinet_in.in.h
|
|
|
|
|
2013-11-26 22:53:44 +00:00
|
|
|
## end gnulib module netinet_in
|
|
|
|
|
|
|
|
## begin gnulib module regex
|
|
|
|
|
|
|
|
|
|
|
|
EXTRA_DIST += regcomp.c regex.c regex.h regex_internal.c regex_internal.h regexec.c
|
|
|
|
|
|
|
|
EXTRA_libgnu_a_SOURCES += regcomp.c regex.c regex_internal.c regexec.c
|
|
|
|
|
|
|
|
## end gnulib module regex
|
|
|
|
|
|
|
|
## begin gnulib module safe-read
|
|
|
|
|
|
|
|
|
|
|
|
EXTRA_DIST += safe-read.c safe-read.h
|
|
|
|
|
|
|
|
EXTRA_libgnu_a_SOURCES += safe-read.c
|
|
|
|
|
|
|
|
## end gnulib module safe-read
|
|
|
|
|
|
|
|
## begin gnulib module safe-write
|
|
|
|
|
|
|
|
|
|
|
|
EXTRA_DIST += safe-write.c safe-write.h
|
|
|
|
|
|
|
|
EXTRA_libgnu_a_SOURCES += safe-write.c
|
|
|
|
|
|
|
|
## end gnulib module safe-write
|
|
|
|
|
|
|
|
## begin gnulib module size_max
|
|
|
|
|
|
|
|
libgnu_a_SOURCES += size_max.h
|
|
|
|
|
|
|
|
## end gnulib module size_max
|
|
|
|
|
|
|
|
## begin gnulib module snprintf
|
|
|
|
|
|
|
|
|
2013-11-26 22:55:28 +00:00
|
|
|
EXTRA_DIST += snprintf.c
|
2013-11-26 22:53:44 +00:00
|
|
|
|
|
|
|
EXTRA_libgnu_a_SOURCES += snprintf.c
|
|
|
|
|
|
|
|
## end gnulib module snprintf
|
|
|
|
|
|
|
|
## begin gnulib module stdbool
|
|
|
|
|
|
|
|
BUILT_SOURCES += $(STDBOOL_H)
|
|
|
|
|
|
|
|
# We need the following in order to create <stdbool.h> when the system
|
|
|
|
# doesn't have one that works.
|
2013-11-26 22:55:28 +00:00
|
|
|
stdbool.h: stdbool.in.h
|
2013-11-26 22:53:44 +00:00
|
|
|
rm -f $@-t $@
|
|
|
|
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
|
2013-11-26 22:55:28 +00:00
|
|
|
sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
|
2013-11-26 22:53:44 +00:00
|
|
|
} > $@-t
|
|
|
|
mv $@-t $@
|
|
|
|
MOSTLYCLEANFILES += stdbool.h stdbool.h-t
|
|
|
|
|
2013-11-26 22:55:28 +00:00
|
|
|
EXTRA_DIST += stdbool.in.h
|
2013-11-26 22:53:44 +00:00
|
|
|
|
|
|
|
## end gnulib module stdbool
|
|
|
|
|
|
|
|
## begin gnulib module stdint
|
|
|
|
|
|
|
|
BUILT_SOURCES += $(STDINT_H)
|
|
|
|
|
|
|
|
# We need the following in order to create <stdint.h> when the system
|
|
|
|
# doesn't have one that works with the given compiler.
|
2013-11-26 22:55:28 +00:00
|
|
|
stdint.h: stdint.in.h
|
2013-11-26 22:53:44 +00:00
|
|
|
rm -f $@-t $@
|
|
|
|
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
|
|
|
|
sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
|
2013-11-26 22:55:28 +00:00
|
|
|
-e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
|
|
|
|
-e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
|
2013-11-26 22:53:44 +00:00
|
|
|
-e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
|
|
|
|
-e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
|
|
|
|
-e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
|
|
|
|
-e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
|
|
|
|
-e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
|
|
|
|
-e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
|
|
|
|
-e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
|
|
|
|
-e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
|
|
|
|
-e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
|
|
|
|
-e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
|
|
|
|
-e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
|
|
|
|
-e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
|
|
|
|
-e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
|
|
|
|
-e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
|
|
|
|
-e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
|
|
|
|
-e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
|
|
|
|
-e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
|
|
|
|
-e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
|
|
|
|
-e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
|
2013-11-26 22:55:28 +00:00
|
|
|
< $(srcdir)/stdint.in.h; \
|
2013-11-26 22:53:44 +00:00
|
|
|
} > $@-t
|
|
|
|
mv $@-t $@
|
|
|
|
MOSTLYCLEANFILES += stdint.h stdint.h-t
|
|
|
|
|
2013-11-26 22:55:28 +00:00
|
|
|
EXTRA_DIST += stdint.in.h
|
2013-11-26 22:53:44 +00:00
|
|
|
|
|
|
|
## end gnulib module stdint
|
|
|
|
|
2013-11-26 22:55:28 +00:00
|
|
|
## begin gnulib module stdio
|
|
|
|
|
|
|
|
BUILT_SOURCES += stdio.h
|
2013-11-26 22:53:44 +00:00
|
|
|
|
2013-11-26 22:55:28 +00:00
|
|
|
# We need the following in order to create <stdio.h> when the system
|
|
|
|
# doesn't have one that works with the given compiler.
|
|
|
|
stdio.h: stdio.in.h
|
|
|
|
rm -f $@-t $@
|
|
|
|
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
|
|
|
|
sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
|
|
|
|
-e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
|
|
|
|
-e 's|@''GNULIB_FPRINTF_POSIX''@|$(GNULIB_FPRINTF_POSIX)|g' \
|
|
|
|
-e 's|@''GNULIB_PRINTF_POSIX''@|$(GNULIB_PRINTF_POSIX)|g' \
|
|
|
|
-e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \
|
|
|
|
-e 's|@''GNULIB_SPRINTF_POSIX''@|$(GNULIB_SPRINTF_POSIX)|g' \
|
|
|
|
-e 's|@''GNULIB_VFPRINTF_POSIX''@|$(GNULIB_VFPRINTF_POSIX)|g' \
|
|
|
|
-e 's|@''GNULIB_VPRINTF_POSIX''@|$(GNULIB_VPRINTF_POSIX)|g' \
|
|
|
|
-e 's|@''GNULIB_VSNPRINTF''@|$(GNULIB_VSNPRINTF)|g' \
|
|
|
|
-e 's|@''GNULIB_VSPRINTF_POSIX''@|$(GNULIB_VSPRINTF_POSIX)|g' \
|
|
|
|
-e 's|@''GNULIB_VASPRINTF''@|$(GNULIB_VASPRINTF)|g' \
|
|
|
|
-e 's|@''GNULIB_FOPEN''@|$(GNULIB_FOPEN)|g' \
|
|
|
|
-e 's|@''GNULIB_FREOPEN''@|$(GNULIB_FREOPEN)|g' \
|
|
|
|
-e 's|@''GNULIB_FSEEK''@|$(GNULIB_FSEEK)|g' \
|
|
|
|
-e 's|@''GNULIB_FSEEKO''@|$(GNULIB_FSEEKO)|g' \
|
|
|
|
-e 's|@''GNULIB_FTELL''@|$(GNULIB_FTELL)|g' \
|
|
|
|
-e 's|@''GNULIB_FTELLO''@|$(GNULIB_FTELLO)|g' \
|
|
|
|
-e 's|@''GNULIB_FFLUSH''@|$(GNULIB_FFLUSH)|g' \
|
|
|
|
-e 's|@''GNULIB_GETDELIM''@|$(GNULIB_GETDELIM)|g' \
|
|
|
|
-e 's|@''GNULIB_GETLINE''@|$(GNULIB_GETLINE)|g' \
|
|
|
|
-e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
|
|
|
|
-e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
|
|
|
|
-e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
|
|
|
|
-e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
|
|
|
|
-e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
|
|
|
|
-e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
|
|
|
|
-e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
|
|
|
|
-e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
|
|
|
|
-e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
|
|
|
|
-e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
|
|
|
|
-e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
|
|
|
|
-e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
|
|
|
|
-e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
|
|
|
|
-e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
|
|
|
|
-e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
|
|
|
|
-e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
|
|
|
|
-e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
|
|
|
|
-e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
|
|
|
|
-e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
|
|
|
|
-e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
|
|
|
|
-e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
|
|
|
|
-e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
|
|
|
|
-e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
|
|
|
|
< $(srcdir)/stdio.in.h; \
|
|
|
|
} > $@-t
|
|
|
|
mv $@-t $@
|
|
|
|
MOSTLYCLEANFILES += stdio.h stdio.h-t
|
|
|
|
|
|
|
|
EXTRA_DIST += stdio.in.h
|
|
|
|
|
|
|
|
## end gnulib module stdio
|
2013-11-26 22:53:44 +00:00
|
|
|
|
2013-11-26 22:55:28 +00:00
|
|
|
## begin gnulib module stdlib
|
2013-11-26 22:53:44 +00:00
|
|
|
|
2013-11-26 22:55:28 +00:00
|
|
|
BUILT_SOURCES += stdlib.h
|
|
|
|
|
|
|
|
# We need the following in order to create <stdlib.h> when the system
|
|
|
|
# doesn't have one that works with the given compiler.
|
|
|
|
stdlib.h: stdlib.in.h
|
|
|
|
rm -f $@-t $@
|
|
|
|
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
|
|
|
|
sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
|
|
|
|
-e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
|
|
|
|
-e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
|
|
|
|
-e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
|
|
|
|
-e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
|
|
|
|
-e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
|
|
|
|
-e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
|
|
|
|
-e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
|
|
|
|
-e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \
|
|
|
|
-e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \
|
|
|
|
-e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \
|
|
|
|
-e 's|@''HAVE_CALLOC_POSIX''@|$(HAVE_CALLOC_POSIX)|g' \
|
|
|
|
-e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
|
|
|
|
-e 's|@''HAVE_MALLOC_POSIX''@|$(HAVE_MALLOC_POSIX)|g' \
|
|
|
|
-e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
|
|
|
|
-e 's|@''HAVE_REALLOC_POSIX''@|$(HAVE_REALLOC_POSIX)|g' \
|
|
|
|
-e 's|@''HAVE_SETENV''@|$(HAVE_SETENV)|g' \
|
|
|
|
-e 's|@''HAVE_UNSETENV''@|$(HAVE_UNSETENV)|g' \
|
|
|
|
-e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
|
|
|
|
-e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
|
|
|
|
-e 's|@''VOID_UNSETENV''@|$(VOID_UNSETENV)|g' \
|
|
|
|
-e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
|
|
|
|
< $(srcdir)/stdlib.in.h; \
|
|
|
|
} > $@-t
|
|
|
|
mv $@-t $@
|
|
|
|
MOSTLYCLEANFILES += stdlib.h stdlib.h-t
|
2013-11-26 22:53:44 +00:00
|
|
|
|
2013-11-26 22:55:28 +00:00
|
|
|
EXTRA_DIST += stdlib.in.h
|
|
|
|
|
|
|
|
## end gnulib module stdlib
|
2013-11-26 22:53:44 +00:00
|
|
|
|
|
|
|
## begin gnulib module strdup
|
|
|
|
|
|
|
|
|
2013-11-26 22:55:28 +00:00
|
|
|
EXTRA_DIST += strdup.c
|
2013-11-26 22:53:44 +00:00
|
|
|
|
|
|
|
EXTRA_libgnu_a_SOURCES += strdup.c
|
|
|
|
|
|
|
|
## end gnulib module strdup
|
|
|
|
|
2013-11-26 22:55:28 +00:00
|
|
|
## begin gnulib module strerror
|
|
|
|
|
|
|
|
|
|
|
|
EXTRA_DIST += strerror.c
|
|
|
|
|
|
|
|
EXTRA_libgnu_a_SOURCES += strerror.c
|
|
|
|
|
|
|
|
## end gnulib module strerror
|
|
|
|
|
|
|
|
## begin gnulib module string
|
|
|
|
|
|
|
|
BUILT_SOURCES += string.h
|
|
|
|
|
|
|
|
# We need the following in order to create <string.h> when the system
|
|
|
|
# doesn't have one that works with the given compiler.
|
|
|
|
string.h: string.in.h
|
|
|
|
rm -f $@-t $@
|
|
|
|
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
|
|
|
|
sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
|
|
|
|
-e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
|
|
|
|
-e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \
|
|
|
|
-e 's|@''GNULIB_MBSNLEN''@|$(GNULIB_MBSNLEN)|g' \
|
|
|
|
-e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \
|
|
|
|
-e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \
|
|
|
|
-e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \
|
|
|
|
-e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \
|
|
|
|
-e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \
|
|
|
|
-e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \
|
|
|
|
-e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \
|
|
|
|
-e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \
|
|
|
|
-e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \
|
|
|
|
-e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \
|
|
|
|
-e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \
|
|
|
|
-e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \
|
|
|
|
-e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \
|
|
|
|
-e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \
|
|
|
|
-e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \
|
|
|
|
-e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \
|
|
|
|
-e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \
|
|
|
|
-e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \
|
|
|
|
-e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \
|
|
|
|
-e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \
|
|
|
|
-e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \
|
|
|
|
-e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \
|
|
|
|
-e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \
|
|
|
|
-e 's|@''GNULIB_STRSTR''@|$(GNULIB_STRSTR)|g' \
|
|
|
|
-e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \
|
|
|
|
-e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \
|
|
|
|
-e 's|@''GNULIB_STRERROR''@|$(GNULIB_STRERROR)|g' \
|
|
|
|
-e 's|@''GNULIB_STRSIGNAL''@|$(GNULIB_STRSIGNAL)|g' \
|
|
|
|
-e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
|
|
|
|
-e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
|
|
|
|
-e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
|
|
|
|
-e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
|
|
|
|
-e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
|
|
|
|
-e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
|
|
|
|
-e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
|
|
|
|
-e 's|@''HAVE_STRNDUP''@|$(HAVE_STRNDUP)|g' \
|
|
|
|
-e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
|
|
|
|
-e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
|
|
|
|
-e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
|
|
|
|
-e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
|
|
|
|
-e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
|
|
|
|
-e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
|
|
|
|
-e 's|@''HAVE_DECL_STRERROR''@|$(HAVE_DECL_STRERROR)|g' \
|
|
|
|
-e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
|
|
|
|
-e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
|
|
|
|
-e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
|
|
|
|
-e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
|
|
|
|
-e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
|
|
|
|
-e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
|
|
|
|
-e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
|
|
|
|
< $(srcdir)/string.in.h; \
|
|
|
|
} > $@-t
|
|
|
|
mv $@-t $@
|
|
|
|
MOSTLYCLEANFILES += string.h string.h-t
|
|
|
|
|
|
|
|
EXTRA_DIST += string.in.h
|
|
|
|
|
|
|
|
## end gnulib module string
|
|
|
|
|
2013-11-26 22:53:44 +00:00
|
|
|
## begin gnulib module strndup
|
|
|
|
|
|
|
|
|
2013-11-26 22:55:28 +00:00
|
|
|
EXTRA_DIST += strndup.c
|
2013-11-26 22:53:44 +00:00
|
|
|
|
|
|
|
EXTRA_libgnu_a_SOURCES += strndup.c
|
|
|
|
|
|
|
|
## end gnulib module strndup
|
|
|
|
|
|
|
|
## begin gnulib module strnlen
|
|
|
|
|
|
|
|
|
2013-11-26 22:55:28 +00:00
|
|
|
EXTRA_DIST += strnlen.c
|
2013-11-26 22:53:44 +00:00
|
|
|
|
|
|
|
EXTRA_libgnu_a_SOURCES += strnlen.c
|
|
|
|
|
|
|
|
## end gnulib module strnlen
|
|
|
|
|
|
|
|
## begin gnulib module sys_socket
|
|
|
|
|
|
|
|
BUILT_SOURCES += $(SYS_SOCKET_H)
|
|
|
|
|
|
|
|
# We need the following in order to create <sys/socket.h> when the system
|
|
|
|
# doesn't have one that works with the given compiler.
|
2013-11-26 22:55:28 +00:00
|
|
|
sys/socket.h: sys_socket.in.h
|
2013-11-26 22:53:44 +00:00
|
|
|
@MKDIR_P@ sys
|
|
|
|
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
|
2013-11-26 22:55:28 +00:00
|
|
|
sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
|
|
|
|
-e 's|@''NEXT_SYS_SOCKET_H''@|$(NEXT_SYS_SOCKET_H)|g' \
|
|
|
|
-e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \
|
|
|
|
-e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
|
|
|
|
-e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \
|
|
|
|
< $(srcdir)/sys_socket.in.h; \
|
2013-11-26 22:53:44 +00:00
|
|
|
} > $@-t
|
|
|
|
mv -f $@-t $@
|
|
|
|
MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
|
|
|
|
MOSTLYCLEANDIRS += sys
|
|
|
|
|
2013-11-26 22:55:28 +00:00
|
|
|
EXTRA_DIST += sys_socket.in.h
|
2013-11-26 22:53:44 +00:00
|
|
|
|
|
|
|
## end gnulib module sys_socket
|
|
|
|
|
|
|
|
## begin gnulib module unistd
|
|
|
|
|
2013-11-26 22:55:28 +00:00
|
|
|
BUILT_SOURCES += unistd.h
|
2013-11-26 22:53:44 +00:00
|
|
|
|
|
|
|
# We need the following in order to create an empty placeholder for
|
|
|
|
# <unistd.h> when the system doesn't have one.
|
2013-11-26 22:55:28 +00:00
|
|
|
unistd.h: unistd.in.h
|
2013-11-26 22:53:44 +00:00
|
|
|
rm -f $@-t $@
|
|
|
|
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
|
2013-11-26 22:55:28 +00:00
|
|
|
sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
|
|
|
|
-e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
|
|
|
|
-e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
|
|
|
|
-e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
|
|
|
|
-e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
|
|
|
|
-e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
|
|
|
|
-e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
|
|
|
|
-e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
|
|
|
|
-e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
|
|
|
|
-e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
|
|
|
|
-e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
|
|
|
|
-e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
|
|
|
|
-e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
|
|
|
|
-e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
|
|
|
|
-e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
|
|
|
|
-e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
|
|
|
|
-e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
|
|
|
|
-e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
|
|
|
|
-e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
|
|
|
|
-e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
|
|
|
|
-e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
|
|
|
|
-e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
|
|
|
|
-e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
|
|
|
|
-e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
|
|
|
|
-e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
|
|
|
|
-e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
|
|
|
|
-e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
|
|
|
|
-e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
|
|
|
|
< $(srcdir)/unistd.in.h; \
|
2013-11-26 22:53:44 +00:00
|
|
|
} > $@-t
|
|
|
|
mv $@-t $@
|
|
|
|
MOSTLYCLEANFILES += unistd.h unistd.h-t
|
|
|
|
|
2013-11-26 22:55:28 +00:00
|
|
|
EXTRA_DIST += unistd.in.h
|
2013-11-26 22:53:44 +00:00
|
|
|
|
|
|
|
## end gnulib module unistd
|
|
|
|
|
|
|
|
## begin gnulib module unistd-safer
|
|
|
|
|
|
|
|
|
|
|
|
EXTRA_DIST += dup-safer.c fd-safer.c pipe-safer.c unistd--.h unistd-safer.h
|
|
|
|
|
|
|
|
EXTRA_libgnu_a_SOURCES += dup-safer.c fd-safer.c pipe-safer.c
|
|
|
|
|
|
|
|
## end gnulib module unistd-safer
|
|
|
|
|
|
|
|
## begin gnulib module vasnprintf
|
|
|
|
|
|
|
|
|
2013-11-26 22:55:28 +00:00
|
|
|
EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
|
2013-11-26 22:53:44 +00:00
|
|
|
|
|
|
|
EXTRA_libgnu_a_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
|
|
|
|
|
|
|
|
## end gnulib module vasnprintf
|
|
|
|
|
|
|
|
## begin gnulib module vasprintf
|
|
|
|
|
|
|
|
|
2013-11-26 22:55:28 +00:00
|
|
|
EXTRA_DIST += asprintf.c vasprintf.c
|
2013-11-26 22:53:44 +00:00
|
|
|
|
|
|
|
EXTRA_libgnu_a_SOURCES += asprintf.c vasprintf.c
|
|
|
|
|
|
|
|
## end gnulib module vasprintf
|
|
|
|
|
|
|
|
## begin gnulib module vsnprintf
|
|
|
|
|
|
|
|
|
2013-11-26 22:55:28 +00:00
|
|
|
EXTRA_DIST += vsnprintf.c
|
2013-11-26 22:53:44 +00:00
|
|
|
|
|
|
|
EXTRA_libgnu_a_SOURCES += vsnprintf.c
|
|
|
|
|
|
|
|
## end gnulib module vsnprintf
|
|
|
|
|
|
|
|
## begin gnulib module wchar
|
|
|
|
|
|
|
|
BUILT_SOURCES += $(WCHAR_H)
|
|
|
|
|
|
|
|
# We need the following in order to create <wchar.h> when the system
|
|
|
|
# version does not work standalone.
|
2013-11-26 22:55:28 +00:00
|
|
|
wchar.h: wchar.in.h
|
2013-11-26 22:53:44 +00:00
|
|
|
rm -f $@-t $@
|
|
|
|
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
|
2013-11-26 22:55:28 +00:00
|
|
|
sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
|
|
|
|
-e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
|
|
|
|
-e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
|
|
|
|
-e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
|
|
|
|
-e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
|
|
|
|
-e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
|
|
|
|
-e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
|
|
|
|
< $(srcdir)/wchar.in.h; \
|
2013-11-26 22:53:44 +00:00
|
|
|
} > $@-t
|
|
|
|
mv $@-t $@
|
|
|
|
MOSTLYCLEANFILES += wchar.h wchar.h-t
|
|
|
|
|
2013-11-26 22:55:28 +00:00
|
|
|
EXTRA_DIST += wchar.in.h
|
2013-11-26 22:53:44 +00:00
|
|
|
|
|
|
|
## end gnulib module wchar
|
|
|
|
|
|
|
|
## begin gnulib module wctype
|
|
|
|
|
|
|
|
BUILT_SOURCES += $(WCTYPE_H)
|
|
|
|
|
|
|
|
# We need the following in order to create <wctype.h> when the system
|
|
|
|
# doesn't have one that works with the given compiler.
|
2013-11-26 22:55:28 +00:00
|
|
|
wctype.h: wctype.in.h
|
2013-11-26 22:53:44 +00:00
|
|
|
rm -f $@-t $@
|
|
|
|
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
|
|
|
|
sed -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
|
2013-11-26 22:55:28 +00:00
|
|
|
-e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
|
|
|
|
-e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
|
|
|
|
-e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
|
2013-11-26 22:53:44 +00:00
|
|
|
-e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
|
2013-11-26 22:55:28 +00:00
|
|
|
< $(srcdir)/wctype.in.h; \
|
2013-11-26 22:53:44 +00:00
|
|
|
} > $@-t
|
|
|
|
mv $@-t $@
|
|
|
|
MOSTLYCLEANFILES += wctype.h wctype.h-t
|
|
|
|
|
2013-11-26 22:55:28 +00:00
|
|
|
EXTRA_DIST += wctype.in.h
|
2013-11-26 22:53:44 +00:00
|
|
|
|
|
|
|
## end gnulib module wctype
|
|
|
|
|
|
|
|
## begin gnulib module xalloc
|
|
|
|
|
|
|
|
|
|
|
|
EXTRA_DIST += xalloc.h xmalloc.c
|
|
|
|
|
|
|
|
EXTRA_libgnu_a_SOURCES += xmalloc.c
|
|
|
|
|
|
|
|
## end gnulib module xalloc
|
|
|
|
|
|
|
|
## begin gnulib module xalloc-die
|
|
|
|
|
|
|
|
libgnu_a_SOURCES += xalloc-die.c
|
|
|
|
|
|
|
|
## end gnulib module xalloc-die
|
|
|
|
|
|
|
|
## begin gnulib module xsize
|
|
|
|
|
|
|
|
libgnu_a_SOURCES += xsize.h
|
|
|
|
|
|
|
|
## end gnulib module xsize
|
|
|
|
|
|
|
|
## begin gnulib module xstrndup
|
|
|
|
|
|
|
|
libgnu_a_SOURCES += xstrndup.h xstrndup.c
|
|
|
|
|
|
|
|
## end gnulib module xstrndup
|
|
|
|
|
|
|
|
|
|
|
|
mostlyclean-local: mostlyclean-generic
|
|
|
|
@for dir in '' $(MOSTLYCLEANDIRS); do \
|
|
|
|
if test -n "$$dir" && test -d $$dir; then \
|
|
|
|
echo "rmdir $$dir"; rmdir $$dir; \
|
|
|
|
fi; \
|
2013-11-26 22:55:28 +00:00
|
|
|
done; \
|
|
|
|
:
|