Edit

thodg/cgminer/lib/Makefile.am

Branch :

  • Show log

    Commit

  • Author : Ycros
    Date : 2011-07-13 16:49:44
    Hash : 8ec2dcc9
    Message : Mingw suseconds_t and sigaction fixes. Added typedef for suseconds_t for systems without this defined. Added signal/sigaction from gnulib because mingw is missing these.

  • lib/Makefile.am
  • ## DO NOT EDIT! GENERATED AUTOMATICALLY!
    ## Process this file with automake to produce Makefile.in.
    # Copyright (C) 2002-2011 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.
    # Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=. --no-conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files memmem sigaction signal
    
    AUTOMAKE_OPTIONS = 1.5 gnits
    
    SUBDIRS =
    noinst_HEADERS =
    noinst_LIBRARIES =
    noinst_LTLIBRARIES =
    EXTRA_DIST =
    BUILT_SOURCES =
    SUFFIXES =
    MOSTLYCLEANFILES = core *.stackdump
    MOSTLYCLEANDIRS =
    CLEANFILES =
    DISTCLEANFILES =
    MAINTAINERCLEANFILES =
    
    AM_CPPFLAGS =
    AM_CFLAGS =
    
    noinst_LIBRARIES += libgnu.a
    
    libgnu_a_SOURCES =
    libgnu_a_LIBADD = $(gl_LIBOBJS)
    libgnu_a_DEPENDENCIES = $(gl_LIBOBJS)
    EXTRA_libgnu_a_SOURCES =
    
    ## begin gnulib module arg-nonnull
    
    # The BUILT_SOURCES created by this Makefile snippet are not used via #include
    # statements but through direct file reference. Therefore this snippet must be
    # present in all Makefile.am that need it. This is ensured by the applicability
    # 'all' defined above.
    
    BUILT_SOURCES += arg-nonnull.h
    # The arg-nonnull.h that gets inserted into generated .h files is the same as
    # build-aux/arg-nonnull.h, except that it has the copyright header cut off.
    arg-nonnull.h: $(top_srcdir)/./arg-nonnull.h
    	$(AM_V_GEN)rm -f $@-t $@ && \
    	sed -n -e '/GL_ARG_NONNULL/,$$p' \
    	  < $(top_srcdir)/./arg-nonnull.h \
    	  > $@-t && \
    	mv $@-t $@
    MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
    
    ARG_NONNULL_H=arg-nonnull.h
    
    EXTRA_DIST += $(top_srcdir)/./arg-nonnull.h
    
    ## end   gnulib module arg-nonnull
    
    ## begin gnulib module c++defs
    
    # The BUILT_SOURCES created by this Makefile snippet are not used via #include
    # statements but through direct file reference. Therefore this snippet must be
    # present in all Makefile.am that need it. This is ensured by the applicability
    # 'all' defined above.
    
    BUILT_SOURCES += c++defs.h
    # The c++defs.h that gets inserted into generated .h files is the same as
    # build-aux/c++defs.h, except that it has the copyright header cut off.
    c++defs.h: $(top_srcdir)/./c++defs.h
    	$(AM_V_GEN)rm -f $@-t $@ && \
    	sed -n -e '/_GL_CXXDEFS/,$$p' \
    	  < $(top_srcdir)/./c++defs.h \
    	  > $@-t && \
    	mv $@-t $@
    MOSTLYCLEANFILES += c++defs.h c++defs.h-t
    
    CXXDEFS_H=c++defs.h
    
    EXTRA_DIST += $(top_srcdir)/./c++defs.h
    
    ## end   gnulib module c++defs
    
    ## begin gnulib module memchr
    
    
    EXTRA_DIST += memchr.c memchr.valgrind
    
    EXTRA_libgnu_a_SOURCES += memchr.c
    
    ## end   gnulib module memchr
    
    ## begin gnulib module memmem-simple
    
    
    EXTRA_DIST += memmem.c str-two-way.h
    
    EXTRA_libgnu_a_SOURCES += memmem.c
    
    ## end   gnulib module memmem-simple
    
    ## begin gnulib module sigaction
    
    
    EXTRA_DIST += sig-handler.h sigaction.c
    
    EXTRA_libgnu_a_SOURCES += sigaction.c
    
    ## end   gnulib module sigaction
    
    ## begin gnulib module signal
    
    BUILT_SOURCES += signal.h
    
    # We need the following in order to create <signal.h> when the system
    # doesn't have a complete one.
    signal.h: signal.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
    	$(AM_V_GEN)rm -f $@-t $@ && \
    	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
    	  sed -e 's|@''GUARD_PREFIX''@|GL|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_SIGNAL_H''@|$(NEXT_SIGNAL_H)|g' \
    	      -e 's/@''GNULIB_SIGNAL_H_SIGPIPE''@/$(GNULIB_SIGNAL_H_SIGPIPE)/g' \
    	      -e 's/@''GNULIB_SIGPROCMASK''@/$(GNULIB_SIGPROCMASK)/g' \
    	      -e 's/@''GNULIB_SIGACTION''@/$(GNULIB_SIGACTION)/g' \
    	      -e 's|@''HAVE_POSIX_SIGNALBLOCKING''@|$(HAVE_POSIX_SIGNALBLOCKING)|g' \
    	      -e 's|@''HAVE_SIGSET_T''@|$(HAVE_SIGSET_T)|g' \
    	      -e 's|@''HAVE_SIGINFO_T''@|$(HAVE_SIGINFO_T)|g' \
    	      -e 's|@''HAVE_SIGACTION''@|$(HAVE_SIGACTION)|g' \
    	      -e 's|@''HAVE_STRUCT_SIGACTION_SA_SIGACTION''@|$(HAVE_STRUCT_SIGACTION_SA_SIGACTION)|g' \
    	      -e 's|@''HAVE_TYPE_VOLATILE_SIG_ATOMIC_T''@|$(HAVE_TYPE_VOLATILE_SIG_ATOMIC_T)|g' \
    	      -e 's|@''HAVE_SIGHANDLER_T''@|$(HAVE_SIGHANDLER_T)|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)/signal.in.h; \
    	} > $@-t && \
    	mv $@-t $@
    MOSTLYCLEANFILES += signal.h signal.h-t
    
    EXTRA_DIST += signal.in.h
    
    ## end   gnulib module signal
    
    ## begin gnulib module sigprocmask
    
    
    EXTRA_DIST += sigprocmask.c
    
    EXTRA_libgnu_a_SOURCES += sigprocmask.c
    
    ## end   gnulib module sigprocmask
    
    ## begin gnulib module stddef
    
    BUILT_SOURCES += $(STDDEF_H)
    
    # We need the following in order to create <stddef.h> when the system
    # doesn't have one that works with the given compiler.
    if GL_GENERATE_STDDEF_H
    stddef.h: stddef.in.h $(top_builddir)/config.status
    	$(AM_V_GEN)rm -f $@-t $@ && \
    	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
    	  sed -e 's|@''GUARD_PREFIX''@|GL|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_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
    	      -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
    	      -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
    	      < $(srcdir)/stddef.in.h; \
    	} > $@-t && \
    	mv $@-t $@
    else
    stddef.h: $(top_builddir)/config.status
    	rm -f $@
    endif
    MOSTLYCLEANFILES += stddef.h stddef.h-t
    
    EXTRA_DIST += stddef.in.h
    
    ## end   gnulib module stddef
    
    ## 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.
    if GL_GENERATE_STDINT_H
    stdint.h: stdint.in.h $(top_builddir)/config.status
    	$(AM_V_GEN)rm -f $@-t $@ && \
    	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
    	  sed -e 's|@''GUARD_PREFIX''@|GL|g' \
    	      -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/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_STDINT_H''@|$(NEXT_STDINT_H)|g' \
    	      -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_WCHAR_H''@/$(HAVE_WCHAR_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/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/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' \
    	      < $(srcdir)/stdint.in.h; \
    	} > $@-t && \
    	mv $@-t $@
    else
    stdint.h: $(top_builddir)/config.status
    	rm -f $@
    endif
    MOSTLYCLEANFILES += stdint.h stdint.h-t
    
    EXTRA_DIST += stdint.in.h
    
    ## end   gnulib module stdint
    
    ## 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 $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
    	$(AM_V_GEN)rm -f $@-t $@ && \
    	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
    	  sed -e 's|@''GUARD_PREFIX''@|GL|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_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_MEMCHR''@/$(GNULIB_MEMCHR)/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_RAWMEMCHR''@/$(GNULIB_RAWMEMCHR)/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_STRNCAT''@/$(GNULIB_STRNCAT)/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_STRERROR_R''@/$(GNULIB_STRERROR_R)/g' \
    	      -e 's/@''GNULIB_STRSIGNAL''@/$(GNULIB_STRSIGNAL)/g' \
    	      -e 's/@''GNULIB_STRVERSCMP''@/$(GNULIB_STRVERSCMP)/g' \
    	      < $(srcdir)/string.in.h | \
    	  sed -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
    	      -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|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_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|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_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_R''@|$(HAVE_DECL_STRERROR_R)|g' \
    	      -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
    	      -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
    	      -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \
    	      -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
    	      -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
    	      -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
    	      -e 's|@''REPLACE_STRCHRNUL''@|$(REPLACE_STRCHRNUL)|g' \
    	      -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
    	      -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
    	      -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
    	      -e 's|@''REPLACE_STRERROR_R''@|$(REPLACE_STRERROR_R)|g' \
    	      -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \
    	      -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
    	      -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \
    	      -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
    	      -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
    	      -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|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)/string.in.h; \
    	} > $@-t && \
    	mv $@-t $@
    MOSTLYCLEANFILES += string.h string.h-t
    
    EXTRA_DIST += string.in.h
    
    ## end   gnulib module string
    
    ## begin gnulib module warn-on-use
    
    BUILT_SOURCES += warn-on-use.h
    # The warn-on-use.h that gets inserted into generated .h files is the same as
    # build-aux/warn-on-use.h, except that it has the copyright header cut off.
    warn-on-use.h: $(top_srcdir)/./warn-on-use.h
    	$(AM_V_GEN)rm -f $@-t $@ && \
    	sed -n -e '/^.ifndef/,$$p' \
    	  < $(top_srcdir)/./warn-on-use.h \
    	  > $@-t && \
    	mv $@-t $@
    MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
    
    WARN_ON_USE_H=warn-on-use.h
    
    EXTRA_DIST += $(top_srcdir)/./warn-on-use.h
    
    ## end   gnulib module warn-on-use
    
    ## begin gnulib module dummy
    
    libgnu_a_SOURCES += dummy.c
    
    ## end   gnulib module dummy
    
    
    mostlyclean-local: mostlyclean-generic
    	@for dir in '' $(MOSTLYCLEANDIRS); do \
    	  if test -n "$$dir" && test -d $$dir; then \
    	    echo "rmdir $$dir"; rmdir $$dir; \
    	  fi; \
    	done; \
    	: