1 ## Process this file with automake to produce Makefile.in.
2 # Copyright (C) 2004-2006 Free Software Foundation, Inc.
4 # This file is free software, distributed under the terms of the GNU
5 # General Public License. As a special exception to the GNU General
6 # Public License, this file may be distributed as part of a program
7 # that contains a configuration script generated by Autoconf, under
8 # the same distribution terms as the rest of that program.
10 # Generated by gnulib-tool.
11 # Reproduce by: gnulib-tool --import --dir=. --local-dir=gl/override --lib=libgl --source-base=gl --m4-base=gl/m4 --doc-base=doc --aux-dir=. --libtool --macro-prefix=gl error exit fdl gendocs getaddrinfo getopt getpass iconvme maintainer-makefile progname quote readline strdup sys_select unistd
13 AUTOMAKE_OPTIONS = 1.5 gnits no-dependencies
15 noinst_LTLIBRARIES = libgl.la
18 libgl_la_LIBADD = @LTLIBOBJS@
23 MOSTLYCLEANFILES = core *.stackdump
27 MAINTAINERCLEANFILES =
31 ## begin gnulib module alloca-opt
33 BUILT_SOURCES += $(ALLOCA_H)
34 EXTRA_DIST += alloca_.h
36 # We need the following in order to create <alloca.h> when the system
37 # doesn't have one that works with the given compiler.
39 cp $(srcdir)/alloca_.h $@-t
41 MOSTLYCLEANFILES += alloca.h alloca.h-t
43 ## end gnulib module alloca-opt
45 ## begin gnulib module arpa_inet
47 BUILT_SOURCES += $(ARPA_INET_H)
49 # We need the following in order to create <arpa/inet.h> when the system
52 test -d arpa || mkdir arpa
53 echo '#include <sys/socket.h>' >$@-t
55 MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t
56 MOSTLYCLEANDIRS += arpa
58 ## end gnulib module arpa_inet
60 ## begin gnulib module exit
62 libgl_la_SOURCES += exit.h
64 ## end gnulib module exit
66 ## begin gnulib module exitfail
68 EXTRA_DIST += exitfail.h
70 ## end gnulib module exitfail
72 ## begin gnulib module getaddrinfo
74 libgl_la_SOURCES += getaddrinfo.h
76 ## end gnulib module getaddrinfo
78 ## begin gnulib module getdelim
80 EXTRA_DIST += getdelim.h
82 ## end gnulib module getdelim
84 ## begin gnulib module getline
86 EXTRA_DIST += getline.h
88 ## end gnulib module getline
90 ## begin gnulib module getopt
92 BUILT_SOURCES += $(GETOPT_H)
93 EXTRA_DIST += getopt_.h getopt_int.h
95 # We need the following in order to create <getopt.h> when the system
96 # doesn't have one that works with the given compiler.
98 cp $(srcdir)/getopt_.h $@-t
100 MOSTLYCLEANFILES += getopt.h getopt.h-t
102 ## end gnulib module getopt
104 ## begin gnulib module getpass
106 EXTRA_DIST += getpass.h
108 ## end gnulib module getpass
110 ## begin gnulib module gettext-h
112 libgl_la_SOURCES += gettext.h
114 ## end gnulib module gettext-h
116 ## begin gnulib module iconvme
118 libgl_la_SOURCES += iconvme.h iconvme.c
119 libgl_la_LIBADD += $(LTLIBICONV)
121 ## end gnulib module iconvme
123 ## begin gnulib module inet_ntop
125 libgl_la_SOURCES += inet_ntop.h
127 ## end gnulib module inet_ntop
129 ## begin gnulib module netinet_in
131 BUILT_SOURCES += $(NETINET_IN_H)
133 # We need the following in order to create <netinet/in.h> when the system
136 test -d netinet || mkdir netinet
137 echo '#include <sys/socket.h>' >$@-t
139 MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
140 MOSTLYCLEANDIRS += netinet
142 ## end gnulib module netinet_in
144 ## begin gnulib module progname
146 libgl_la_SOURCES += progname.h progname.c
148 ## end gnulib module progname
150 ## begin gnulib module quote
152 EXTRA_DIST += quote.h
154 ## end gnulib module quote
156 ## begin gnulib module quotearg
158 EXTRA_DIST += quotearg.h
160 ## end gnulib module quotearg
162 ## begin gnulib module readline
164 EXTRA_DIST += readline.h
166 ## end gnulib module readline
168 ## begin gnulib module size_max
170 libgl_la_SOURCES += size_max.h
172 ## end gnulib module size_max
174 ## begin gnulib module snprintf
176 libgl_la_SOURCES += snprintf.h
178 ## end gnulib module snprintf
180 ## begin gnulib module stdbool
182 BUILT_SOURCES += $(STDBOOL_H)
183 EXTRA_DIST += stdbool_.h
185 # We need the following in order to create <stdbool.h> when the system
186 # doesn't have one that works.
187 stdbool.h: stdbool_.h
188 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool_.h > $@-t
190 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
192 ## end gnulib module stdbool
194 ## begin gnulib module strdup
196 EXTRA_DIST += strdup.h
198 ## end gnulib module strdup
200 ## begin gnulib module sys_select
202 BUILT_SOURCES += $(SYS_SELECT_H)
204 # We need the following in order to create <sys/select.h> when the system
205 # doesn't have one that works with the given compiler.
207 test -d sys || mkdir sys
208 echo '#include <sys/socket.h>' >$@-t
210 MOSTLYCLEANFILES += sys/select.h sys/select.h-t
211 MOSTLYCLEANDIRS += sys
213 ## end gnulib module sys_select
215 ## begin gnulib module sys_socket
217 BUILT_SOURCES += $(SYS_SOCKET_H)
218 EXTRA_DIST += socket_.h
220 # We need the following in order to create <sys/socket.h> when the system
221 # doesn't have one that works with the given compiler.
222 sys/socket.h: socket_.h
223 test -d sys || mkdir sys
224 cp $(srcdir)/socket_.h $@-t
226 MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
227 MOSTLYCLEANDIRS += sys
229 ## end gnulib module sys_socket
231 ## begin gnulib module unistd
233 BUILT_SOURCES += $(UNISTD_H)
235 # We need the following in order to create an empty placeholder for
236 # <unistd.h> when the system doesn't have one.
238 echo '/* Empty placeholder for $@. */' >$@
239 MOSTLYCLEANFILES += unistd.h
241 ## end gnulib module unistd
243 ## begin gnulib module vasnprintf
245 libgl_la_SOURCES += printf-args.h printf-parse.h vasnprintf.h
247 ## end gnulib module vasnprintf
249 ## begin gnulib module xalloc
251 EXTRA_DIST += xalloc.h
253 ## end gnulib module xalloc
255 ## begin gnulib module xalloc-die
257 libgl_la_SOURCES += xalloc-die.c
259 ## end gnulib module xalloc-die
261 ## begin gnulib module xsize
263 libgl_la_SOURCES += xsize.h
265 ## end gnulib module xsize
268 mostlyclean-local: mostlyclean-generic
269 @test -z "$(MOSTLYCLEANDIRS)" || \
270 for dir in $(MOSTLYCLEANDIRS); do \
271 if test -d $$dir; then \
272 echo "rmdir $$dir"; rmdir $$dir; \
276 # Makefile.am ends here