~ubuntu-branches/ubuntu/gutsy/m4/gutsy

« back to all changes in this revision

Viewing changes to lib/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Santiago Vila
  • Date: 2006-09-25 19:20:30 UTC
  • mfrom: (1.2.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20060925192030-x9s2i4h7wlvsx7dy
Tags: 1.4.7-1
New upstream release. See the NEWS file for details.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
## Process this file with automake to produce Makefile.in.
 
2
# Copyright (C) 2004-2006 Free Software Foundation, Inc.
 
3
#
 
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.
 
9
#
 
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
 
12
 
 
13
AUTOMAKE_OPTIONS = 1.5 gnits no-dependencies
 
14
 
 
15
noinst_LIBRARIES = libm4.a
 
16
 
 
17
libm4_a_SOURCES =
 
18
libm4_a_LIBADD = $(LIBOBJS)
 
19
noinst_HEADERS =
 
20
EXTRA_DIST =
 
21
BUILT_SOURCES =
 
22
SUFFIXES =
 
23
MOSTLYCLEANFILES = core *.stackdump
 
24
MOSTLYCLEANDIRS =
 
25
CLEANFILES =
 
26
DISTCLEANFILES =
 
27
MAINTAINERCLEANFILES =
 
28
 
 
29
AM_CPPFLAGS =
 
30
 
 
31
## begin gnulib module alloca
 
32
 
 
33
 
 
34
libm4_a_LIBADD += @ALLOCA@
 
35
## end   gnulib module alloca
 
36
 
 
37
## begin gnulib module alloca-opt
 
38
 
 
39
BUILT_SOURCES += $(ALLOCA_H)
 
40
EXTRA_DIST += alloca_.h
 
41
 
 
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.
 
44
alloca.h: alloca_.h
 
45
        cp -f $(srcdir)/alloca_.h $@-t
 
46
        mv -f $@-t $@
 
47
MOSTLYCLEANFILES += alloca.h alloca.h-t
 
48
 
 
49
## end   gnulib module alloca-opt
 
50
 
 
51
## begin gnulib module binary-io
 
52
 
 
53
libm4_a_SOURCES += binary-io.h
 
54
 
 
55
## end   gnulib module binary-io
 
56
 
 
57
## begin gnulib module cloexec
 
58
 
 
59
EXTRA_DIST += cloexec.h
 
60
 
 
61
## end   gnulib module cloexec
 
62
 
 
63
## begin gnulib module close-stream
 
64
 
 
65
EXTRA_DIST += close-stream.h
 
66
 
 
67
## end   gnulib module close-stream
 
68
 
 
69
## begin gnulib module exit
 
70
 
 
71
libm4_a_SOURCES += exit.h
 
72
 
 
73
## end   gnulib module exit
 
74
 
 
75
## begin gnulib module exitfail
 
76
 
 
77
EXTRA_DIST += exitfail.h
 
78
 
 
79
## end   gnulib module exitfail
 
80
 
 
81
## begin gnulib module fopen-safer
 
82
 
 
83
EXTRA_DIST += stdio-safer.h stdio--.h
 
84
 
 
85
## end   gnulib module fopen-safer
 
86
 
 
87
## begin gnulib module fpending
 
88
 
 
89
EXTRA_DIST += __fpending.h
 
90
 
 
91
## end   gnulib module fpending
 
92
 
 
93
## begin gnulib module getopt
 
94
 
 
95
BUILT_SOURCES += $(GETOPT_H)
 
96
EXTRA_DIST += getopt_.h getopt_int.h
 
97
 
 
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.
 
100
getopt.h: getopt_.h
 
101
        cp -f $(srcdir)/getopt_.h $@-t
 
102
        mv -f $@-t $@
 
103
MOSTLYCLEANFILES += getopt.h getopt.h-t
 
104
 
 
105
## end   gnulib module getopt
 
106
 
 
107
## begin gnulib module gettext-h
 
108
 
 
109
libm4_a_SOURCES += gettext.h
 
110
 
 
111
## end   gnulib module gettext-h
 
112
 
 
113
## begin gnulib module mbchar
 
114
 
 
115
libm4_a_SOURCES += mbchar.h
 
116
 
 
117
## end   gnulib module mbchar
 
118
 
 
119
## begin gnulib module mbuiter
 
120
 
 
121
libm4_a_SOURCES += mbuiter.h
 
122
 
 
123
## end   gnulib module mbuiter
 
124
 
 
125
## begin gnulib module mkstemp
 
126
 
 
127
EXTRA_DIST += mkstemp.h
 
128
 
 
129
## end   gnulib module mkstemp
 
130
 
 
131
## begin gnulib module regex
 
132
 
 
133
EXTRA_DIST += regcomp.c regex.h regex_internal.c regex_internal.h regexec.c
 
134
 
 
135
## end   gnulib module regex
 
136
 
 
137
## begin gnulib module size_max
 
138
 
 
139
libm4_a_SOURCES += size_max.h
 
140
 
 
141
## end   gnulib module size_max
 
142
 
 
143
## begin gnulib module stat-macros
 
144
 
 
145
EXTRA_DIST += stat-macros.h
 
146
 
 
147
## end   gnulib module stat-macros
 
148
 
 
149
## begin gnulib module stdbool
 
150
 
 
151
BUILT_SOURCES += $(STDBOOL_H)
 
152
EXTRA_DIST += stdbool_.h
 
153
 
 
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
 
157
        rm -f $@-t $@
 
158
        sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool_.h > $@-t
 
159
        mv $@-t $@
 
160
MOSTLYCLEANFILES += stdbool.h stdbool.h-t
 
161
 
 
162
## end   gnulib module stdbool
 
163
 
 
164
## begin gnulib module stdint
 
165
 
 
166
BUILT_SOURCES += $(STDINT_H)
 
167
EXTRA_DIST += stdint_.h
 
168
 
 
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.
 
171
stdint.h: stdint_.h
 
172
        rm -f $@-t $@
 
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
 
195
        mv $@-t $@
 
196
MOSTLYCLEANFILES += stdint.h stdint.h-t
 
197
 
 
198
## end   gnulib module stdint
 
199
 
 
200
## begin gnulib module stdlib-safer
 
201
 
 
202
EXTRA_DIST += stdlib-safer.h stdlib--.h
 
203
 
 
204
## end   gnulib module stdlib-safer
 
205
 
 
206
## begin gnulib module strcase
 
207
 
 
208
libm4_a_SOURCES += strcase.h
 
209
 
 
210
## end   gnulib module strcase
 
211
 
 
212
## begin gnulib module strnlen1
 
213
 
 
214
libm4_a_SOURCES += strnlen1.h strnlen1.c
 
215
 
 
216
## end   gnulib module strnlen1
 
217
 
 
218
## begin gnulib module sys_stat
 
219
 
 
220
BUILT_SOURCES += $(SYS_STAT_H)
 
221
EXTRA_DIST += stat_.h
 
222
 
 
223
# We need the following in order to create <sys/stat.h> when the system
 
224
# has one that is incomplete.
 
225
sys/stat.h: stat_.h
 
226
        test -d sys || mkdir sys
 
227
        rm -f $@-t $@
 
228
        sed -e 's|@''ABSOLUTE_SYS_STAT_H''@|$(ABSOLUTE_SYS_STAT_H)|g' \
 
229
            < $(srcdir)/stat_.h > $@-t
 
230
        mv $@-t $@
 
231
MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
 
232
MOSTLYCLEANDIRS += sys
 
233
 
 
234
## end   gnulib module sys_stat
 
235
 
 
236
## begin gnulib module tmpfile-safer
 
237
 
 
238
EXTRA_DIST += stdio-safer.h stdio--.h
 
239
 
 
240
## end   gnulib module tmpfile-safer
 
241
 
 
242
## begin gnulib module unistd
 
243
 
 
244
BUILT_SOURCES += $(UNISTD_H)
 
245
 
 
246
# We need the following in order to create an empty placeholder for
 
247
# <unistd.h> when the system doesn't have one.
 
248
unistd.h:
 
249
        echo '/* Empty placeholder for $@.  */' >$@
 
250
MOSTLYCLEANFILES += unistd.h
 
251
 
 
252
## end   gnulib module unistd
 
253
 
 
254
## begin gnulib module unistd-safer
 
255
 
 
256
EXTRA_DIST += unistd-safer.h unistd--.h
 
257
 
 
258
## end   gnulib module unistd-safer
 
259
 
 
260
## begin gnulib module unlocked-io
 
261
 
 
262
EXTRA_DIST += unlocked-io.h
 
263
 
 
264
## end   gnulib module unlocked-io
 
265
 
 
266
## begin gnulib module vasnprintf
 
267
 
 
268
libm4_a_SOURCES += printf-args.h printf-parse.h vasnprintf.h
 
269
 
 
270
## end   gnulib module vasnprintf
 
271
 
 
272
## begin gnulib module vasprintf
 
273
 
 
274
libm4_a_SOURCES += vasprintf.h
 
275
 
 
276
## end   gnulib module vasprintf
 
277
 
 
278
## begin gnulib module verror
 
279
 
 
280
libm4_a_SOURCES += verror.h verror.c
 
281
 
 
282
## end   gnulib module verror
 
283
 
 
284
## begin gnulib module wcwidth
 
285
 
 
286
libm4_a_SOURCES += wcwidth.h
 
287
 
 
288
## end   gnulib module wcwidth
 
289
 
 
290
## begin gnulib module xalloc
 
291
 
 
292
EXTRA_DIST += xalloc.h
 
293
 
 
294
## end   gnulib module xalloc
 
295
 
 
296
## begin gnulib module xalloc-die
 
297
 
 
298
libm4_a_SOURCES += xalloc-die.c
 
299
 
 
300
## end   gnulib module xalloc-die
 
301
 
 
302
## begin gnulib module xsize
 
303
 
 
304
libm4_a_SOURCES += xsize.h
 
305
 
 
306
## end   gnulib module xsize
 
307
 
 
308
## begin gnulib module xvasprintf
 
309
 
 
310
libm4_a_SOURCES += xvasprintf.h xvasprintf.c xasprintf.c
 
311
 
 
312
## end   gnulib module xvasprintf
 
313
 
 
314
 
 
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; \
 
320
            fi; \
 
321
          done