1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2004-2007 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=gnulib --m4-base=config/gnulib --doc-base=doc --aux-dir=config --libtool --macro-prefix=gl getaddrinfo lock visibility
14 AUTOMAKE_OPTIONS = 1.5 gnits
22 MOSTLYCLEANFILES = core *.stackdump
26 MAINTAINERCLEANFILES =
30 AM_CFLAGS += -Wno-error
33 noinst_LTLIBRARIES += libgnu.la
36 libgnu_la_LIBADD = $(gl_LTLIBOBJS)
37 libgnu_la_DEPENDENCIES = $(gl_LTLIBOBJS)
38 EXTRA_libgnu_la_SOURCES =
39 libgnu_la_LDFLAGS = $(AM_LDFLAGS)
41 ## begin gnulib module alloca-opt
43 BUILT_SOURCES += $(ALLOCA_H)
45 # We need the following in order to create <alloca.h> when the system
46 # doesn't have one that works with the given compiler.
48 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
49 cat $(srcdir)/alloca_.h; \
52 MOSTLYCLEANFILES += alloca.h alloca.h-t
54 EXTRA_DIST += alloca_.h
56 ## end gnulib module alloca-opt
58 ## begin gnulib module arpa_inet
60 BUILT_SOURCES += $(ARPA_INET_H)
62 # We need the following in order to create <arpa/inet.h> when the system
65 test -d arpa || mkdir arpa
67 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
68 echo '#include <sys/socket.h>'; \
71 MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t
72 MOSTLYCLEANDIRS += arpa
74 ## end gnulib module arpa_inet
76 ## begin gnulib module getaddrinfo
79 EXTRA_DIST += gai_strerror.c getaddrinfo.c getaddrinfo.h
81 EXTRA_libgnu_la_SOURCES += gai_strerror.c getaddrinfo.c
83 ## end gnulib module getaddrinfo
85 ## begin gnulib module gettext-h
87 libgnu_la_SOURCES += gettext.h
89 ## end gnulib module gettext-h
91 ## begin gnulib module inet_ntop
94 EXTRA_DIST += inet_ntop.c inet_ntop.h
96 EXTRA_libgnu_la_SOURCES += inet_ntop.c
98 ## end gnulib module inet_ntop
100 ## begin gnulib module lock
102 libgnu_la_SOURCES += lock.h lock.c
104 ## end gnulib module lock
106 ## begin gnulib module netinet_in
108 BUILT_SOURCES += $(NETINET_IN_H)
110 # We need the following in order to create <netinet/in.h> when the system
113 test -d netinet || mkdir netinet
115 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
116 echo '#include <sys/socket.h>'; \
119 MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
120 MOSTLYCLEANDIRS += netinet
122 ## end gnulib module netinet_in
124 ## begin gnulib module size_max
126 libgnu_la_SOURCES += size_max.h
128 ## end gnulib module size_max
130 ## begin gnulib module snprintf
133 EXTRA_DIST += snprintf.c snprintf.h
135 EXTRA_libgnu_la_SOURCES += snprintf.c
137 ## end gnulib module snprintf
139 ## begin gnulib module stdbool
141 BUILT_SOURCES += $(STDBOOL_H)
143 # We need the following in order to create <stdbool.h> when the system
144 # doesn't have one that works.
145 stdbool.h: stdbool_.h
147 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
148 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool_.h; \
151 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
153 EXTRA_DIST += stdbool_.h
155 ## end gnulib module stdbool
157 ## begin gnulib module strdup
160 EXTRA_DIST += strdup.c
162 EXTRA_libgnu_la_SOURCES += strdup.c
164 ## end gnulib module strdup
166 ## begin gnulib module string
168 BUILT_SOURCES += string.h
170 # We need the following in order to create <string.h> when the system
171 # doesn't have one that works with the given compiler.
174 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
175 sed -e 's|@''ABSOLUTE_STRING_H''@|$(ABSOLUTE_STRING_H)|g' \
176 -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
177 -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
178 -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
179 -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
180 -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
181 -e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \
182 -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
183 -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
184 -e 's|@''HAVE_STRNDUP''@|$(HAVE_STRNDUP)|g' \
185 -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
186 -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
187 -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
188 -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
189 -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
190 -e 's|@''REPLACE_STRCASECMP''@|$(REPLACE_STRCASECMP)|g' \
191 -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
192 -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
193 < $(srcdir)/string_.h; \
196 MOSTLYCLEANFILES += string.h string.h-t
198 EXTRA_DIST += string_.h
200 ## end gnulib module string
202 ## begin gnulib module sys_socket
204 BUILT_SOURCES += $(SYS_SOCKET_H)
206 # We need the following in order to create <sys/socket.h> when the system
207 # doesn't have one that works with the given compiler.
208 sys/socket.h: socket_.h
210 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
211 cat $(srcdir)/socket_.h; \
214 MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
215 MOSTLYCLEANDIRS += sys
217 EXTRA_DIST += socket_.h
219 ## end gnulib module sys_socket
221 ## begin gnulib module vasnprintf
224 EXTRA_DIST += asnprintf.c printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
226 EXTRA_libgnu_la_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
228 ## end gnulib module vasnprintf
230 ## begin gnulib module xsize
232 libgnu_la_SOURCES += xsize.h
234 ## end gnulib module xsize
237 mostlyclean-local: mostlyclean-generic
238 @for dir in '' $(MOSTLYCLEANDIRS); do \
239 if test -n "$$dir" && test -d $$dir; then \
240 echo "rmdir $$dir"; rmdir $$dir; \
244 # Make sure regenerate/* are in the distribution tarball
245 EXTRA_DIST += regenerate/getaddrinfo-cygwin.patch regenerate/no-error.patch regenerate/regenerate