Fixed compilation issues
[distributed.git] / src / gnulib / Makefile.am
blob74fa8e62e326a5d94ef1c49a826b31f8ee917073
1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2002-2008 Free Software Foundation, Inc.
5 # This file is free software, distributed under the terms of the GNU
6 # General Public License.  As a special exception to the GNU General
7 # Public License, this file may be distributed as part of a program
8 # that contains a configuration script generated by Autoconf, under
9 # the same distribution terms as the rest of that program.
11 # Generated by gnulib-tool.
12 # Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=./src/gnulib --m4-base=./tools/autotools/m4 --doc-base=doc --tests-base=tests --aux-dir=./tools/autotools --lgpl --no-libtool --macro-prefix=GNULIB --no-vc-files crypto/md5 crypto/sha1 dirent getopt
14 AUTOMAKE_OPTIONS = 1.5 gnits
16 SUBDIRS =
17 noinst_HEADERS =
18 noinst_LIBRARIES =
19 noinst_LTLIBRARIES =
20 EXTRA_DIST =
21 BUILT_SOURCES =
22 SUFFIXES =
23 MOSTLYCLEANFILES = core *.stackdump
24 MOSTLYCLEANDIRS =
25 CLEANFILES =
26 DISTCLEANFILES =
27 MAINTAINERCLEANFILES =
29 AM_CPPFLAGS =
31 noinst_LIBRARIES += libgnu.a
33 libgnu_a_SOURCES =
34 libgnu_a_LIBADD = $(GNULIB_LIBOBJS)
35 libgnu_a_DEPENDENCIES = $(GNULIB_LIBOBJS)
36 EXTRA_libgnu_a_SOURCES =
38 ## begin gnulib module crypto/md5
41 EXTRA_DIST += md5.c md5.h
43 EXTRA_libgnu_a_SOURCES += md5.c
45 ## end   gnulib module crypto/md5
47 ## begin gnulib module crypto/sha1
50 EXTRA_DIST += sha1.c sha1.h
52 EXTRA_libgnu_a_SOURCES += sha1.c
54 ## end   gnulib module crypto/sha1
56 ## begin gnulib module dirent
58 BUILT_SOURCES += $(DIRENT_H)
60 # We need the following in order to create <dirent.h> when the system
61 # doesn't have one that works with the given compiler.
62 dirent.h: dirent.in.h
63         rm -f $@-t $@
64         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
65           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
66               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
67               -e 's|@''NEXT_DIRENT_H''@|$(NEXT_DIRENT_H)|g' \
68               -e 's|@''GNULIB_DIRFD''@|$(GNULIB_DIRFD)|g' \
69               -e 's|@''HAVE_DECL_DIRFD''@|$(HAVE_DECL_DIRFD)|g' \
70               -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
71               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
72               < $(srcdir)/dirent.in.h; \
73         } > $@-t
74         mv $@-t $@
75 MOSTLYCLEANFILES += dirent.h dirent.h-t
77 EXTRA_DIST += dirent.in.h
79 ## end   gnulib module dirent
81 ## begin gnulib module getopt
83 BUILT_SOURCES += $(GETOPT_H)
85 # We need the following in order to create <getopt.h> when the system
86 # doesn't have one that works with the given compiler.
87 getopt.h: getopt.in.h
88         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
89           cat $(srcdir)/getopt.in.h; \
90         } > $@-t
91         mv -f $@-t $@
92 MOSTLYCLEANFILES += getopt.h getopt.h-t
94 EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
96 EXTRA_libgnu_a_SOURCES += getopt.c getopt1.c
98 ## end   gnulib module getopt
100 ## begin gnulib module gettext-h
102 libgnu_a_SOURCES += gettext.h
104 ## end   gnulib module gettext-h
106 ## begin gnulib module link-warning
108 LINK_WARNING_H=$(top_srcdir)/./tools/autotools/link-warning.h
110 EXTRA_DIST += $(top_srcdir)/./tools/autotools/link-warning.h
112 ## end   gnulib module link-warning
114 ## begin gnulib module stdint
116 BUILT_SOURCES += $(STDINT_H)
118 # We need the following in order to create <stdint.h> when the system
119 # doesn't have one that works with the given compiler.
120 stdint.h: stdint.in.h
121         rm -f $@-t $@
122         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
123           sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
124               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
125               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
126               -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
127               -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
128               -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
129               -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
130               -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
131               -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
132               -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
133               -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
134               -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
135               -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
136               -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
137               -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
138               -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
139               -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
140               -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
141               -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
142               -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
143               -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
144               -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
145               -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
146               < $(srcdir)/stdint.in.h; \
147         } > $@-t
148         mv $@-t $@
149 MOSTLYCLEANFILES += stdint.h stdint.h-t
151 EXTRA_DIST += stdint.in.h
153 ## end   gnulib module stdint
155 ## begin gnulib module unistd
157 BUILT_SOURCES += unistd.h
159 # We need the following in order to create an empty placeholder for
160 # <unistd.h> when the system doesn't have one.
161 unistd.h: unistd.in.h
162         rm -f $@-t $@
163         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
164           sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
165               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
166               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
167               -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
168               -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
169               -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
170               -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
171               -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
172               -e 's|@''GNULIB_EUIDACCESS''@|$(GNULIB_EUIDACCESS)|g' \
173               -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
174               -e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \
175               -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
176               -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
177               -e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \
178               -e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \
179               -e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \
180               -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
181               -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
182               -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \
183               -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
184               -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
185               -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
186               -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
187               -e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|$(GNULIB_UNISTD_H_SIGPIPE)|g' \
188               -e 's|@''GNULIB_WRITE''@|$(GNULIB_WRITE)|g' \
189               -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
190               -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
191               -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
192               -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
193               -e 's|@''HAVE_GETDOMAINNAME''@|$(HAVE_GETDOMAINNAME)|g' \
194               -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
195               -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
196               -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
197               -e 's|@''HAVE_GETUSERSHELL''@|$(HAVE_GETUSERSHELL)|g' \
198               -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
199               -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
200               -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
201               -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
202               -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
203               -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
204               -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
205               -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
206               -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
207               -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
208               -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
209               -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
210               -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
211               -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
212               -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
213               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
214               < $(srcdir)/unistd.in.h; \
215         } > $@-t
216         mv $@-t $@
217 MOSTLYCLEANFILES += unistd.h unistd.h-t
219 EXTRA_DIST += unistd.in.h
221 ## end   gnulib module unistd
223 ## begin gnulib module wchar
225 BUILT_SOURCES += $(WCHAR_H)
227 # We need the following in order to create <wchar.h> when the system
228 # version does not work standalone.
229 wchar.h: wchar.in.h
230         rm -f $@-t $@
231         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
232           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
233               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
234               -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
235               -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
236               -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
237               -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
238               -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
239               -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
240               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
241             < $(srcdir)/wchar.in.h; \
242         } > $@-t
243         mv $@-t $@
244 MOSTLYCLEANFILES += wchar.h wchar.h-t
246 EXTRA_DIST += wchar.in.h
248 ## end   gnulib module wchar
250 ## begin gnulib module dummy
252 libgnu_a_SOURCES += dummy.c
254 ## end   gnulib module dummy
257 mostlyclean-local: mostlyclean-generic
258         @for dir in '' $(MOSTLYCLEANDIRS); do \
259           if test -n "$$dir" && test -d $$dir; then \
260             echo "rmdir $$dir"; rmdir $$dir; \
261           fi; \
262         done; \
263         :