Update.
[gsasl.git] / gl / Makefile.am
blobc87587922d7cbb93459acfbdd2024ed616278ce1
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
17 libgl_la_SOURCES =
18 libgl_la_LIBADD = @LTLIBOBJS@
19 noinst_HEADERS =
20 EXTRA_DIST =
21 BUILT_SOURCES =
22 SUFFIXES =
23 MOSTLYCLEANFILES = core *.stackdump
24 MOSTLYCLEANDIRS =
25 CLEANFILES =
26 DISTCLEANFILES =
27 MAINTAINERCLEANFILES =
29 AM_CPPFLAGS =
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.
38 alloca.h: alloca_.h
39         cp $(srcdir)/alloca_.h $@-t
40         mv $@-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
50 # doesn't have one.
51 arpa/inet.h:
52         test -d arpa || mkdir arpa
53         echo '#include <sys/socket.h>' >$@-t
54         mv $@-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.
97 getopt.h: getopt_.h
98         cp $(srcdir)/getopt_.h $@-t
99         mv $@-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
134 # doesn't have one.
135 netinet/in.h:
136         test -d netinet || mkdir netinet
137         echo '#include <sys/socket.h>' >$@-t
138         mv $@-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
189         mv $@-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.
206 sys/select.h:
207         test -d sys || mkdir sys
208         echo '#include <sys/socket.h>' >$@-t
209         mv $@-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
225         mv $@-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.
237 unistd.h:
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; \
273             fi; \
274           done
276 # Makefile.am ends here