Update.
[gsasl.git] / gl / Makefile.am
blob30c05161c6b39bf774912585829c83b98cb46d03
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 gpl 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 libgl_la_LDFLAGS = $(AM_LDFLAGS)
20 noinst_HEADERS =
21 EXTRA_DIST =
22 BUILT_SOURCES =
23 SUFFIXES =
24 MOSTLYCLEANFILES = core *.stackdump
25 MOSTLYCLEANDIRS =
26 CLEANFILES =
27 DISTCLEANFILES =
28 MAINTAINERCLEANFILES =
30 AM_CPPFLAGS =
32 ## begin gnulib module alloca-opt
34 BUILT_SOURCES += $(ALLOCA_H)
35 EXTRA_DIST += alloca_.h
37 # We need the following in order to create <alloca.h> when the system
38 # doesn't have one that works with the given compiler.
39 alloca.h: alloca_.h
40         cp -f $(srcdir)/alloca_.h $@-t
41         mv -f $@-t $@
42 MOSTLYCLEANFILES += alloca.h alloca.h-t
44 ## end   gnulib module alloca-opt
46 ## begin gnulib module arpa_inet
48 BUILT_SOURCES += $(ARPA_INET_H)
50 # We need the following in order to create <arpa/inet.h> when the system
51 # doesn't have one.
52 arpa/inet.h:
53         test -d arpa || mkdir arpa
54         rm -f $@-t $@
55         echo '#include <sys/socket.h>' >$@-t
56         mv $@-t $@
57 MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t
58 MOSTLYCLEANDIRS += arpa
60 ## end   gnulib module arpa_inet
62 ## begin gnulib module exit
64 libgl_la_SOURCES += exit.h
66 ## end   gnulib module exit
68 ## begin gnulib module exitfail
70 EXTRA_DIST += exitfail.h
72 ## end   gnulib module exitfail
74 ## begin gnulib module getaddrinfo
76 libgl_la_SOURCES += getaddrinfo.h
78 ## end   gnulib module getaddrinfo
80 ## begin gnulib module getdelim
82 EXTRA_DIST += getdelim.h
84 ## end   gnulib module getdelim
86 ## begin gnulib module getline
88 EXTRA_DIST += getline.h
90 ## end   gnulib module getline
92 ## begin gnulib module getopt
94 BUILT_SOURCES += $(GETOPT_H)
95 EXTRA_DIST += getopt_.h getopt_int.h
97 # We need the following in order to create <getopt.h> when the system
98 # doesn't have one that works with the given compiler.
99 getopt.h: getopt_.h
100         cp -f $(srcdir)/getopt_.h $@-t
101         mv -f $@-t $@
102 MOSTLYCLEANFILES += getopt.h getopt.h-t
104 ## end   gnulib module getopt
106 ## begin gnulib module getpass
108 EXTRA_DIST += getpass.h
110 ## end   gnulib module getpass
112 ## begin gnulib module gettext-h
114 libgl_la_SOURCES += gettext.h
116 ## end   gnulib module gettext-h
118 ## begin gnulib module iconvme
120 libgl_la_SOURCES += iconvme.h iconvme.c
121 if GL_COND_LIBTOOL
122 libgl_la_LDFLAGS += $(LTLIBICONV)
123 endif
125 ## end   gnulib module iconvme
127 ## begin gnulib module inet_ntop
129 libgl_la_SOURCES += inet_ntop.h
131 ## end   gnulib module inet_ntop
133 ## begin gnulib module netinet_in
135 BUILT_SOURCES += $(NETINET_IN_H)
137 # We need the following in order to create <netinet/in.h> when the system
138 # doesn't have one.
139 netinet/in.h:
140         test -d netinet || mkdir netinet
141         rm -f $@-t $@
142         echo '#include <sys/socket.h>' >$@-t
143         mv $@-t $@
144 MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
145 MOSTLYCLEANDIRS += netinet
147 ## end   gnulib module netinet_in
149 ## begin gnulib module progname
151 libgl_la_SOURCES += progname.h progname.c
153 ## end   gnulib module progname
155 ## begin gnulib module quote
157 EXTRA_DIST += quote.h
159 ## end   gnulib module quote
161 ## begin gnulib module quotearg
163 EXTRA_DIST += quotearg.h
165 ## end   gnulib module quotearg
167 ## begin gnulib module readline
169 EXTRA_DIST += readline.h
171 ## end   gnulib module readline
173 ## begin gnulib module size_max
175 libgl_la_SOURCES += size_max.h
177 ## end   gnulib module size_max
179 ## begin gnulib module snprintf
181 libgl_la_SOURCES += snprintf.h
183 ## end   gnulib module snprintf
185 ## begin gnulib module stdbool
187 BUILT_SOURCES += $(STDBOOL_H)
188 EXTRA_DIST += stdbool_.h
190 # We need the following in order to create <stdbool.h> when the system
191 # doesn't have one that works.
192 stdbool.h: stdbool_.h
193         rm -f $@-t $@
194         sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool_.h > $@-t
195         mv $@-t $@
196 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
198 ## end   gnulib module stdbool
200 ## begin gnulib module strdup
202 EXTRA_DIST += strdup.h
204 ## end   gnulib module strdup
206 ## begin gnulib module sys_select
208 BUILT_SOURCES += $(SYS_SELECT_H)
210 # We need the following in order to create <sys/select.h> when the system
211 # doesn't have one that works with the given compiler.
212 sys/select.h:
213         test -d sys || mkdir sys
214         rm -f $@-t $@
215         echo '#include <sys/socket.h>' >$@-t
216         mv $@-t $@
217 MOSTLYCLEANFILES += sys/select.h sys/select.h-t
218 MOSTLYCLEANDIRS += sys
220 ## end   gnulib module sys_select
222 ## begin gnulib module sys_socket
224 BUILT_SOURCES += $(SYS_SOCKET_H)
225 EXTRA_DIST += socket_.h
227 # We need the following in order to create <sys/socket.h> when the system
228 # doesn't have one that works with the given compiler.
229 sys/socket.h: socket_.h
230         test -d sys || mkdir sys
231         cp -f $(srcdir)/socket_.h $@-t
232         mv -f $@-t $@
233 MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
234 MOSTLYCLEANDIRS += sys
236 ## end   gnulib module sys_socket
238 ## begin gnulib module unistd
240 BUILT_SOURCES += $(UNISTD_H)
242 # We need the following in order to create an empty placeholder for
243 # <unistd.h> when the system doesn't have one.
244 unistd.h:
245         echo '/* Empty placeholder for $@.  */' >$@
246 MOSTLYCLEANFILES += unistd.h
248 ## end   gnulib module unistd
250 ## begin gnulib module vasnprintf
252 libgl_la_SOURCES += printf-args.h printf-parse.h vasnprintf.h
254 ## end   gnulib module vasnprintf
256 ## begin gnulib module xalloc
258 EXTRA_DIST += xalloc.h
260 ## end   gnulib module xalloc
262 ## begin gnulib module xalloc-die
264 libgl_la_SOURCES += xalloc-die.c
266 ## end   gnulib module xalloc-die
268 ## begin gnulib module xsize
270 libgl_la_SOURCES += xsize.h
272 ## end   gnulib module xsize
275 mostlyclean-local: mostlyclean-generic
276         @test -z "$(MOSTLYCLEANDIRS)" || \
277           for dir in $(MOSTLYCLEANDIRS); do \
278             if test -d $$dir; then \
279               echo "rmdir $$dir"; rmdir $$dir; \
280             fi; \
281           done