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=gnulib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=config --lgpl --libtool --macro-prefix=gl poll
14
AUTOMAKE_OPTIONS = 1.5 gnits
23
MOSTLYCLEANFILES = core *.stackdump
27
MAINTAINERCLEANFILES =
31
noinst_LTLIBRARIES += libgnu.la
34
libgnu_la_LIBADD = $(gl_LTLIBOBJS)
35
libgnu_la_DEPENDENCIES = $(gl_LTLIBOBJS)
36
EXTRA_libgnu_la_SOURCES =
37
libgnu_la_LDFLAGS = $(AM_LDFLAGS)
39
## begin gnulib module alloca
42
EXTRA_DIST += alloca.c
44
EXTRA_libgnu_la_SOURCES += alloca.c
46
libgnu_la_LIBADD += @LTALLOCA@
47
libgnu_la_DEPENDENCIES += @LTALLOCA@
48
## end gnulib module alloca
50
## begin gnulib module alloca-opt
52
BUILT_SOURCES += $(ALLOCA_H)
54
# We need the following in order to create <alloca.h> when the system
55
# doesn't have one that works with the given compiler.
57
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
58
cat $(srcdir)/alloca.in.h; \
61
MOSTLYCLEANFILES += alloca.h alloca.h-t
63
EXTRA_DIST += alloca.in.h
65
## end gnulib module alloca-opt
67
## begin gnulib module errno
69
BUILT_SOURCES += $(ERRNO_H)
71
# We need the following in order to create <errno.h> when the system
72
# doesn't have one that is POSIX compliant.
75
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
76
sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
77
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
78
-e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
79
-e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
80
-e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
81
-e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
82
-e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
83
-e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
84
-e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
85
< $(srcdir)/errno.in.h; \
88
MOSTLYCLEANFILES += errno.h errno.h-t
90
EXTRA_DIST += errno.in.h
92
## end gnulib module errno
94
## begin gnulib module link-warning
96
LINK_WARNING_H=$(top_srcdir)/config/link-warning.h
98
EXTRA_DIST += $(top_srcdir)/config/link-warning.h
100
## end gnulib module link-warning
102
## begin gnulib module poll
104
BUILT_SOURCES += $(POLL_H)
106
# We need the following in order to create <poll.h> when the system
109
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
110
cat $(srcdir)/poll.in.h; \
113
MOSTLYCLEANFILES += poll.h poll.h-t
115
EXTRA_DIST += poll.c poll.in.h
117
EXTRA_libgnu_la_SOURCES += poll.c
119
## end gnulib module poll
121
## begin gnulib module sys_select
123
BUILT_SOURCES += $(SYS_SELECT_H)
125
# We need the following in order to create <sys/select.h> when the system
126
# doesn't have one that works with the given compiler.
127
sys/select.h: sys_select.in.h
130
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
131
sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
132
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
133
-e 's|@''NEXT_SYS_SELECT_H''@|$(NEXT_SYS_SELECT_H)|g' \
134
-e 's|@''HAVE_SYS_SELECT_H''@|$(HAVE_SYS_SELECT_H)|g' \
135
-e 's|@''GNULIB_SELECT''@|$(GNULIB_SELECT)|g' \
136
-e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
137
-e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
138
< $(srcdir)/sys_select.in.h; \
141
MOSTLYCLEANFILES += sys/select.h sys/select.h-t
142
MOSTLYCLEANDIRS += sys
144
EXTRA_DIST += sys_select.in.h
146
## end gnulib module sys_select
148
## begin gnulib module sys_socket
150
BUILT_SOURCES += $(SYS_SOCKET_H)
152
# We need the following in order to create <sys/socket.h> when the system
153
# doesn't have one that works with the given compiler.
154
sys/socket.h: sys_socket.in.h
156
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
157
sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
158
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
159
-e 's|@''NEXT_SYS_SOCKET_H''@|$(NEXT_SYS_SOCKET_H)|g' \
160
-e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \
161
-e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
162
-e 's|@''GNULIB_SOCKET''@|$(GNULIB_SOCKET)|g' \
163
-e 's|@''GNULIB_CONNECT''@|$(GNULIB_CONNECT)|g' \
164
-e 's|@''GNULIB_ACCEPT''@|$(GNULIB_ACCEPT)|g' \
165
-e 's|@''GNULIB_BIND''@|$(GNULIB_BIND)|g' \
166
-e 's|@''GNULIB_GETPEERNAME''@|$(GNULIB_GETPEERNAME)|g' \
167
-e 's|@''GNULIB_GETSOCKNAME''@|$(GNULIB_GETSOCKNAME)|g' \
168
-e 's|@''GNULIB_GETSOCKOPT''@|$(GNULIB_GETSOCKOPT)|g' \
169
-e 's|@''GNULIB_LISTEN''@|$(GNULIB_LISTEN)|g' \
170
-e 's|@''GNULIB_RECV''@|$(GNULIB_RECV)|g' \
171
-e 's|@''GNULIB_SEND''@|$(GNULIB_SEND)|g' \
172
-e 's|@''GNULIB_RECVFROM''@|$(GNULIB_RECVFROM)|g' \
173
-e 's|@''GNULIB_SENDTO''@|$(GNULIB_SENDTO)|g' \
174
-e 's|@''GNULIB_SETSOCKOPT''@|$(GNULIB_SETSOCKOPT)|g' \
175
-e 's|@''GNULIB_SHUTDOWN''@|$(GNULIB_SHUTDOWN)|g' \
176
-e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
177
-e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \
178
-e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
179
< $(srcdir)/sys_socket.in.h; \
182
MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
183
MOSTLYCLEANDIRS += sys
185
EXTRA_DIST += sys_socket.in.h
187
## end gnulib module sys_socket
189
## begin gnulib module sys_time
191
BUILT_SOURCES += $(SYS_TIME_H)
193
# We need the following in order to create <sys/time.h> when the system
194
# doesn't have one that works with the given compiler.
195
sys/time.h: sys_time.in.h
198
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
199
sed -e 's/@''HAVE_SYS_TIME_H''@/$(HAVE_SYS_TIME_H)/g' \
200
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
201
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
202
-e 's|@''NEXT_SYS_TIME_H''@|$(NEXT_SYS_TIME_H)|g' \
203
-e 's/@''REPLACE_GETTIMEOFDAY''@/$(REPLACE_GETTIMEOFDAY)/g' \
204
-e 's/@''HAVE_STRUCT_TIMEVAL''@/$(HAVE_STRUCT_TIMEVAL)/g' \
205
< $(srcdir)/sys_time.in.h; \
208
MOSTLYCLEANFILES += sys/time.h sys/time.h-t
210
EXTRA_DIST += sys_time.in.h
212
## end gnulib module sys_time
214
## begin gnulib module dummy
216
libgnu_la_SOURCES += dummy.c
218
## end gnulib module dummy
221
mostlyclean-local: mostlyclean-generic
222
@for dir in '' $(MOSTLYCLEANDIRS); do \
223
if test -n "$$dir" && test -d $$dir; then \
224
echo "rmdir $$dir"; rmdir $$dir; \