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=. --lib=libm4 --source-base=lib --m4-base=m4 --doc-base=doc --aux-dir=. --no-libtool --macro-prefix=M4 binary-io cloexec close-stream error fdl fopen-safer free gendocs getopt gnupload mkstemp obstack regex stdlib-safer strtol tmpfile-safer unlocked-io verror xalloc xvasprintf
13
AUTOMAKE_OPTIONS = 1.5 gnits no-dependencies
15
noinst_LIBRARIES = libm4.a
18
libm4_a_LIBADD = $(LIBOBJS)
23
MOSTLYCLEANFILES = core *.stackdump
27
MAINTAINERCLEANFILES =
31
## begin gnulib module alloca
34
libm4_a_LIBADD += @ALLOCA@
35
## end gnulib module alloca
37
## begin gnulib module alloca-opt
39
BUILT_SOURCES += $(ALLOCA_H)
40
EXTRA_DIST += alloca_.h
42
# We need the following in order to create <alloca.h> when the system
43
# doesn't have one that works with the given compiler.
45
cp -f $(srcdir)/alloca_.h $@-t
47
MOSTLYCLEANFILES += alloca.h alloca.h-t
49
## end gnulib module alloca-opt
51
## begin gnulib module binary-io
53
libm4_a_SOURCES += binary-io.h
55
## end gnulib module binary-io
57
## begin gnulib module cloexec
59
EXTRA_DIST += cloexec.h
61
## end gnulib module cloexec
63
## begin gnulib module close-stream
65
EXTRA_DIST += close-stream.h
67
## end gnulib module close-stream
69
## begin gnulib module exit
71
libm4_a_SOURCES += exit.h
73
## end gnulib module exit
75
## begin gnulib module exitfail
77
EXTRA_DIST += exitfail.h
79
## end gnulib module exitfail
81
## begin gnulib module fopen-safer
83
EXTRA_DIST += stdio-safer.h stdio--.h
85
## end gnulib module fopen-safer
87
## begin gnulib module fpending
89
EXTRA_DIST += __fpending.h
91
## end gnulib module fpending
93
## begin gnulib module getopt
95
BUILT_SOURCES += $(GETOPT_H)
96
EXTRA_DIST += getopt_.h getopt_int.h
98
# We need the following in order to create <getopt.h> when the system
99
# doesn't have one that works with the given compiler.
101
cp -f $(srcdir)/getopt_.h $@-t
103
MOSTLYCLEANFILES += getopt.h getopt.h-t
105
## end gnulib module getopt
107
## begin gnulib module gettext-h
109
libm4_a_SOURCES += gettext.h
111
## end gnulib module gettext-h
113
## begin gnulib module mbchar
115
libm4_a_SOURCES += mbchar.h
117
## end gnulib module mbchar
119
## begin gnulib module mbuiter
121
libm4_a_SOURCES += mbuiter.h
123
## end gnulib module mbuiter
125
## begin gnulib module mkstemp
127
EXTRA_DIST += mkstemp.h
129
## end gnulib module mkstemp
131
## begin gnulib module regex
133
EXTRA_DIST += regcomp.c regex.h regex_internal.c regex_internal.h regexec.c
135
## end gnulib module regex
137
## begin gnulib module size_max
139
libm4_a_SOURCES += size_max.h
141
## end gnulib module size_max
143
## begin gnulib module stat-macros
145
EXTRA_DIST += stat-macros.h
147
## end gnulib module stat-macros
149
## begin gnulib module stdbool
151
BUILT_SOURCES += $(STDBOOL_H)
152
EXTRA_DIST += stdbool_.h
154
# We need the following in order to create <stdbool.h> when the system
155
# doesn't have one that works.
156
stdbool.h: stdbool_.h
158
sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool_.h > $@-t
160
MOSTLYCLEANFILES += stdbool.h stdbool.h-t
162
## end gnulib module stdbool
164
## begin gnulib module stdint
166
BUILT_SOURCES += $(STDINT_H)
167
EXTRA_DIST += stdint_.h
169
# We need the following in order to create <stdint.h> when the system
170
# doesn't have one that works with the given compiler.
173
sed -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
174
-e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
175
-e 's|@''ABSOLUTE_STDINT_H''@|$(ABSOLUTE_STDINT_H)|g' \
176
-e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
177
-e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
178
-e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
179
-e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
180
-e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
181
-e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
182
-e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
183
-e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
184
-e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
185
-e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
186
-e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
187
-e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
188
-e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
189
-e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
190
-e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
191
-e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
192
-e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
193
-e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
194
< $(srcdir)/stdint_.h > $@-t
196
MOSTLYCLEANFILES += stdint.h stdint.h-t
198
## end gnulib module stdint
200
## begin gnulib module stdlib-safer
202
EXTRA_DIST += stdlib-safer.h stdlib--.h
204
## end gnulib module stdlib-safer
206
## begin gnulib module strcase
208
libm4_a_SOURCES += strcase.h
210
## end gnulib module strcase
212
## begin gnulib module strnlen1
214
libm4_a_SOURCES += strnlen1.h strnlen1.c
216
## end gnulib module strnlen1
218
## begin gnulib module sys_stat
220
BUILT_SOURCES += $(SYS_STAT_H)
221
EXTRA_DIST += stat_.h
223
# We need the following in order to create <sys/stat.h> when the system
224
# has one that is incomplete.
226
test -d sys || mkdir sys
228
sed -e 's|@''ABSOLUTE_SYS_STAT_H''@|$(ABSOLUTE_SYS_STAT_H)|g' \
229
< $(srcdir)/stat_.h > $@-t
231
MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
232
MOSTLYCLEANDIRS += sys
234
## end gnulib module sys_stat
236
## begin gnulib module tmpfile-safer
238
EXTRA_DIST += stdio-safer.h stdio--.h
240
## end gnulib module tmpfile-safer
242
## begin gnulib module unistd
244
BUILT_SOURCES += $(UNISTD_H)
246
# We need the following in order to create an empty placeholder for
247
# <unistd.h> when the system doesn't have one.
249
echo '/* Empty placeholder for $@. */' >$@
250
MOSTLYCLEANFILES += unistd.h
252
## end gnulib module unistd
254
## begin gnulib module unistd-safer
256
EXTRA_DIST += unistd-safer.h unistd--.h
258
## end gnulib module unistd-safer
260
## begin gnulib module unlocked-io
262
EXTRA_DIST += unlocked-io.h
264
## end gnulib module unlocked-io
266
## begin gnulib module vasnprintf
268
libm4_a_SOURCES += printf-args.h printf-parse.h vasnprintf.h
270
## end gnulib module vasnprintf
272
## begin gnulib module vasprintf
274
libm4_a_SOURCES += vasprintf.h
276
## end gnulib module vasprintf
278
## begin gnulib module verror
280
libm4_a_SOURCES += verror.h verror.c
282
## end gnulib module verror
284
## begin gnulib module wcwidth
286
libm4_a_SOURCES += wcwidth.h
288
## end gnulib module wcwidth
290
## begin gnulib module xalloc
292
EXTRA_DIST += xalloc.h
294
## end gnulib module xalloc
296
## begin gnulib module xalloc-die
298
libm4_a_SOURCES += xalloc-die.c
300
## end gnulib module xalloc-die
302
## begin gnulib module xsize
304
libm4_a_SOURCES += xsize.h
306
## end gnulib module xsize
308
## begin gnulib module xvasprintf
310
libm4_a_SOURCES += xvasprintf.h xvasprintf.c xasprintf.c
312
## end gnulib module xvasprintf
315
mostlyclean-local: mostlyclean-generic
316
@test -z "$(MOSTLYCLEANDIRS)" || \
317
for dir in $(MOSTLYCLEANDIRS); do \
318
if test -d $$dir; then \
319
echo "rmdir $$dir"; rmdir $$dir; \