properly break lines.
[gnutls.git] / gl / gnulib.mk
blobb823ff503ed34ff1c01b4bde69099ce7549f605d
1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2010 Free
4 # Software Foundation, Inc.
6 # This file is free software, distributed under the terms of the GNU
7 # General Public License. As a special exception to the GNU General
8 # Public License, this file may be distributed as part of a program
9 # that contains a configuration script generated by Autoconf, under
10 # the same distribution terms as the rest of that program.
12 # Generated by gnulib-tool.
13 # 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
16 MOSTLYCLEANFILES += core *.stackdump
18 noinst_LTLIBRARIES += libgnu.la
20 libgnu_la_SOURCES =
21 libgnu_la_LIBADD = $(gl_LTLIBOBJS)
22 libgnu_la_DEPENDENCIES = $(gl_LTLIBOBJS)
23 EXTRA_libgnu_la_SOURCES =
24 libgnu_la_LDFLAGS = $(AM_LDFLAGS)
26 ## begin gnulib module arpa_inet
28 BUILT_SOURCES += $(ARPA_INET_H)
30 # We need the following in order to create <arpa/inet.h> when the system
31 # doesn't have one.
32 arpa/inet.h:
33 @MKDIR_P@ arpa
34 rm -f $@-t $@
35 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
36 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
37 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
38 -e 's|@''NEXT_ARPA_INET_H''@|$(NEXT_ARPA_INET_H)|g' \
39 -e 's|@''HAVE_ARPA_INET_H''@|$(HAVE_ARPA_INET_H)|g' \
40 -e 's|@''GNULIB_INET_NTOP''@|$(GNULIB_INET_NTOP)|g' \
41 -e 's|@''GNULIB_INET_PTON''@|$(GNULIB_INET_PTON)|g' \
42 -e 's|@''HAVE_DECL_INET_NTOP''@|$(HAVE_DECL_INET_NTOP)|g' \
43 -e 's|@''HAVE_DECL_INET_PTON''@|$(HAVE_DECL_INET_PTON)|g' \
44 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
45 < $(srcdir)/arpa_inet.in.h; \
46 } > $@-t
47 mv $@-t $@
48 MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t
49 MOSTLYCLEANDIRS += arpa
51 EXTRA_DIST += arpa_inet.in.h
53 ## end gnulib module arpa_inet
55 ## begin gnulib module c-ctype
57 libgnu_la_SOURCES += c-ctype.h c-ctype.c
59 ## end gnulib module c-ctype
61 ## begin gnulib module error
64 EXTRA_DIST += error.c error.h
66 EXTRA_libgnu_la_SOURCES += error.c
68 ## end gnulib module error
70 ## begin gnulib module gendocs
73 EXTRA_DIST += $(top_srcdir)/build-aux/gendocs.sh
75 ## end gnulib module gendocs
77 ## begin gnulib module getaddrinfo
80 EXTRA_DIST += gai_strerror.c getaddrinfo.c
82 EXTRA_libgnu_la_SOURCES += gai_strerror.c getaddrinfo.c
84 ## end gnulib module getaddrinfo
86 ## begin gnulib module getdelim
89 EXTRA_DIST += getdelim.c
91 EXTRA_libgnu_la_SOURCES += getdelim.c
93 ## end gnulib module getdelim
95 ## begin gnulib module getline
98 EXTRA_DIST += getline.c
100 EXTRA_libgnu_la_SOURCES += getline.c
102 ## end gnulib module getline
104 ## begin gnulib module getpass-gnu
107 EXTRA_DIST += getpass.c getpass.h
109 EXTRA_libgnu_la_SOURCES += getpass.c
111 ## end gnulib module getpass-gnu
113 ## begin gnulib module gnumakefile
115 distclean-local: clean-GNUmakefile
116 clean-GNUmakefile:
117 test x'$(VPATH)' != x && rm -f $(top_builddir)/GNUmakefile || :
119 EXTRA_DIST += $(top_srcdir)/GNUmakefile
121 ## end gnulib module gnumakefile
123 ## begin gnulib module gnupload
126 EXTRA_DIST += $(top_srcdir)/build-aux/gnupload
128 ## end gnulib module gnupload
130 ## begin gnulib module havelib
133 EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
135 ## end gnulib module havelib
137 ## begin gnulib module inet_ntop
140 EXTRA_DIST += inet_ntop.c
142 EXTRA_libgnu_la_SOURCES += inet_ntop.c
144 ## end gnulib module inet_ntop
146 ## begin gnulib module inet_pton
149 EXTRA_DIST += inet_pton.c
151 EXTRA_libgnu_la_SOURCES += inet_pton.c
153 ## end gnulib module inet_pton
155 ## begin gnulib module intprops
158 EXTRA_DIST += intprops.h
160 ## end gnulib module intprops
162 ## begin gnulib module link-warning
164 LINK_WARNING_H=$(top_srcdir)/build-aux/link-warning.h
166 EXTRA_DIST += $(top_srcdir)/build-aux/link-warning.h
168 ## end gnulib module link-warning
170 ## begin gnulib module maintainer-makefile
172 EXTRA_DIST += $(top_srcdir)/maint.mk
174 ## end gnulib module maintainer-makefile
176 ## begin gnulib module netdb
178 BUILT_SOURCES += $(NETDB_H)
180 # We need the following in order to create <netdb.h> when the system
181 # doesn't have one that works with the given compiler.
182 netdb.h: netdb.in.h
183 rm -f $@-t $@
184 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
185 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
186 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
187 -e 's|@''NEXT_NETDB_H''@|$(NEXT_NETDB_H)|g' \
188 -e 's|@''HAVE_NETDB_H''@|$(HAVE_NETDB_H)|g' \
189 -e 's|@''GNULIB_GETADDRINFO''@|$(GNULIB_GETADDRINFO)|g' \
190 < $(srcdir)/netdb.in.h; \
191 } > $@-t
192 mv $@-t $@
193 MOSTLYCLEANFILES += netdb.h netdb.h-t
195 EXTRA_DIST += netdb.in.h
197 ## end gnulib module netdb
199 ## begin gnulib module netinet_in
201 BUILT_SOURCES += $(NETINET_IN_H)
203 # We need the following in order to create <netinet/in.h> when the system
204 # doesn't have one.
205 netinet/in.h: netinet_in.in.h
206 @MKDIR_P@ netinet
207 rm -f $@-t $@
208 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
209 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
210 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
211 -e 's|@''NEXT_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \
212 -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \
213 < $(srcdir)/netinet_in.in.h; \
214 } > $@-t
215 mv $@-t $@
216 MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
217 MOSTLYCLEANDIRS += netinet
219 EXTRA_DIST += netinet_in.in.h
221 ## end gnulib module netinet_in
223 ## begin gnulib module progname
225 libgnu_la_SOURCES += progname.h progname.c
227 ## end gnulib module progname
229 ## begin gnulib module readline
232 EXTRA_DIST += readline.c readline.h
234 EXTRA_libgnu_la_SOURCES += readline.c
236 ## end gnulib module readline
238 ## begin gnulib module stdarg
240 BUILT_SOURCES += $(STDARG_H)
242 # We need the following in order to create <stdarg.h> when the system
243 # doesn't have one that works with the given compiler.
244 stdarg.h: stdarg.in.h
245 rm -f $@-t $@
246 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
247 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
248 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
249 -e 's|@''NEXT_STDARG_H''@|$(NEXT_STDARG_H)|g' \
250 < $(srcdir)/stdarg.in.h; \
251 } > $@-t
252 mv $@-t $@
253 MOSTLYCLEANFILES += stdarg.h stdarg.h-t
255 EXTRA_DIST += stdarg.in.h
257 ## end gnulib module stdarg
259 ## begin gnulib module strerror
262 EXTRA_DIST += strerror.c
264 EXTRA_libgnu_la_SOURCES += strerror.c
266 ## end gnulib module strerror
268 ## begin gnulib module version-etc
270 libgnu_la_SOURCES += version-etc.h version-etc.c
272 ## end gnulib module version-etc
274 ## begin gnulib module version-etc-fsf
276 libgnu_la_SOURCES += version-etc-fsf.c
278 ## end gnulib module version-etc-fsf
281 mostlyclean-local: mostlyclean-generic
282 @for dir in '' $(MOSTLYCLEANDIRS); do \
283 if test -n "$$dir" && test -d $$dir; then \
284 echo "rmdir $$dir"; rmdir $$dir; \
285 fi; \
286 done; \