Update gnulib files.
[gnutls.git] / gl / gnulib.mk
blob046543dd670f3d0fa87b32413c2c87af5cdaa07f
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=. --local-dir=gl/override --lib=libgnu --source-base=gl --m4-base=gl/m4 --doc-base=doc --tests-base=gl/tests --aux-dir=build-aux --with-tests --avoid=errno --avoid=fseeko --avoid=gettext-h --avoid=malloc-posix --avoid=realloc-posix --avoid=snprintf --avoid=stdbool --avoid=stdio --avoid=string --avoid=sys_socket --avoid=unistd --avoid=vasnprintf --makefile-name=gnulib.mk --libtool --macro-prefix=gl --no-vc-files arpa_inet autobuild error fdl gendocs getaddrinfo getline getpass-gnu gnupload gpl-3.0 inet_ntop inet_pton lgpl-2.1 maintainer-makefile progname readline version-etc-fsf
15 MOSTLYCLEANFILES += core *.stackdump
17 noinst_LTLIBRARIES += libgnu.la
19 libgnu_la_SOURCES =
20 libgnu_la_LIBADD = $(gl_LTLIBOBJS)
21 libgnu_la_DEPENDENCIES = $(gl_LTLIBOBJS)
22 EXTRA_libgnu_la_SOURCES =
23 libgnu_la_LDFLAGS = $(AM_LDFLAGS)
25 ## begin gnulib module arpa_inet
27 BUILT_SOURCES += $(ARPA_INET_H)
29 # We need the following in order to create <arpa/inet.h> when the system
30 # doesn't have one.
31 arpa/inet.h:
32 @MKDIR_P@ arpa
33 rm -f $@-t $@
34 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
35 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
36 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
37 -e 's|@''NEXT_ARPA_INET_H''@|$(NEXT_ARPA_INET_H)|g' \
38 -e 's|@''HAVE_ARPA_INET_H''@|$(HAVE_ARPA_INET_H)|g' \
39 -e 's|@''GNULIB_INET_NTOP''@|$(GNULIB_INET_NTOP)|g' \
40 -e 's|@''GNULIB_INET_PTON''@|$(GNULIB_INET_PTON)|g' \
41 -e 's|@''HAVE_DECL_INET_NTOP''@|$(HAVE_DECL_INET_NTOP)|g' \
42 -e 's|@''HAVE_DECL_INET_PTON''@|$(HAVE_DECL_INET_PTON)|g' \
43 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
44 < $(srcdir)/arpa_inet.in.h; \
45 } > $@-t
46 mv $@-t $@
47 MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t
48 MOSTLYCLEANDIRS += arpa
50 EXTRA_DIST += arpa_inet.in.h
52 ## end gnulib module arpa_inet
54 ## begin gnulib module c-ctype
56 libgnu_la_SOURCES += c-ctype.h c-ctype.c
58 ## end gnulib module c-ctype
60 ## begin gnulib module error
63 EXTRA_DIST += error.c error.h
65 EXTRA_libgnu_la_SOURCES += error.c
67 ## end gnulib module error
69 ## begin gnulib module gendocs
72 EXTRA_DIST += $(top_srcdir)/build-aux/gendocs.sh
74 ## end gnulib module gendocs
76 ## begin gnulib module getaddrinfo
79 EXTRA_DIST += gai_strerror.c getaddrinfo.c
81 EXTRA_libgnu_la_SOURCES += gai_strerror.c getaddrinfo.c
83 ## end gnulib module getaddrinfo
85 ## begin gnulib module getdelim
88 EXTRA_DIST += getdelim.c
90 EXTRA_libgnu_la_SOURCES += getdelim.c
92 ## end gnulib module getdelim
94 ## begin gnulib module getline
97 EXTRA_DIST += getline.c
99 EXTRA_libgnu_la_SOURCES += getline.c
101 ## end gnulib module getline
103 ## begin gnulib module getpass-gnu
106 EXTRA_DIST += getpass.c getpass.h
108 EXTRA_libgnu_la_SOURCES += getpass.c
110 ## end gnulib module getpass-gnu
112 ## begin gnulib module gnumakefile
114 distclean-local: clean-GNUmakefile
115 clean-GNUmakefile:
116 test x'$(VPATH)' != x && rm -f $(top_builddir)/GNUmakefile || :
118 EXTRA_DIST += $(top_srcdir)/GNUmakefile
120 ## end gnulib module gnumakefile
122 ## begin gnulib module gnupload
125 EXTRA_DIST += $(top_srcdir)/build-aux/gnupload
127 ## end gnulib module gnupload
129 ## begin gnulib module havelib
132 EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
134 ## end gnulib module havelib
136 ## begin gnulib module inet_ntop
139 EXTRA_DIST += inet_ntop.c
141 EXTRA_libgnu_la_SOURCES += inet_ntop.c
143 ## end gnulib module inet_ntop
145 ## begin gnulib module inet_pton
148 EXTRA_DIST += inet_pton.c
150 EXTRA_libgnu_la_SOURCES += inet_pton.c
152 ## end gnulib module inet_pton
154 ## begin gnulib module intprops
157 EXTRA_DIST += intprops.h
159 ## end gnulib module intprops
161 ## begin gnulib module link-warning
163 LINK_WARNING_H=$(top_srcdir)/build-aux/link-warning.h
165 EXTRA_DIST += $(top_srcdir)/build-aux/link-warning.h
167 ## end gnulib module link-warning
169 ## begin gnulib module maintainer-makefile
171 EXTRA_DIST += $(top_srcdir)/maint.mk
173 ## end gnulib module maintainer-makefile
175 ## begin gnulib module netdb
177 BUILT_SOURCES += $(NETDB_H)
179 # We need the following in order to create <netdb.h> when the system
180 # doesn't have one that works with the given compiler.
181 netdb.h: netdb.in.h
182 rm -f $@-t $@
183 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
184 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
185 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
186 -e 's|@''NEXT_NETDB_H''@|$(NEXT_NETDB_H)|g' \
187 -e 's|@''HAVE_NETDB_H''@|$(HAVE_NETDB_H)|g' \
188 -e 's|@''GNULIB_GETADDRINFO''@|$(GNULIB_GETADDRINFO)|g' \
189 < $(srcdir)/netdb.in.h; \
190 } > $@-t
191 mv $@-t $@
192 MOSTLYCLEANFILES += netdb.h netdb.h-t
194 EXTRA_DIST += netdb.in.h
196 ## end gnulib module netdb
198 ## begin gnulib module netinet_in
200 BUILT_SOURCES += $(NETINET_IN_H)
202 # We need the following in order to create <netinet/in.h> when the system
203 # doesn't have one.
204 netinet/in.h: netinet_in.in.h
205 @MKDIR_P@ netinet
206 rm -f $@-t $@
207 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
208 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
209 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
210 -e 's|@''NEXT_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \
211 -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \
212 < $(srcdir)/netinet_in.in.h; \
213 } > $@-t
214 mv $@-t $@
215 MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
216 MOSTLYCLEANDIRS += netinet
218 EXTRA_DIST += netinet_in.in.h
220 ## end gnulib module netinet_in
222 ## begin gnulib module progname
224 libgnu_la_SOURCES += progname.h progname.c
226 ## end gnulib module progname
228 ## begin gnulib module readline
231 EXTRA_DIST += readline.c readline.h
233 EXTRA_libgnu_la_SOURCES += readline.c
235 ## end gnulib module readline
237 ## begin gnulib module stdarg
239 BUILT_SOURCES += $(STDARG_H)
241 # We need the following in order to create <stdarg.h> when the system
242 # doesn't have one that works with the given compiler.
243 stdarg.h: stdarg.in.h
244 rm -f $@-t $@
245 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
246 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
247 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
248 -e 's|@''NEXT_STDARG_H''@|$(NEXT_STDARG_H)|g' \
249 < $(srcdir)/stdarg.in.h; \
250 } > $@-t
251 mv $@-t $@
252 MOSTLYCLEANFILES += stdarg.h stdarg.h-t
254 EXTRA_DIST += stdarg.in.h
256 ## end gnulib module stdarg
258 ## begin gnulib module strerror
261 EXTRA_DIST += strerror.c
263 EXTRA_libgnu_la_SOURCES += strerror.c
265 ## end gnulib module strerror
267 ## begin gnulib module version-etc
269 libgnu_la_SOURCES += version-etc.h version-etc.c
271 ## end gnulib module version-etc
273 ## begin gnulib module version-etc-fsf
275 libgnu_la_SOURCES += version-etc-fsf.c
277 ## end gnulib module version-etc-fsf
280 mostlyclean-local: mostlyclean-generic
281 @for dir in '' $(MOSTLYCLEANDIRS); do \
282 if test -n "$$dir" && test -d $$dir; then \
283 echo "rmdir $$dir"; rmdir $$dir; \
284 fi; \
285 done; \