📄 gnulib.mk
字号:
## begin gnulib module localcharsetlibtar_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.sedcharset_alias = $(DESTDIR)$(libdir)/charset.aliascharset_tmp = $(DESTDIR)$(libdir)/charset.tmpinstall-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 ; \ fiuninstall-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); \ ficharset.alias: config.charset rm -f t-$@ $@ $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@ mv t-$@ $@SUFFIXES += .sed .sin.sin.sed: rm -f t-$@ $@ sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@ mv t-$@ $@CLEANFILES += charset.alias ref-add.sed ref-del.sedEXTRA_DIST += config.charset ref-add.sin ref-del.sin## end gnulib module localcharset## begin gnulib module lseekEXTRA_DIST += lseek.cEXTRA_libtar_a_SOURCES += lseek.c## end gnulib module lseek## begin gnulib module lstatEXTRA_DIST += lstat.c lstat.hEXTRA_libtar_a_SOURCES += lstat.c## end gnulib module lstat## begin gnulib module mallocEXTRA_DIST += malloc.cEXTRA_libtar_a_SOURCES += malloc.c## end gnulib module malloc## begin gnulib module malloc-posixEXTRA_DIST += malloc.cEXTRA_libtar_a_SOURCES += malloc.c## end gnulib module malloc-posix## begin gnulib module mallocalibtar_a_SOURCES += malloca.cEXTRA_DIST += malloca.h malloca.valgrind## end gnulib module malloca## begin gnulib module mbcharlibtar_a_SOURCES += mbchar.cEXTRA_DIST += mbchar.h## end gnulib module mbchar## begin gnulib module mbscasecmplibtar_a_SOURCES += mbscasecmp.c## end gnulib module mbscasecmp## begin gnulib module mbuiterlibtar_a_SOURCES += mbuiter.h## end gnulib module mbuiter## begin gnulib module memchrEXTRA_DIST += memchr.cEXTRA_libtar_a_SOURCES += memchr.c## end gnulib module memchr## begin gnulib module mempcpyEXTRA_DIST += mempcpy.cEXTRA_libtar_a_SOURCES += mempcpy.c## end gnulib module mempcpy## begin gnulib module memrchrEXTRA_DIST += memrchr.cEXTRA_libtar_a_SOURCES += memrchr.c## end gnulib module memrchr## begin gnulib module memsetEXTRA_DIST += memset.cEXTRA_libtar_a_SOURCES += memset.c## end gnulib module memset## begin gnulib module mkdtempEXTRA_DIST += mkdtemp.cEXTRA_libtar_a_SOURCES += mkdtemp.c## end gnulib module mkdtemp## begin gnulib module mktimeEXTRA_DIST += mktime.cEXTRA_libtar_a_SOURCES += mktime.c## end gnulib module mktime## begin gnulib module modechangeEXTRA_DIST += modechange.c modechange.hEXTRA_libtar_a_SOURCES += modechange.c## end gnulib module modechange## begin gnulib module obstackEXTRA_DIST += obstack.c obstack.hEXTRA_libtar_a_SOURCES += obstack.c## end gnulib module obstack## begin gnulib module openatEXTRA_DIST += at-func.c fchmodat.c fchownat.c fstatat.c mkdirat.c openat-priv.h openat-proc.c openat.c openat.hEXTRA_libtar_a_SOURCES += at-func.c fchmodat.c fchownat.c fstatat.c mkdirat.c openat-proc.c openat.c## end gnulib module openat## begin gnulib module openat-dielibtar_a_SOURCES += openat-die.c## end gnulib module openat-die## begin gnulib module pathmaxEXTRA_DIST += pathmax.h## end gnulib module pathmax## begin gnulib module quoteEXTRA_DIST += quote.c quote.hEXTRA_libtar_a_SOURCES += quote.c## end gnulib module quote## begin gnulib module quoteargEXTRA_DIST += quotearg.c quotearg.hEXTRA_libtar_a_SOURCES += quotearg.c## end gnulib module quotearg## begin gnulib module readlinkEXTRA_DIST += readlink.cEXTRA_libtar_a_SOURCES += readlink.c## end gnulib module readlink## begin gnulib module realloc-posixEXTRA_DIST += realloc.cEXTRA_libtar_a_SOURCES += realloc.c## end gnulib module realloc-posix## begin gnulib module regexEXTRA_DIST += regcomp.c regex.c regex.h regex_internal.c regex_internal.h regexec.cEXTRA_libtar_a_SOURCES += regcomp.c regex.c regex_internal.c regexec.c## end gnulib module regex## begin gnulib module rmdirEXTRA_DIST += rmdir.cEXTRA_libtar_a_SOURCES += rmdir.c## end gnulib module rmdir## begin gnulib module rpmatchEXTRA_DIST += rpmatch.cEXTRA_libtar_a_SOURCES += rpmatch.c## end gnulib module rpmatch## begin gnulib module safe-readEXTRA_DIST += safe-read.c safe-read.hEXTRA_libtar_a_SOURCES += safe-read.c## end gnulib module safe-read## begin gnulib module safe-writeEXTRA_DIST += safe-write.c safe-write.hEXTRA_libtar_a_SOURCES += safe-write.c## end gnulib module safe-write## begin gnulib module same-inodeEXTRA_DIST += same-inode.h## end gnulib module same-inode## begin gnulib module save-cwdEXTRA_DIST += save-cwd.c save-cwd.hEXTRA_libtar_a_SOURCES += save-cwd.c## end gnulib module save-cwd## begin gnulib module savedirEXTRA_DIST += savedir.c savedir.hEXTRA_libtar_a_SOURCES += savedir.c## end gnulib module savedir## begin gnulib module setenvEXTRA_DIST += setenv.cEXTRA_libtar_a_SOURCES += setenv.c## end gnulib module setenv## begin gnulib module sleepEXTRA_DIST += sleep.cEXTRA_libtar_a_SOURCES += sleep.c## end gnulib module sleep## begin gnulib module snprintfEXTRA_DIST += snprintf.cEXTRA_libtar_a_SOURCES += snprintf.c## end gnulib module snprintf## begin gnulib module stat-macrosEXTRA_DIST += stat-macros.h## end gnulib module stat-macros## begin gnulib module stat-timeEXTRA_DIST += stat-time.h## end gnulib module stat-time## begin gnulib module stdargBUILT_SOURCES += $(STDARG_H)# We need the following in order to create <stdarg.h> when the system# doesn't have one that works with the given compiler.stdarg.h: stdarg.in.h rm -f $@-t $@ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \ -e 's|@''NEXT_STDARG_H''@|$(NEXT_STDARG_H)|g' \ < $(srcdir)/stdarg.in.h; \ } > $@-t mv $@-t $@MOSTLYCLEANFILES += stdarg.h stdarg.h-tEXTRA_DIST += stdarg.in.h## end gnulib module stdarg## begin gnulib module stdboolBUILT_SOURCES += $(STDBOOL_H)# We need the following in order to create <stdbool.h> when the system# doesn't have one that works.stdbool.h: stdbool.in.h rm -f $@-t $@ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \ } > $@-t mv $@-t $@MOSTLYCLEANFILES += stdbool.h stdbool.h-tEXTRA_DIST += stdbool.in.h## end gnulib module stdbool## begin gnulib module stdintBUILT_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.stdint.h: stdint.in.h rm -f $@-t $@ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \ -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/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_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' \ < $(srcdir)/stdint.in.h; \ } > $@-t mv $@-t $@MOSTLYCLEANFILES += stdint.h stdint.h-tEXTRA_DIST += stdint.in.h## end gnulib module stdint## begin gnulib module stdioBUILT_SOURCES += stdio.h# 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-tEXTRA_DIST += stdio.in.h## end gnulib module stdio## begin gnulib module stdlibBUILT_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_STRTOD''@|$(GNULIB_STRTOD)|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_STRTOD''@|$(HAVE_STRTOD)|g' \ -e 's|@''HAVE_UNSETENV''@|$(HAVE_UNSETENV)|g' \ -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \ -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \ -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|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-tEXTRA_DIST += stdlib.in.h## end gnulib module stdlib## begin gnulib module stpcpyEXTRA_DIST += stpcpy.cEXTRA_libtar_a_SOURCES += stpcpy.c## end gnulib module stpcpy## begin gnulib module strcaseEXTRA_DIST += strcasecmp.c strncasecmp.cEXTRA_libtar_a_SOURCES += strcasecmp.c strncasecmp.c## end gnulib module strcase## begin gnulib module strchrnulEXTRA_DIST += strchrnul.cEXTRA_libtar_a_SOURCES += strchrnul.c## end gnulib module strchrnul## begin gnulib module strdupEXTRA_DIST += strdup.cEXTRA_libtar_a_SOURCES += strdup.c## end gnulib module strdup## begin gnulib module streq
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -