diff options
| author | Eli Zaretskii | 2013-03-31 17:04:49 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2013-03-31 17:04:49 +0300 |
| commit | a74b0e1bdf0f2f49bce82dd7e15264c5c548d980 (patch) | |
| tree | 298164fad366b018ea71d2b0c791dd3442b43f02 | |
| parent | 65d72c1bf862d339d72d760e7ac8ccbc4837f06b (diff) | |
| download | emacs-a74b0e1bdf0f2f49bce82dd7e15264c5c548d980.tar.gz emacs-a74b0e1bdf0f2f49bce82dd7e15264c5c548d980.zip | |
Added nt/gnulib.mk and removed kludges from ms-w32.h and ntlib.h.
| -rw-r--r-- | configure.ac | 11 | ||||
| -rw-r--r-- | lib-src/Makefile.in | 12 | ||||
| -rw-r--r-- | lib-src/ntlib.c | 14 | ||||
| -rw-r--r-- | lib/Makefile.am | 4 | ||||
| -rw-r--r-- | nt/gnulib.mk | 858 | ||||
| -rw-r--r-- | nt/inc/ms-w32.h | 14 |
6 files changed, 876 insertions, 37 deletions
diff --git a/configure.ac b/configure.ac index c41a0914607..72aa43c29e3 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -599,6 +599,11 @@ else | |||
| 599 | test "x$NON_GCC_TEST_OPTIONS" != x && CC="$CC $NON_GCC_TEST_OPTIONS" | 599 | test "x$NON_GCC_TEST_OPTIONS" != x && CC="$CC $NON_GCC_TEST_OPTIONS" |
| 600 | fi | 600 | fi |
| 601 | 601 | ||
| 602 | dnl This is used in lib/Makefile.am to use nt/gnulib.mk, the | ||
| 603 | dnl alternative to lib/gnulib.mk, so as to avoid generating header files | ||
| 604 | dnl that clash with MinGW. | ||
| 605 | AM_CONDITIONAL([BUILDING_FOR_WINDOWSNT], [test "x$opsys" = "xmingw32"]) | ||
| 606 | |||
| 602 | # Avoid gnulib's tests for HAVE_WORKING_O_NOATIME and HAVE_WORKING_O_NOFOLLOW, | 607 | # Avoid gnulib's tests for HAVE_WORKING_O_NOATIME and HAVE_WORKING_O_NOFOLLOW, |
| 603 | # as we don't use them. | 608 | # as we don't use them. |
| 604 | AC_DEFUN([gl_FCNTL_O_FLAGS]) | 609 | AC_DEFUN([gl_FCNTL_O_FLAGS]) |
| @@ -1027,7 +1032,7 @@ AC_SUBST(C_SWITCH_SYSTEM) | |||
| 1027 | 1032 | ||
| 1028 | LIBS_SYSTEM= | 1033 | LIBS_SYSTEM= |
| 1029 | LIB_WSOCK32= | 1034 | LIB_WSOCK32= |
| 1030 | NTLIB_O= | 1035 | NTLIB= |
| 1031 | case "$opsys" in | 1036 | case "$opsys" in |
| 1032 | ## IBM's X11R5 uses -lIM and -liconv in AIX 3.2.2. | 1037 | ## IBM's X11R5 uses -lIM and -liconv in AIX 3.2.2. |
| 1033 | aix4-2) LIBS_SYSTEM="-lrts -lIM -liconv" ;; | 1038 | aix4-2) LIBS_SYSTEM="-lrts -lIM -liconv" ;; |
| @@ -1043,13 +1048,13 @@ case "$opsys" in | |||
| 1043 | 1048 | ||
| 1044 | mingw32) LIBS_SYSTEM="-lcomctl32" | 1049 | mingw32) LIBS_SYSTEM="-lcomctl32" |
| 1045 | LIB_WSOCK32="$LIB_WSOCK32 -lwsock32" | 1050 | LIB_WSOCK32="$LIB_WSOCK32 -lwsock32" |
| 1046 | NTLIB_O="ntlib.$ac_objext" | 1051 | NTLIB="ntlib.$ac_objext" |
| 1047 | ;; | 1052 | ;; |
| 1048 | esac | 1053 | esac |
| 1049 | 1054 | ||
| 1050 | AC_SUBST(LIBS_SYSTEM) | 1055 | AC_SUBST(LIBS_SYSTEM) |
| 1051 | AC_SUBST(LIB_WSOCK32) | 1056 | AC_SUBST(LIB_WSOCK32) |
| 1052 | AC_SUBST(NTLIB_O) | 1057 | AC_SUBST(NTLIB) |
| 1053 | 1058 | ||
| 1054 | ### Make sure subsequent tests use flags consistent with the build flags. | 1059 | ### Make sure subsequent tests use flags consistent with the build flags. |
| 1055 | 1060 | ||
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in index 903dbfcf7b9..5e40c2555cf 100644 --- a/lib-src/Makefile.in +++ b/lib-src/Makefile.in | |||
| @@ -171,7 +171,7 @@ LIBS_MOVE = $(LIBS_MAIL) $(KRB4LIB) $(DESLIB) $(KRB5LIB) $(CRYPTOLIB) \ | |||
| 171 | $(COM_ERRLIB) $(LIBHESIOD) $(LIBRESOLV) | 171 | $(COM_ERRLIB) $(LIBHESIOD) $(LIBRESOLV) |
| 172 | 172 | ||
| 173 | ## Extra object files for linking emacsclient | 173 | ## Extra object files for linking emacsclient |
| 174 | NTLIB_O = @NTLIB_O@ | 174 | NTLIB = @NTLIB@ |
| 175 | 175 | ||
| 176 | ## Some systems define this to request special libraries. | 176 | ## Some systems define this to request special libraries. |
| 177 | LIBS_SYSTEM = @LIBS_SYSTEM@ | 177 | LIBS_SYSTEM = @LIBS_SYSTEM@ |
| @@ -331,15 +331,15 @@ make-docfile${EXEEXT}: ${srcdir}/make-docfile.c $(config_h) | |||
| 331 | $(CC) ${ALL_CFLAGS} ${srcdir}/make-docfile.c $(LOADLIBES) \ | 331 | $(CC) ${ALL_CFLAGS} ${srcdir}/make-docfile.c $(LOADLIBES) \ |
| 332 | -o make-docfile${EXEEXT} | 332 | -o make-docfile${EXEEXT} |
| 333 | 333 | ||
| 334 | movemail${EXEEXT}: ${srcdir}/movemail.c pop.o $(NTLIB_O) $(config_h) | 334 | movemail${EXEEXT}: ${srcdir}/movemail.c pop.o $(NTLIB) $(config_h) |
| 335 | $(CC) ${ALL_CFLAGS} ${MOVE_FLAGS} ${srcdir}/movemail.c pop.o \ | 335 | $(CC) ${ALL_CFLAGS} ${MOVE_FLAGS} ${srcdir}/movemail.c pop.o \ |
| 336 | $(NTLIB_O) $(LIB_WSOCK32) $(LOADLIBES) $(LIBS_MOVE) \ | 336 | $(NTLIB) $(LIB_WSOCK32) $(LOADLIBES) $(LIBS_MOVE) \ |
| 337 | -o movemail${EXEEXT} | 337 | -o movemail${EXEEXT} |
| 338 | 338 | ||
| 339 | pop.o: ${srcdir}/pop.c ${srcdir}/../lib/min-max.h $(config_h) | 339 | pop.o: ${srcdir}/pop.c ${srcdir}/../lib/min-max.h $(config_h) |
| 340 | $(CC) -c ${CPP_CFLAGS} ${MOVE_FLAGS} ${srcdir}/pop.c | 340 | $(CC) -c ${CPP_CFLAGS} ${MOVE_FLAGS} ${srcdir}/pop.c |
| 341 | 341 | ||
| 342 | emacsclient${EXEEXT}: ${srcdir}/emacsclient.c $(NTLIB_O) $(config_h) | 342 | emacsclient${EXEEXT}: ${srcdir}/emacsclient.c $(NTLIB) $(config_h) |
| 343 | $(CC) ${ALL_CFLAGS} ${srcdir}/emacsclient.c \ | 343 | $(CC) ${ALL_CFLAGS} ${srcdir}/emacsclient.c \ |
| 344 | -DVERSION="\"${version}\"" $(LIB_WSOCK32) \ | 344 | -DVERSION="\"${version}\"" $(LIB_WSOCK32) \ |
| 345 | $(LOADLIBES) $(LIB_FDATASYNC) -o emacsclient${EXEEXT} | 345 | $(LOADLIBES) $(LIB_FDATASYNC) -o emacsclient${EXEEXT} |
| @@ -350,9 +350,9 @@ ntlib.o: ${srcdir}/ntlib.c ${srcdir}/ntlib.h | |||
| 350 | hexl${EXEEXT}: ${srcdir}/hexl.c $(config_h) | 350 | hexl${EXEEXT}: ${srcdir}/hexl.c $(config_h) |
| 351 | $(CC) ${ALL_CFLAGS} ${srcdir}/hexl.c $(LOADLIBES) -o hexl${EXEEXT} | 351 | $(CC) ${ALL_CFLAGS} ${srcdir}/hexl.c $(LOADLIBES) -o hexl${EXEEXT} |
| 352 | 352 | ||
| 353 | update-game-score${EXEEXT}: ${srcdir}/update-game-score.c $(NTLIB_O) $(config_h) | 353 | update-game-score${EXEEXT}: ${srcdir}/update-game-score.c $(NTLIB) $(config_h) |
| 354 | $(CC) ${ALL_CFLAGS} -DHAVE_SHARED_GAME_DIR="\"$(gamedir)\"" \ | 354 | $(CC) ${ALL_CFLAGS} -DHAVE_SHARED_GAME_DIR="\"$(gamedir)\"" \ |
| 355 | ${srcdir}/update-game-score.c $(NTLIB_O) $(LOADLIBES) \ | 355 | ${srcdir}/update-game-score.c $(NTLIB) $(LOADLIBES) \ |
| 356 | -o update-game-score${EXEEXT} | 356 | -o update-game-score${EXEEXT} |
| 357 | 357 | ||
| 358 | ## Makefile ends here. | 358 | ## Makefile ends here. |
diff --git a/lib-src/ntlib.c b/lib-src/ntlib.c index 9dbfda90e00..41b4e3a0cbc 100644 --- a/lib-src/ntlib.c +++ b/lib-src/ntlib.c | |||
| @@ -20,20 +20,6 @@ GNU General Public License for more details. | |||
| 20 | You should have received a copy of the GNU General Public License | 20 | You should have received a copy of the GNU General Public License |
| 21 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | 21 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ |
| 22 | 22 | ||
| 23 | #ifdef __MINGW32__ | ||
| 24 | /* A kludge to avoid including header files in lib/. They cannot be | ||
| 25 | configured-out, and their stuff interferes with what we have | ||
| 26 | defined in this header and in other headers in nt/inc. Yuck! */ | ||
| 27 | #define __need_system_fcntl_h | ||
| 28 | #define _GL_FCNTL_H | ||
| 29 | #define _GL_JUST_INCLUDE_SYSTEM_INTTYPES_H | ||
| 30 | #define _GL_ALREADY_INCLUDING_SIGNAL_H | ||
| 31 | #define _GL_ALREADY_INCLUDING_STDIO_H | ||
| 32 | #define __need_system_stdlib_h | ||
| 33 | #define _GL_TIME_H | ||
| 34 | #define __need_system_sys_stat_h | ||
| 35 | #endif | ||
| 36 | |||
| 37 | #include <windows.h> | 23 | #include <windows.h> |
| 38 | #include <stdlib.h> | 24 | #include <stdlib.h> |
| 39 | #include <stdio.h> | 25 | #include <stdio.h> |
diff --git a/lib/Makefile.am b/lib/Makefile.am index a341609e895..2893dd42d9d 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am | |||
| @@ -7,6 +7,10 @@ noinst_LIBRARIES = | |||
| 7 | AM_CFLAGS = $(GNULIB_WARN_CFLAGS) $(WERROR_CFLAGS) | 7 | AM_CFLAGS = $(GNULIB_WARN_CFLAGS) $(WERROR_CFLAGS) |
| 8 | DEFAULT_INCLUDES = -I. -I$(top_srcdir)/lib -I../src -I$(top_srcdir)/src | 8 | DEFAULT_INCLUDES = -I. -I$(top_srcdir)/lib -I../src -I$(top_srcdir)/src |
| 9 | 9 | ||
| 10 | if BUILDING_FOR_WINDOWSNT | ||
| 11 | include ../nt/gnulib.mk | ||
| 12 | else | ||
| 10 | include gnulib.mk | 13 | include gnulib.mk |
| 11 | 14 | ||
| 12 | libgnu_a_SOURCES += openat-die.c save-cwd.c | 15 | libgnu_a_SOURCES += openat-die.c save-cwd.c |
| 16 | endif | ||
diff --git a/nt/gnulib.mk b/nt/gnulib.mk new file mode 100644 index 00000000000..d0fa88239dc --- /dev/null +++ b/nt/gnulib.mk | |||
| @@ -0,0 +1,858 @@ | |||
| 1 | ## This file is an edited copy if ../lib/gnulib.mk. | ||
| 2 | ## | ||
| 3 | ## The purpose of the edits is to avoid generating any headers | ||
| 4 | ## which would conflict with either the headers we have in nt/inc, | ||
| 5 | ## or with MinGW system headers and subsequent redirection of some | ||
| 6 | ## functions in nt/inc/ms-w32.h. | ||
| 7 | ## | ||
| 8 | ## In general, do NOT remove anything from ../lib/gnulib.mk that | ||
| 9 | ## doesn't need to be removed, to minimize the differences from | ||
| 10 | ## upstream gnulib.mk and thus make the maintenance easier. Every | ||
| 11 | ## header file whose generation is controlled by configure-time tests | ||
| 12 | ## does NOT need to be removed; instead, force the configure script to | ||
| 13 | ## accept whatever MinGW has to offer, by defining the appropriate | ||
| 14 | ## Autoconf variable in the nt/mingw-cfg.site file. Headers that are | ||
| 15 | ## generated conditionally have the tell-tale "if GL_GENERATE_foo_H" | ||
| 16 | ## condition before their Makefile snippet in this file. Likewise, do | ||
| 17 | ## NOT remove gnulib modules which introduce header files that don't | ||
| 18 | ## exist in MinGW and in nt/inc/, since they cannot possibly clash | ||
| 19 | ## with anything. Gnulib modules that introduce source *.c files also | ||
| 20 | ## need not be removed; if they define functions that could clash with | ||
| 21 | ## the w32 substitutes in Emacs, disable their compilation by defining | ||
| 22 | ## suitable variables in nt/mingw-cfg.site. | ||
| 23 | ## | ||
| 24 | ## Process this file with automake to produce Makefile.in. | ||
| 25 | # Copyright (C) 2002-2013 Free Software Foundation, Inc. | ||
| 26 | # | ||
| 27 | # This file is free software; you can redistribute it and/or modify | ||
| 28 | # it under the terms of the GNU General Public License as published by | ||
| 29 | # the Free Software Foundation; either version 3 of the License, or | ||
| 30 | # (at your option) any later version. | ||
| 31 | # | ||
| 32 | # This file is distributed in the hope that it will be useful, | ||
| 33 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 34 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 35 | # GNU General Public License for more details. | ||
| 36 | # | ||
| 37 | # You should have received a copy of the GNU General Public License | ||
| 38 | # along with this file. If not, see <http://www.gnu.org/licenses/>. | ||
| 39 | # | ||
| 40 | # As a special exception to the GNU General Public License, | ||
| 41 | # this file may be distributed as part of a program that | ||
| 42 | # contains a configuration script generated by Autoconf, under | ||
| 43 | # the same distribution terms as the rest of that program. | ||
| 44 | # | ||
| 45 | # Generated by gnulib-tool. | ||
| 46 | # Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --avoid=dup --avoid=errno --avoid=fchdir --avoid=fcntl --avoid=fstat --avoid=malloc-posix --avoid=msvc-inval --avoid=msvc-nothrow --avoid=open --avoid=openat-die --avoid=opendir --avoid=raise --avoid=save-cwd --avoid=select --avoid=sigprocmask --avoid=sys_types --avoid=threadlib --makefile-name=gnulib.mk --conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files alloca-opt c-ctype c-strcase careadlinkat close-stream crypto/md5 crypto/sha1 crypto/sha256 crypto/sha512 dtoastr dtotimespec dup2 environ execinfo faccessat fcntl-h fdatasync fdopendir filemode fstatat fsync getloadavg getopt-gnu gettime gettimeofday ignore-value intprops largefile lstat manywarnings memrchr mktime pselect pthread_sigmask putenv readlink readlinkat sig2str socklen stat-time stdalign stdarg stdbool stdio strftime strtoimax strtoumax symlink sys_stat sys_time time timer-time timespec-add timespec-sub unsetenv utimens warnings | ||
| 47 | |||
| 48 | |||
| 49 | MOSTLYCLEANFILES += core *.stackdump | ||
| 50 | |||
| 51 | noinst_LIBRARIES += libgnu.a | ||
| 52 | |||
| 53 | libgnu_a_SOURCES = | ||
| 54 | libgnu_a_LIBADD = $(gl_LIBOBJS) | ||
| 55 | libgnu_a_DEPENDENCIES = $(gl_LIBOBJS) | ||
| 56 | EXTRA_libgnu_a_SOURCES = | ||
| 57 | |||
| 58 | ## begin gnulib module alloca-opt | ||
| 59 | |||
| 60 | BUILT_SOURCES += $(ALLOCA_H) | ||
| 61 | |||
| 62 | # We need the following in order to create <alloca.h> when the system | ||
| 63 | # doesn't have one that works with the given compiler. | ||
| 64 | if GL_GENERATE_ALLOCA_H | ||
| 65 | alloca.h: alloca.in.h $(top_builddir)/config.status | ||
| 66 | $(AM_V_GEN)rm -f $@-t $@ && \ | ||
| 67 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | ||
| 68 | cat $(srcdir)/alloca.in.h; \ | ||
| 69 | } > $@-t && \ | ||
| 70 | mv -f $@-t $@ | ||
| 71 | else | ||
| 72 | alloca.h: $(top_builddir)/config.status | ||
| 73 | rm -f $@ | ||
| 74 | endif | ||
| 75 | MOSTLYCLEANFILES += alloca.h alloca.h-t | ||
| 76 | |||
| 77 | EXTRA_DIST += alloca.in.h | ||
| 78 | |||
| 79 | ## end gnulib module alloca-opt | ||
| 80 | |||
| 81 | ## begin gnulib module c-ctype | ||
| 82 | |||
| 83 | libgnu_a_SOURCES += c-ctype.h c-ctype.c | ||
| 84 | |||
| 85 | ## end gnulib module c-ctype | ||
| 86 | |||
| 87 | ## begin gnulib module c-strcase | ||
| 88 | |||
| 89 | libgnu_a_SOURCES += c-strcase.h c-strcasecmp.c c-strncasecmp.c | ||
| 90 | |||
| 91 | ## end gnulib module c-strcase | ||
| 92 | |||
| 93 | ## begin gnulib module close-stream | ||
| 94 | |||
| 95 | libgnu_a_SOURCES += close-stream.c | ||
| 96 | |||
| 97 | EXTRA_DIST += close-stream.h | ||
| 98 | |||
| 99 | ## end gnulib module close-stream | ||
| 100 | |||
| 101 | ## begin gnulib module crypto/md5 | ||
| 102 | |||
| 103 | libgnu_a_SOURCES += md5.c | ||
| 104 | |||
| 105 | EXTRA_DIST += md5.h | ||
| 106 | |||
| 107 | ## end gnulib module crypto/md5 | ||
| 108 | |||
| 109 | ## begin gnulib module crypto/sha1 | ||
| 110 | |||
| 111 | libgnu_a_SOURCES += sha1.c | ||
| 112 | |||
| 113 | EXTRA_DIST += sha1.h | ||
| 114 | |||
| 115 | ## end gnulib module crypto/sha1 | ||
| 116 | |||
| 117 | ## begin gnulib module crypto/sha256 | ||
| 118 | |||
| 119 | libgnu_a_SOURCES += sha256.c | ||
| 120 | |||
| 121 | EXTRA_DIST += sha256.h | ||
| 122 | |||
| 123 | ## end gnulib module crypto/sha256 | ||
| 124 | |||
| 125 | ## begin gnulib module crypto/sha512 | ||
| 126 | |||
| 127 | libgnu_a_SOURCES += sha512.c | ||
| 128 | |||
| 129 | EXTRA_DIST += sha512.h | ||
| 130 | |||
| 131 | ## end gnulib module crypto/sha512 | ||
| 132 | |||
| 133 | ## begin gnulib module dosname | ||
| 134 | |||
| 135 | if gl_GNULIB_ENABLED_dosname | ||
| 136 | |||
| 137 | endif | ||
| 138 | EXTRA_DIST += dosname.h | ||
| 139 | |||
| 140 | ## end gnulib module dosname | ||
| 141 | |||
| 142 | ## begin gnulib module dtoastr | ||
| 143 | |||
| 144 | libgnu_a_SOURCES += dtoastr.c | ||
| 145 | |||
| 146 | EXTRA_DIST += ftoastr.c ftoastr.h | ||
| 147 | |||
| 148 | EXTRA_libgnu_a_SOURCES += ftoastr.c | ||
| 149 | |||
| 150 | ## end gnulib module dtoastr | ||
| 151 | |||
| 152 | ## begin gnulib module dtotimespec | ||
| 153 | |||
| 154 | libgnu_a_SOURCES += dtotimespec.c | ||
| 155 | |||
| 156 | ## end gnulib module dtotimespec | ||
| 157 | |||
| 158 | ## begin gnulib module dup2 | ||
| 159 | |||
| 160 | |||
| 161 | EXTRA_DIST += dup2.c | ||
| 162 | |||
| 163 | EXTRA_libgnu_a_SOURCES += dup2.c | ||
| 164 | |||
| 165 | ## end gnulib module dup2 | ||
| 166 | |||
| 167 | ## begin gnulib module euidaccess | ||
| 168 | |||
| 169 | if gl_GNULIB_ENABLED_euidaccess | ||
| 170 | |||
| 171 | endif | ||
| 172 | EXTRA_DIST += euidaccess.c | ||
| 173 | |||
| 174 | EXTRA_libgnu_a_SOURCES += euidaccess.c | ||
| 175 | |||
| 176 | ## end gnulib module euidaccess | ||
| 177 | |||
| 178 | ## begin gnulib module execinfo | ||
| 179 | |||
| 180 | BUILT_SOURCES += $(EXECINFO_H) | ||
| 181 | |||
| 182 | # We need the following in order to create <execinfo.h> when the system | ||
| 183 | # doesn't have one that works. | ||
| 184 | if GL_GENERATE_EXECINFO_H | ||
| 185 | execinfo.h: execinfo.in.h $(top_builddir)/config.status | ||
| 186 | $(AM_V_GEN)rm -f $@-t $@ && \ | ||
| 187 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | ||
| 188 | cat $(srcdir)/execinfo.in.h; \ | ||
| 189 | } > $@-t && \ | ||
| 190 | mv $@-t $@ | ||
| 191 | else | ||
| 192 | execinfo.h: $(top_builddir)/config.status | ||
| 193 | rm -f $@ | ||
| 194 | endif | ||
| 195 | MOSTLYCLEANFILES += execinfo.h execinfo.h-t | ||
| 196 | |||
| 197 | EXTRA_DIST += execinfo.c execinfo.in.h | ||
| 198 | |||
| 199 | EXTRA_libgnu_a_SOURCES += execinfo.c | ||
| 200 | |||
| 201 | ## end gnulib module execinfo | ||
| 202 | |||
| 203 | ## begin gnulib module faccessat | ||
| 204 | |||
| 205 | |||
| 206 | EXTRA_DIST += at-func.c faccessat.c | ||
| 207 | |||
| 208 | EXTRA_libgnu_a_SOURCES += at-func.c faccessat.c | ||
| 209 | |||
| 210 | ## end gnulib module faccessat | ||
| 211 | |||
| 212 | ## begin gnulib module fdatasync | ||
| 213 | |||
| 214 | |||
| 215 | EXTRA_DIST += fdatasync.c | ||
| 216 | |||
| 217 | EXTRA_libgnu_a_SOURCES += fdatasync.c | ||
| 218 | |||
| 219 | ## end gnulib module fdatasync | ||
| 220 | |||
| 221 | ## begin gnulib module fdopendir | ||
| 222 | |||
| 223 | |||
| 224 | EXTRA_DIST += fdopendir.c | ||
| 225 | |||
| 226 | EXTRA_libgnu_a_SOURCES += fdopendir.c | ||
| 227 | |||
| 228 | ## end gnulib module fdopendir | ||
| 229 | |||
| 230 | ## begin gnulib module filemode | ||
| 231 | |||
| 232 | libgnu_a_SOURCES += filemode.c | ||
| 233 | |||
| 234 | EXTRA_DIST += filemode.h | ||
| 235 | |||
| 236 | ## end gnulib module filemode | ||
| 237 | |||
| 238 | ## begin gnulib module fpending | ||
| 239 | |||
| 240 | |||
| 241 | EXTRA_DIST += fpending.c fpending.h | ||
| 242 | |||
| 243 | EXTRA_libgnu_a_SOURCES += fpending.c | ||
| 244 | |||
| 245 | ## end gnulib module fpending | ||
| 246 | |||
| 247 | ## begin gnulib module fstatat | ||
| 248 | |||
| 249 | |||
| 250 | EXTRA_DIST += at-func.c fstatat.c | ||
| 251 | |||
| 252 | EXTRA_libgnu_a_SOURCES += at-func.c fstatat.c | ||
| 253 | |||
| 254 | ## end gnulib module fstatat | ||
| 255 | |||
| 256 | ## begin gnulib module fsync | ||
| 257 | |||
| 258 | |||
| 259 | EXTRA_DIST += fsync.c | ||
| 260 | |||
| 261 | EXTRA_libgnu_a_SOURCES += fsync.c | ||
| 262 | |||
| 263 | ## end gnulib module fsync | ||
| 264 | |||
| 265 | ## begin gnulib module getgroups | ||
| 266 | |||
| 267 | if gl_GNULIB_ENABLED_getgroups | ||
| 268 | |||
| 269 | endif | ||
| 270 | EXTRA_DIST += getgroups.c | ||
| 271 | |||
| 272 | EXTRA_libgnu_a_SOURCES += getgroups.c | ||
| 273 | |||
| 274 | ## end gnulib module getgroups | ||
| 275 | |||
| 276 | ## begin gnulib module getloadavg | ||
| 277 | |||
| 278 | |||
| 279 | EXTRA_DIST += getloadavg.c | ||
| 280 | |||
| 281 | EXTRA_libgnu_a_SOURCES += getloadavg.c | ||
| 282 | |||
| 283 | ## end gnulib module getloadavg | ||
| 284 | |||
| 285 | ## begin gnulib module getopt-posix | ||
| 286 | |||
| 287 | BUILT_SOURCES += $(GETOPT_H) | ||
| 288 | |||
| 289 | # We need the following in order to create <getopt.h> when the system | ||
| 290 | # doesn't have one that works with the given compiler. | ||
| 291 | getopt.h: getopt.in.h $(top_builddir)/config.status $(ARG_NONNULL_H) | ||
| 292 | $(AM_V_GEN)rm -f $@-t $@ && \ | ||
| 293 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | ||
| 294 | sed -e 's|@''GUARD_PREFIX''@|GL|g' \ | ||
| 295 | -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \ | ||
| 296 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | ||
| 297 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | ||
| 298 | -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ | ||
| 299 | -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \ | ||
| 300 | -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ | ||
| 301 | < $(srcdir)/getopt.in.h; \ | ||
| 302 | } > $@-t && \ | ||
| 303 | mv -f $@-t $@ | ||
| 304 | MOSTLYCLEANFILES += getopt.h getopt.h-t | ||
| 305 | |||
| 306 | EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h | ||
| 307 | |||
| 308 | EXTRA_libgnu_a_SOURCES += getopt.c getopt1.c | ||
| 309 | |||
| 310 | ## end gnulib module getopt-posix | ||
| 311 | |||
| 312 | ## begin gnulib module gettext-h | ||
| 313 | |||
| 314 | if gl_GNULIB_ENABLED_be453cec5eecf5731a274f2de7f2db36 | ||
| 315 | libgnu_a_SOURCES += gettext.h | ||
| 316 | |||
| 317 | endif | ||
| 318 | ## end gnulib module gettext-h | ||
| 319 | |||
| 320 | ## begin gnulib module gettime | ||
| 321 | |||
| 322 | libgnu_a_SOURCES += gettime.c | ||
| 323 | |||
| 324 | ## end gnulib module gettime | ||
| 325 | |||
| 326 | ## begin gnulib module gettimeofday | ||
| 327 | |||
| 328 | |||
| 329 | EXTRA_DIST += gettimeofday.c | ||
| 330 | |||
| 331 | EXTRA_libgnu_a_SOURCES += gettimeofday.c | ||
| 332 | |||
| 333 | ## end gnulib module gettimeofday | ||
| 334 | |||
| 335 | ## begin gnulib module group-member | ||
| 336 | |||
| 337 | if gl_GNULIB_ENABLED_a9786850e999ae65a836a6041e8e5ed1 | ||
| 338 | |||
| 339 | endif | ||
| 340 | EXTRA_DIST += group-member.c | ||
| 341 | |||
| 342 | EXTRA_libgnu_a_SOURCES += group-member.c | ||
| 343 | |||
| 344 | ## end gnulib module group-member | ||
| 345 | |||
| 346 | ## begin gnulib module ignore-value | ||
| 347 | |||
| 348 | |||
| 349 | EXTRA_DIST += ignore-value.h | ||
| 350 | |||
| 351 | ## end gnulib module ignore-value | ||
| 352 | |||
| 353 | ## begin gnulib module intprops | ||
| 354 | |||
| 355 | |||
| 356 | EXTRA_DIST += intprops.h | ||
| 357 | |||
| 358 | ## end gnulib module intprops | ||
| 359 | |||
| 360 | ## begin gnulib module lstat | ||
| 361 | |||
| 362 | |||
| 363 | EXTRA_DIST += lstat.c | ||
| 364 | |||
| 365 | EXTRA_libgnu_a_SOURCES += lstat.c | ||
| 366 | |||
| 367 | ## end gnulib module lstat | ||
| 368 | |||
| 369 | ## begin gnulib module memrchr | ||
| 370 | |||
| 371 | |||
| 372 | EXTRA_DIST += memrchr.c | ||
| 373 | |||
| 374 | EXTRA_libgnu_a_SOURCES += memrchr.c | ||
| 375 | |||
| 376 | ## end gnulib module memrchr | ||
| 377 | |||
| 378 | ## begin gnulib module mktime | ||
| 379 | |||
| 380 | |||
| 381 | EXTRA_DIST += mktime-internal.h mktime.c | ||
| 382 | |||
| 383 | EXTRA_libgnu_a_SOURCES += mktime.c | ||
| 384 | |||
| 385 | ## end gnulib module mktime | ||
| 386 | |||
| 387 | ## begin gnulib module openat-h | ||
| 388 | |||
| 389 | if gl_GNULIB_ENABLED_03e0aaad4cb89ca757653bd367a6ccb7 | ||
| 390 | |||
| 391 | endif | ||
| 392 | EXTRA_DIST += openat.h | ||
| 393 | |||
| 394 | ## end gnulib module openat-h | ||
| 395 | |||
| 396 | ## begin gnulib module pathmax | ||
| 397 | |||
| 398 | if gl_GNULIB_ENABLED_pathmax | ||
| 399 | |||
| 400 | endif | ||
| 401 | EXTRA_DIST += pathmax.h | ||
| 402 | |||
| 403 | ## end gnulib module pathmax | ||
| 404 | |||
| 405 | ## begin gnulib module pselect | ||
| 406 | |||
| 407 | |||
| 408 | EXTRA_DIST += pselect.c | ||
| 409 | |||
| 410 | EXTRA_libgnu_a_SOURCES += pselect.c | ||
| 411 | |||
| 412 | ## end gnulib module pselect | ||
| 413 | |||
| 414 | ## begin gnulib module pthread_sigmask | ||
| 415 | |||
| 416 | |||
| 417 | EXTRA_DIST += pthread_sigmask.c | ||
| 418 | |||
| 419 | EXTRA_libgnu_a_SOURCES += pthread_sigmask.c | ||
| 420 | |||
| 421 | ## end gnulib module pthread_sigmask | ||
| 422 | |||
| 423 | ## begin gnulib module putenv | ||
| 424 | |||
| 425 | |||
| 426 | EXTRA_DIST += putenv.c | ||
| 427 | |||
| 428 | EXTRA_libgnu_a_SOURCES += putenv.c | ||
| 429 | |||
| 430 | ## end gnulib module putenv | ||
| 431 | |||
| 432 | ## begin gnulib module readlink | ||
| 433 | |||
| 434 | |||
| 435 | EXTRA_DIST += readlink.c | ||
| 436 | |||
| 437 | EXTRA_libgnu_a_SOURCES += readlink.c | ||
| 438 | |||
| 439 | ## end gnulib module readlink | ||
| 440 | |||
| 441 | ## begin gnulib module readlinkat | ||
| 442 | |||
| 443 | |||
| 444 | EXTRA_DIST += at-func.c readlinkat.c | ||
| 445 | |||
| 446 | EXTRA_libgnu_a_SOURCES += at-func.c readlinkat.c | ||
| 447 | |||
| 448 | ## end gnulib module readlinkat | ||
| 449 | |||
| 450 | ## begin gnulib module root-uid | ||
| 451 | |||
| 452 | if gl_GNULIB_ENABLED_6099e9737f757db36c47fa9d9f02e88c | ||
| 453 | |||
| 454 | endif | ||
| 455 | EXTRA_DIST += root-uid.h | ||
| 456 | |||
| 457 | ## end gnulib module root-uid | ||
| 458 | |||
| 459 | ## begin gnulib module sig2str | ||
| 460 | |||
| 461 | |||
| 462 | EXTRA_DIST += sig2str.c sig2str.h | ||
| 463 | |||
| 464 | EXTRA_libgnu_a_SOURCES += sig2str.c | ||
| 465 | |||
| 466 | ## end gnulib module sig2str | ||
| 467 | |||
| 468 | ## begin gnulib module snippet/_Noreturn | ||
| 469 | |||
| 470 | # Because this Makefile snippet defines a variable used by other | ||
| 471 | # gnulib Makefile snippets, it must be present in all Makefile.am that | ||
| 472 | # need it. This is ensured by the applicability 'all' defined above. | ||
| 473 | |||
| 474 | _NORETURN_H=$(top_srcdir)/build-aux/snippet/_Noreturn.h | ||
| 475 | |||
| 476 | EXTRA_DIST += $(top_srcdir)/build-aux/snippet/_Noreturn.h | ||
| 477 | |||
| 478 | ## end gnulib module snippet/_Noreturn | ||
| 479 | |||
| 480 | ## begin gnulib module snippet/arg-nonnull | ||
| 481 | |||
| 482 | # The BUILT_SOURCES created by this Makefile snippet are not used via #include | ||
| 483 | # statements but through direct file reference. Therefore this snippet must be | ||
| 484 | # present in all Makefile.am that need it. This is ensured by the applicability | ||
| 485 | # 'all' defined above. | ||
| 486 | |||
| 487 | BUILT_SOURCES += arg-nonnull.h | ||
| 488 | # The arg-nonnull.h that gets inserted into generated .h files is the same as | ||
| 489 | # build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut | ||
| 490 | # off. | ||
| 491 | arg-nonnull.h: $(top_srcdir)/build-aux/snippet/arg-nonnull.h | ||
| 492 | $(AM_V_GEN)rm -f $@-t $@ && \ | ||
| 493 | sed -n -e '/GL_ARG_NONNULL/,$$p' \ | ||
| 494 | < $(top_srcdir)/build-aux/snippet/arg-nonnull.h \ | ||
| 495 | > $@-t && \ | ||
| 496 | mv $@-t $@ | ||
| 497 | MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t | ||
| 498 | |||
| 499 | ARG_NONNULL_H=arg-nonnull.h | ||
| 500 | |||
| 501 | EXTRA_DIST += $(top_srcdir)/build-aux/snippet/arg-nonnull.h | ||
| 502 | |||
| 503 | ## end gnulib module snippet/arg-nonnull | ||
| 504 | |||
| 505 | ## begin gnulib module snippet/c++defs | ||
| 506 | |||
| 507 | # The BUILT_SOURCES created by this Makefile snippet are not used via #include | ||
| 508 | # statements but through direct file reference. Therefore this snippet must be | ||
| 509 | # present in all Makefile.am that need it. This is ensured by the applicability | ||
| 510 | # 'all' defined above. | ||
| 511 | |||
| 512 | BUILT_SOURCES += c++defs.h | ||
| 513 | # The c++defs.h that gets inserted into generated .h files is the same as | ||
| 514 | # build-aux/snippet/c++defs.h, except that it has the copyright header cut off. | ||
| 515 | c++defs.h: $(top_srcdir)/build-aux/snippet/c++defs.h | ||
| 516 | $(AM_V_GEN)rm -f $@-t $@ && \ | ||
| 517 | sed -n -e '/_GL_CXXDEFS/,$$p' \ | ||
| 518 | < $(top_srcdir)/build-aux/snippet/c++defs.h \ | ||
| 519 | > $@-t && \ | ||
| 520 | mv $@-t $@ | ||
| 521 | MOSTLYCLEANFILES += c++defs.h c++defs.h-t | ||
| 522 | |||
| 523 | CXXDEFS_H=c++defs.h | ||
| 524 | |||
| 525 | EXTRA_DIST += $(top_srcdir)/build-aux/snippet/c++defs.h | ||
| 526 | |||
| 527 | ## end gnulib module snippet/c++defs | ||
| 528 | |||
| 529 | ## begin gnulib module snippet/warn-on-use | ||
| 530 | |||
| 531 | BUILT_SOURCES += warn-on-use.h | ||
| 532 | # The warn-on-use.h that gets inserted into generated .h files is the same as | ||
| 533 | # build-aux/snippet/warn-on-use.h, except that it has the copyright header cut | ||
| 534 | # off. | ||
| 535 | warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h | ||
| 536 | $(AM_V_GEN)rm -f $@-t $@ && \ | ||
| 537 | sed -n -e '/^.ifndef/,$$p' \ | ||
| 538 | < $(top_srcdir)/build-aux/snippet/warn-on-use.h \ | ||
| 539 | > $@-t && \ | ||
| 540 | mv $@-t $@ | ||
| 541 | MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t | ||
| 542 | |||
| 543 | WARN_ON_USE_H=warn-on-use.h | ||
| 544 | |||
| 545 | EXTRA_DIST += $(top_srcdir)/build-aux/snippet/warn-on-use.h | ||
| 546 | |||
| 547 | ## end gnulib module snippet/warn-on-use | ||
| 548 | |||
| 549 | ## begin gnulib module stat | ||
| 550 | |||
| 551 | if gl_GNULIB_ENABLED_stat | ||
| 552 | |||
| 553 | endif | ||
| 554 | EXTRA_DIST += stat.c | ||
| 555 | |||
| 556 | EXTRA_libgnu_a_SOURCES += stat.c | ||
| 557 | |||
| 558 | ## end gnulib module stat | ||
| 559 | |||
| 560 | ## begin gnulib module stat-time | ||
| 561 | |||
| 562 | libgnu_a_SOURCES += stat-time.c | ||
| 563 | |||
| 564 | EXTRA_DIST += stat-time.h | ||
| 565 | |||
| 566 | ## end gnulib module stat-time | ||
| 567 | |||
| 568 | ## begin gnulib module stdalign | ||
| 569 | |||
| 570 | BUILT_SOURCES += $(STDALIGN_H) | ||
| 571 | |||
| 572 | # We need the following in order to create <stdalign.h> when the system | ||
| 573 | # doesn't have one that works. | ||
| 574 | if GL_GENERATE_STDALIGN_H | ||
| 575 | stdalign.h: stdalign.in.h $(top_builddir)/config.status | ||
| 576 | $(AM_V_GEN)rm -f $@-t $@ && \ | ||
| 577 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | ||
| 578 | cat $(srcdir)/stdalign.in.h; \ | ||
| 579 | } > $@-t && \ | ||
| 580 | mv $@-t $@ | ||
| 581 | else | ||
| 582 | stdalign.h: $(top_builddir)/config.status | ||
| 583 | rm -f $@ | ||
| 584 | endif | ||
| 585 | MOSTLYCLEANFILES += stdalign.h stdalign.h-t | ||
| 586 | |||
| 587 | EXTRA_DIST += stdalign.in.h | ||
| 588 | |||
| 589 | ## end gnulib module stdalign | ||
| 590 | |||
| 591 | ## begin gnulib module stdarg | ||
| 592 | |||
| 593 | BUILT_SOURCES += $(STDARG_H) | ||
| 594 | |||
| 595 | # We need the following in order to create <stdarg.h> when the system | ||
| 596 | # doesn't have one that works with the given compiler. | ||
| 597 | if GL_GENERATE_STDARG_H | ||
| 598 | stdarg.h: stdarg.in.h $(top_builddir)/config.status | ||
| 599 | $(AM_V_GEN)rm -f $@-t $@ && \ | ||
| 600 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ | ||
| 601 | sed -e 's|@''GUARD_PREFIX''@|GL|g' \ | ||
| 602 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | ||
| 603 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | ||
| 604 | -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ | ||
| 605 | -e 's|@''NEXT_STDARG_H''@|$(NEXT_STDARG_H)|g' \ | ||
| 606 | < $(srcdir)/stdarg.in.h; \ | ||
| 607 | } > $@-t && \ | ||
| 608 | mv $@-t $@ | ||
| 609 | else | ||
| 610 | stdarg.h: $(top_builddir)/config.status | ||
| 611 | rm -f $@ | ||
| 612 | endif | ||
| 613 | MOSTLYCLEANFILES += stdarg.h stdarg.h-t | ||
| 614 | |||
| 615 | EXTRA_DIST += stdarg.in.h | ||
| 616 | |||
| 617 | ## end gnulib module stdarg | ||
| 618 | |||
| 619 | ## begin gnulib module stdbool | ||
| 620 | |||
| 621 | BUILT_SOURCES += $(STDBOOL_H) | ||
| 622 | |||
| 623 | # We need the following in order to create <stdbool.h> when the system | ||
| 624 | # doesn't have one that works. | ||
| 625 | if GL_GENERATE_STDBOOL_H | ||
| 626 | stdbool.h: stdbool.in.h $(top_builddir)/config.status | ||
| 627 | $(AM_V_GEN)rm -f $@-t $@ && \ | ||
| 628 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | ||
| 629 | sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \ | ||
| 630 | } > $@-t && \ | ||
| 631 | mv $@-t $@ | ||
| 632 | else | ||
| 633 | stdbool.h: $(top_builddir)/config.status | ||
| 634 | rm -f $@ | ||
| 635 | endif | ||
| 636 | MOSTLYCLEANFILES += stdbool.h stdbool.h-t | ||
| 637 | |||
| 638 | EXTRA_DIST += stdbool.in.h | ||
| 639 | |||
| 640 | ## end gnulib module stdbool | ||
| 641 | |||
| 642 | ## begin gnulib module stddef | ||
| 643 | |||
| 644 | BUILT_SOURCES += $(STDDEF_H) | ||
| 645 | |||
| 646 | # We need the following in order to create <stddef.h> when the system | ||
| 647 | # doesn't have one that works with the given compiler. | ||
| 648 | if GL_GENERATE_STDDEF_H | ||
| 649 | stddef.h: stddef.in.h $(top_builddir)/config.status | ||
| 650 | $(AM_V_GEN)rm -f $@-t $@ && \ | ||
| 651 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ | ||
| 652 | sed -e 's|@''GUARD_PREFIX''@|GL|g' \ | ||
| 653 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | ||
| 654 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | ||
| 655 | -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ | ||
| 656 | -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \ | ||
| 657 | -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \ | ||
| 658 | -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \ | ||
| 659 | < $(srcdir)/stddef.in.h; \ | ||
| 660 | } > $@-t && \ | ||
| 661 | mv $@-t $@ | ||
| 662 | else | ||
| 663 | stddef.h: $(top_builddir)/config.status | ||
| 664 | rm -f $@ | ||
| 665 | endif | ||
| 666 | MOSTLYCLEANFILES += stddef.h stddef.h-t | ||
| 667 | |||
| 668 | EXTRA_DIST += stddef.in.h | ||
| 669 | |||
| 670 | ## end gnulib module stddef | ||
| 671 | |||
| 672 | ## begin gnulib module stdint | ||
| 673 | |||
| 674 | BUILT_SOURCES += $(STDINT_H) | ||
| 675 | |||
| 676 | # We need the following in order to create <stdint.h> when the system | ||
| 677 | # doesn't have one that works with the given compiler. | ||
| 678 | if GL_GENERATE_STDINT_H | ||
| 679 | stdint.h: stdint.in.h $(top_builddir)/config.status | ||
| 680 | $(AM_V_GEN)rm -f $@-t $@ && \ | ||
| 681 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | ||
| 682 | sed -e 's|@''GUARD_PREFIX''@|GL|g' \ | ||
| 683 | -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \ | ||
| 684 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | ||
| 685 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | ||
| 686 | -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ | ||
| 687 | -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \ | ||
| 688 | -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \ | ||
| 689 | -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \ | ||
| 690 | -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \ | ||
| 691 | -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \ | ||
| 692 | -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \ | ||
| 693 | -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \ | ||
| 694 | -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \ | ||
| 695 | -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \ | ||
| 696 | -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \ | ||
| 697 | -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \ | ||
| 698 | -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \ | ||
| 699 | -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \ | ||
| 700 | -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \ | ||
| 701 | -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \ | ||
| 702 | -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \ | ||
| 703 | -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \ | ||
| 704 | -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \ | ||
| 705 | -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \ | ||
| 706 | -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \ | ||
| 707 | -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \ | ||
| 708 | -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \ | ||
| 709 | < $(srcdir)/stdint.in.h; \ | ||
| 710 | } > $@-t && \ | ||
| 711 | mv $@-t $@ | ||
| 712 | else | ||
| 713 | stdint.h: $(top_builddir)/config.status | ||
| 714 | rm -f $@ | ||
| 715 | endif | ||
| 716 | MOSTLYCLEANFILES += stdint.h stdint.h-t | ||
| 717 | |||
| 718 | EXTRA_DIST += stdint.in.h | ||
| 719 | |||
| 720 | ## end gnulib module stdint | ||
| 721 | |||
| 722 | ## begin gnulib module strftime | ||
| 723 | |||
| 724 | libgnu_a_SOURCES += strftime.c | ||
| 725 | |||
| 726 | EXTRA_DIST += strftime.h | ||
| 727 | |||
| 728 | ## end gnulib module strftime | ||
| 729 | |||
| 730 | ## begin gnulib module strtoimax | ||
| 731 | |||
| 732 | |||
| 733 | EXTRA_DIST += strtoimax.c | ||
| 734 | |||
| 735 | EXTRA_libgnu_a_SOURCES += strtoimax.c | ||
| 736 | |||
| 737 | ## end gnulib module strtoimax | ||
| 738 | |||
| 739 | ## begin gnulib module strtoll | ||
| 740 | |||
| 741 | if gl_GNULIB_ENABLED_strtoll | ||
| 742 | |||
| 743 | endif | ||
| 744 | EXTRA_DIST += strtol.c strtoll.c | ||
| 745 | |||
| 746 | EXTRA_libgnu_a_SOURCES += strtol.c strtoll.c | ||
| 747 | |||
| 748 | ## end gnulib module strtoll | ||
| 749 | |||
| 750 | ## begin gnulib module strtoull | ||
| 751 | |||
| 752 | if gl_GNULIB_ENABLED_strtoull | ||
| 753 | |||
| 754 | endif | ||
| 755 | EXTRA_DIST += strtol.c strtoul.c strtoull.c | ||
| 756 | |||
| 757 | EXTRA_libgnu_a_SOURCES += strtol.c strtoul.c strtoull.c | ||
| 758 | |||
| 759 | ## end gnulib module strtoull | ||
| 760 | |||
| 761 | ## begin gnulib module strtoumax | ||
| 762 | |||
| 763 | |||
| 764 | EXTRA_DIST += strtoimax.c strtoumax.c | ||
| 765 | |||
| 766 | EXTRA_libgnu_a_SOURCES += strtoimax.c strtoumax.c | ||
| 767 | |||
| 768 | ## end gnulib module strtoumax | ||
| 769 | |||
| 770 | ## begin gnulib module symlink | ||
| 771 | |||
| 772 | |||
| 773 | EXTRA_DIST += symlink.c | ||
| 774 | |||
| 775 | EXTRA_libgnu_a_SOURCES += symlink.c | ||
| 776 | |||
| 777 | ## end gnulib module symlink | ||
| 778 | |||
| 779 | ## begin gnulib module time_r | ||
| 780 | |||
| 781 | |||
| 782 | EXTRA_DIST += time_r.c | ||
| 783 | |||
| 784 | EXTRA_libgnu_a_SOURCES += time_r.c | ||
| 785 | |||
| 786 | ## end gnulib module time_r | ||
| 787 | |||
| 788 | ## begin gnulib module timespec | ||
| 789 | |||
| 790 | libgnu_a_SOURCES += timespec.c | ||
| 791 | |||
| 792 | EXTRA_DIST += timespec.h | ||
| 793 | |||
| 794 | ## end gnulib module timespec | ||
| 795 | |||
| 796 | ## begin gnulib module timespec-add | ||
| 797 | |||
| 798 | libgnu_a_SOURCES += timespec-add.c | ||
| 799 | |||
| 800 | ## end gnulib module timespec-add | ||
| 801 | |||
| 802 | ## begin gnulib module timespec-sub | ||
| 803 | |||
| 804 | libgnu_a_SOURCES += timespec-sub.c | ||
| 805 | |||
| 806 | ## end gnulib module timespec-sub | ||
| 807 | |||
| 808 | ## begin gnulib module u64 | ||
| 809 | |||
| 810 | libgnu_a_SOURCES += u64.c | ||
| 811 | |||
| 812 | EXTRA_DIST += u64.h | ||
| 813 | |||
| 814 | ## end gnulib module u64 | ||
| 815 | |||
| 816 | ## begin gnulib module unsetenv | ||
| 817 | |||
| 818 | |||
| 819 | EXTRA_DIST += unsetenv.c | ||
| 820 | |||
| 821 | EXTRA_libgnu_a_SOURCES += unsetenv.c | ||
| 822 | |||
| 823 | ## end gnulib module unsetenv | ||
| 824 | |||
| 825 | ## begin gnulib module utimens | ||
| 826 | |||
| 827 | libgnu_a_SOURCES += utimens.c | ||
| 828 | |||
| 829 | EXTRA_DIST += utimens.h | ||
| 830 | |||
| 831 | ## end gnulib module utimens | ||
| 832 | |||
| 833 | ## begin gnulib module verify | ||
| 834 | |||
| 835 | if gl_GNULIB_ENABLED_verify | ||
| 836 | |||
| 837 | endif | ||
| 838 | EXTRA_DIST += verify.h | ||
| 839 | |||
| 840 | ## end gnulib module verify | ||
| 841 | |||
| 842 | ## begin gnulib module xalloc-oversized | ||
| 843 | |||
| 844 | if gl_GNULIB_ENABLED_682e609604ccaac6be382e4ee3a4eaec | ||
| 845 | |||
| 846 | endif | ||
| 847 | EXTRA_DIST += xalloc-oversized.h | ||
| 848 | |||
| 849 | ## end gnulib module xalloc-oversized | ||
| 850 | |||
| 851 | |||
| 852 | mostlyclean-local: mostlyclean-generic | ||
| 853 | @for dir in '' $(MOSTLYCLEANDIRS); do \ | ||
| 854 | if test -n "$$dir" && test -d $$dir; then \ | ||
| 855 | echo "rmdir $$dir"; rmdir $$dir; \ | ||
| 856 | fi; \ | ||
| 857 | done; \ | ||
| 858 | : | ||
diff --git a/nt/inc/ms-w32.h b/nt/inc/ms-w32.h index ce2b5662775..6fca448db07 100644 --- a/nt/inc/ms-w32.h +++ b/nt/inc/ms-w32.h | |||
| @@ -133,20 +133,6 @@ typedef unsigned short mode_t; | |||
| 133 | extern char *getenv (); | 133 | extern char *getenv (); |
| 134 | #endif | 134 | #endif |
| 135 | 135 | ||
| 136 | #ifdef __MINGW32__ | ||
| 137 | /* A kludge to avoid including header files in lib/. They cannot be | ||
| 138 | configured-out, and their stuff interferes with what we have | ||
| 139 | defined in this header and in other headers in nt/inc. Yuck! */ | ||
| 140 | #define __need_system_fcntl_h | ||
| 141 | #define _GL_FCNTL_H | ||
| 142 | #define _GL_JUST_INCLUDE_SYSTEM_INTTYPES_H | ||
| 143 | #define _GL_ALREADY_INCLUDING_SIGNAL_H | ||
| 144 | #define _GL_ALREADY_INCLUDING_STDIO_H | ||
| 145 | #define __need_system_stdlib_h | ||
| 146 | #define _GL_TIME_H | ||
| 147 | #define __need_system_sys_stat_h | ||
| 148 | #endif | ||
| 149 | |||
| 150 | /* Prevent accidental use of features unavailable in older Windows | 136 | /* Prevent accidental use of features unavailable in older Windows |
| 151 | versions we still support. MinGW64 defines this to a higher value | 137 | versions we still support. MinGW64 defines this to a higher value |
| 152 | in its system headers, and is not really compatible with values | 138 | in its system headers, and is not really compatible with values |