Imported Upstream version 2.5.2p1
[debian/amanda] / gnulib / Makefile.am
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.
4 #
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.
10 #
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
13
14 AUTOMAKE_OPTIONS = 1.5 gnits
15
16 noinst_HEADERS =
17 noinst_LIBRARIES =
18 noinst_LTLIBRARIES =
19 EXTRA_DIST =
20 BUILT_SOURCES =
21 SUFFIXES =
22 MOSTLYCLEANFILES = core *.stackdump
23 MOSTLYCLEANDIRS =
24 CLEANFILES =
25 DISTCLEANFILES =
26 MAINTAINERCLEANFILES =
27
28 AM_CPPFLAGS =
29 if GCC_COMPILER
30   AM_CFLAGS += -Wno-error
31 endif
32
33 noinst_LTLIBRARIES += libgnu.la
34
35 libgnu_la_SOURCES =
36 libgnu_la_LIBADD = $(gl_LTLIBOBJS)
37 libgnu_la_DEPENDENCIES = $(gl_LTLIBOBJS)
38 EXTRA_libgnu_la_SOURCES =
39 libgnu_la_LDFLAGS = $(AM_LDFLAGS)
40
41 ## begin gnulib module alloca-opt
42
43 BUILT_SOURCES += $(ALLOCA_H)
44
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.
47 alloca.h: alloca_.h
48         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
49           cat $(srcdir)/alloca_.h; \
50         } > $@-t
51         mv -f $@-t $@
52 MOSTLYCLEANFILES += alloca.h alloca.h-t
53
54 EXTRA_DIST += alloca_.h
55
56 ## end   gnulib module alloca-opt
57
58 ## begin gnulib module arpa_inet
59
60 BUILT_SOURCES += $(ARPA_INET_H)
61
62 # We need the following in order to create <arpa/inet.h> when the system
63 # doesn't have one.
64 arpa/inet.h:
65         test -d arpa || mkdir arpa
66         rm -f $@-t $@
67         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
68           echo '#include <sys/socket.h>'; \
69         } > $@-t
70         mv $@-t $@
71 MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t
72 MOSTLYCLEANDIRS += arpa
73
74 ## end   gnulib module arpa_inet
75
76 ## begin gnulib module getaddrinfo
77
78
79 EXTRA_DIST += gai_strerror.c getaddrinfo.c getaddrinfo.h
80
81 EXTRA_libgnu_la_SOURCES += gai_strerror.c getaddrinfo.c
82
83 ## end   gnulib module getaddrinfo
84
85 ## begin gnulib module gettext-h
86
87 libgnu_la_SOURCES += gettext.h
88
89 ## end   gnulib module gettext-h
90
91 ## begin gnulib module inet_ntop
92
93
94 EXTRA_DIST += inet_ntop.c inet_ntop.h
95
96 EXTRA_libgnu_la_SOURCES += inet_ntop.c
97
98 ## end   gnulib module inet_ntop
99
100 ## begin gnulib module lock
101
102 libgnu_la_SOURCES += lock.h lock.c
103
104 ## end   gnulib module lock
105
106 ## begin gnulib module netinet_in
107
108 BUILT_SOURCES += $(NETINET_IN_H)
109
110 # We need the following in order to create <netinet/in.h> when the system
111 # doesn't have one.
112 netinet/in.h:
113         test -d netinet || mkdir netinet
114         rm -f $@-t $@
115         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
116           echo '#include <sys/socket.h>'; \
117         } > $@-t
118         mv $@-t $@
119 MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
120 MOSTLYCLEANDIRS += netinet
121
122 ## end   gnulib module netinet_in
123
124 ## begin gnulib module size_max
125
126 libgnu_la_SOURCES += size_max.h
127
128 ## end   gnulib module size_max
129
130 ## begin gnulib module snprintf
131
132
133 EXTRA_DIST += snprintf.c snprintf.h
134
135 EXTRA_libgnu_la_SOURCES += snprintf.c
136
137 ## end   gnulib module snprintf
138
139 ## begin gnulib module stdbool
140
141 BUILT_SOURCES += $(STDBOOL_H)
142
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
146         rm -f $@-t $@
147         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
148           sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool_.h; \
149         } > $@-t
150         mv $@-t $@
151 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
152
153 EXTRA_DIST += stdbool_.h
154
155 ## end   gnulib module stdbool
156
157 ## begin gnulib module strdup
158
159
160 EXTRA_DIST += strdup.c
161
162 EXTRA_libgnu_la_SOURCES += strdup.c
163
164 ## end   gnulib module strdup
165
166 ## begin gnulib module string
167
168 BUILT_SOURCES += string.h
169
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.
172 string.h: string_.h
173         rm -f $@-t $@
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; \
194         } > $@-t
195         mv $@-t $@
196 MOSTLYCLEANFILES += string.h string.h-t
197
198 EXTRA_DIST += string_.h
199
200 ## end   gnulib module string
201
202 ## begin gnulib module sys_socket
203
204 BUILT_SOURCES += $(SYS_SOCKET_H)
205
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
209         @MKDIR_P@ sys
210         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
211           cat $(srcdir)/socket_.h; \
212         } > $@-t
213         mv -f $@-t $@
214 MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
215 MOSTLYCLEANDIRS += sys
216
217 EXTRA_DIST += socket_.h
218
219 ## end   gnulib module sys_socket
220
221 ## begin gnulib module vasnprintf
222
223
224 EXTRA_DIST += asnprintf.c printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
225
226 EXTRA_libgnu_la_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
227
228 ## end   gnulib module vasnprintf
229
230 ## begin gnulib module xsize
231
232 libgnu_la_SOURCES += xsize.h
233
234 ## end   gnulib module xsize
235
236
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; \
241           fi; \
242         done
243
244 # Make sure regenerate/* are in the distribution tarball
245 EXTRA_DIST += regenerate/getaddrinfo-cygwin.patch regenerate/no-error.patch regenerate/regenerate