Updated with last gnulib sources
[distributed.git] / src / gnulib / Makefile.am
blobe90dbbd652eaefc3bdecbb644e0728705bbccba5
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 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 getopt
58 BUILT_SOURCES += $(GETOPT_H)
60 # We need the following in order to create <getopt.h> when the system
61 # doesn't have one that works with the given compiler.
62 getopt.h: getopt.in.h
63         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
64           cat $(srcdir)/getopt.in.h; \
65         } > $@-t
66         mv -f $@-t $@
67 MOSTLYCLEANFILES += getopt.h getopt.h-t
69 EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
71 EXTRA_libgnu_a_SOURCES += getopt.c getopt1.c
73 ## end   gnulib module getopt
75 ## begin gnulib module gettext-h
77 libgnu_a_SOURCES += gettext.h
79 ## end   gnulib module gettext-h
81 ## begin gnulib module link-warning
83 LINK_WARNING_H=$(top_srcdir)/./tools/autotools/link-warning.h
85 EXTRA_DIST += $(top_srcdir)/./tools/autotools/link-warning.h
87 ## end   gnulib module link-warning
89 ## begin gnulib module stdint
91 BUILT_SOURCES += $(STDINT_H)
93 # We need the following in order to create <stdint.h> when the system
94 # doesn't have one that works with the given compiler.
95 stdint.h: stdint.in.h
96         rm -f $@-t $@
97         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
98           sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
99               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
100               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
101               -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
102               -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
103               -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
104               -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
105               -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
106               -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
107               -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
108               -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
109               -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
110               -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
111               -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
112               -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
113               -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
114               -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
115               -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
116               -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
117               -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
118               -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
119               -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
120               -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
121               < $(srcdir)/stdint.in.h; \
122         } > $@-t
123         mv $@-t $@
124 MOSTLYCLEANFILES += stdint.h stdint.h-t
126 EXTRA_DIST += stdint.in.h
128 ## end   gnulib module stdint
130 ## begin gnulib module unistd
132 BUILT_SOURCES += unistd.h
134 # We need the following in order to create an empty placeholder for
135 # <unistd.h> when the system doesn't have one.
136 unistd.h: unistd.in.h
137         rm -f $@-t $@
138         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
139           sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
140               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
141               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
142               -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
143               -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
144               -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
145               -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
146               -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
147               -e 's|@''GNULIB_EUIDACCESS''@|$(GNULIB_EUIDACCESS)|g' \
148               -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
149               -e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \
150               -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
151               -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
152               -e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \
153               -e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \
154               -e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \
155               -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
156               -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
157               -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \
158               -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
159               -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
160               -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
161               -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
162               -e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|$(GNULIB_UNISTD_H_SIGPIPE)|g' \
163               -e 's|@''GNULIB_WRITE''@|$(GNULIB_WRITE)|g' \
164               -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
165               -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
166               -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
167               -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
168               -e 's|@''HAVE_GETDOMAINNAME''@|$(HAVE_GETDOMAINNAME)|g' \
169               -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
170               -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
171               -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
172               -e 's|@''HAVE_GETUSERSHELL''@|$(HAVE_GETUSERSHELL)|g' \
173               -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
174               -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
175               -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
176               -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
177               -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
178               -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
179               -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
180               -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
181               -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
182               -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
183               -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
184               -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
185               -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
186               -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
187               -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
188               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
189               < $(srcdir)/unistd.in.h; \
190         } > $@-t
191         mv $@-t $@
192 MOSTLYCLEANFILES += unistd.h unistd.h-t
194 EXTRA_DIST += unistd.in.h
196 ## end   gnulib module unistd
198 ## begin gnulib module wchar
200 BUILT_SOURCES += $(WCHAR_H)
202 # We need the following in order to create <wchar.h> when the system
203 # version does not work standalone.
204 wchar.h: wchar.in.h
205         rm -f $@-t $@
206         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
207           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
208               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
209               -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
210               -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
211               -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
212               -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
213               -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
214               -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
215               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
216             < $(srcdir)/wchar.in.h; \
217         } > $@-t
218         mv $@-t $@
219 MOSTLYCLEANFILES += wchar.h wchar.h-t
221 EXTRA_DIST += wchar.in.h
223 ## end   gnulib module wchar
225 ## begin gnulib module dummy
227 libgnu_a_SOURCES += dummy.c
229 ## end   gnulib module dummy
232 mostlyclean-local: mostlyclean-generic
233         @for dir in '' $(MOSTLYCLEANDIRS); do \
234           if test -n "$$dir" && test -d $$dir; then \
235             echo "rmdir $$dir"; rmdir $$dir; \
236           fi; \
237         done; \
238         :