Sync usage with man page.
[netbsd-mini2440.git] / gnu / dist / gettext / gettext-runtime / libasprintf / Makefile.in
bloba0f0e46c7f8ac4f7d4ffe0f11e2e73ccfd1b2b40
1 # Makefile.in generated by automake 1.9.5 from Makefile.am.
2 # @configure_input@
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005 Free Software Foundation, Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 # PARTICULAR PURPOSE.
15 @SET_MAKE@
18 SOURCES = $(libasprintf_la_SOURCES)
20 srcdir = @srcdir@
21 top_srcdir = @top_srcdir@
22 VPATH = @srcdir@
23 pkgdatadir = $(datadir)/@PACKAGE@
24 pkglibdir = $(libdir)/@PACKAGE@
25 pkgincludedir = $(includedir)/@PACKAGE@
26 top_builddir = .
27 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
28 INSTALL = @INSTALL@
29 install_sh_DATA = $(install_sh) -c -m 644
30 install_sh_PROGRAM = $(install_sh) -c
31 install_sh_SCRIPT = $(install_sh) -c
32 INSTALL_HEADER = $(INSTALL_DATA)
33 transform = $(program_transform_name)
34 NORMAL_INSTALL = :
35 PRE_INSTALL = :
36 POST_INSTALL = :
37 NORMAL_UNINSTALL = :
38 PRE_UNINSTALL = :
39 POST_UNINSTALL = :
40 build_triplet = @build@
41 host_triplet = @host@
42 DIST_COMMON = README $(am__configure_deps) $(include_HEADERS) \
43 $(srcdir)/../../build-aux/config.guess \
44 $(srcdir)/../../build-aux/config.sub \
45 $(srcdir)/../../build-aux/install-sh \
46 $(srcdir)/../../build-aux/ltmain.sh \
47 $(srcdir)/../../build-aux/missing \
48 $(srcdir)/../../build-aux/mkinstalldirs \
49 $(srcdir)/../../build-aux/texinfo.tex $(srcdir)/Makefile.am \
50 $(srcdir)/Makefile.in $(srcdir)/config.h.in \
51 $(top_srcdir)/configure ../../build-aux/compile \
52 ../../build-aux/config.guess ../../build-aux/config.rpath \
53 ../../build-aux/config.sub ../../build-aux/elisp-comp \
54 ../../build-aux/install-sh ../../build-aux/ltmain.sh \
55 ../../build-aux/mdate-sh ../../build-aux/missing \
56 ../../build-aux/mkinstalldirs ../../build-aux/texinfo.tex \
57 ../../build-aux/ylwrap AUTHORS COPYING COPYING.LIB ChangeLog \
58 INSTALL NEWS
59 subdir = .
60 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
61 am__aclocal_m4_deps = $(top_srcdir)/../m4/intmax.m4 \
62 $(top_srcdir)/../m4/inttypes_h.m4 \
63 $(top_srcdir)/../m4/longdouble.m4 \
64 $(top_srcdir)/../m4/longlong.m4 \
65 $(top_srcdir)/../m4/printf-posix.m4 \
66 $(top_srcdir)/../m4/signed.m4 $(top_srcdir)/../m4/size_max.m4 \
67 $(top_srcdir)/../m4/stdint_h.m4 $(top_srcdir)/../m4/wchar_t.m4 \
68 $(top_srcdir)/../m4/wint_t.m4 $(top_srcdir)/../m4/xsize.m4 \
69 $(top_srcdir)/../../m4/fixautomake.m4 \
70 $(top_srcdir)/../../m4/libtool.m4 $(top_srcdir)/configure.ac
71 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
72 $(ACLOCAL_M4)
73 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
74 configure.lineno configure.status.lineno
75 mkinstalldirs = $(SHELL) $(top_srcdir)/../../build-aux/mkinstalldirs
76 CONFIG_HEADER = config.h
77 CONFIG_CLEAN_FILES =
78 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
79 am__vpath_adj = case $$p in \
80 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
81 *) f=$$p;; \
82 esac;
83 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
84 am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(infodir)" \
85 "$(DESTDIR)$(includedir)"
86 libLTLIBRARIES_INSTALL = $(INSTALL)
87 LTLIBRARIES = $(lib_LTLIBRARIES)
88 libasprintf_la_LIBADD =
89 am_libasprintf_la_OBJECTS = lib-asprintf.lo autosprintf.lo
90 libasprintf_la_OBJECTS = $(am_libasprintf_la_OBJECTS)
91 DEFAULT_INCLUDES = -I. -I$(srcdir) -I.
92 depcomp =
93 am__depfiles_maybe =
94 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
95 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
96 LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
97 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
98 $(AM_CFLAGS) $(CFLAGS)
99 CCLD = $(CC)
100 LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
101 $(AM_LDFLAGS) $(LDFLAGS) -o $@
102 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
103 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
104 LTCXXCOMPILE = $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) \
105 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
106 $(AM_CXXFLAGS) $(CXXFLAGS)
107 CXXLD = $(CXX)
108 CXXLINK = $(LIBTOOL) --tag=CXX --mode=link $(CXXLD) $(AM_CXXFLAGS) \
109 $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
110 SOURCES = $(libasprintf_la_SOURCES)
111 DIST_SOURCES = $(libasprintf_la_SOURCES)
112 INFO_DEPS = $(srcdir)/autosprintf.info
113 TEXINFO_TEX = $(top_srcdir)/../../build-aux/texinfo.tex
114 am__TEXINFO_TEX_DIR = $(top_srcdir)/../../build-aux
115 DVIS = autosprintf.dvi
116 PDFS = autosprintf.pdf
117 PSS = autosprintf.ps
118 HTMLS = autosprintf.html
119 TEXINFOS = autosprintf.texi
120 TEXI2DVI = texi2dvi
121 MAKEINFOHTML = $(MAKEINFO) --html
122 AM_MAKEINFOHTMLFLAGS = $(AM_MAKEINFOFLAGS)
123 includeHEADERS_INSTALL = $(INSTALL_HEADER)
124 HEADERS = $(include_HEADERS)
125 ETAGS = etags
126 CTAGS = ctags
127 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
128 distdir = $(PACKAGE)-$(VERSION)
129 top_distdir = $(distdir)
130 am__remove_distdir = \
131 { test ! -d $(distdir) \
132 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
133 && rm -fr $(distdir); }; }
134 DIST_ARCHIVES = $(distdir).tar.gz
135 GZIP_ENV = --best
136 distuninstallcheck_listfiles = find . -type f -print
137 distcleancheck_listfiles = find . -type f -print
138 ACLOCAL = @ACLOCAL@
139 ALLOCA = @ALLOCA@
140 ALLOCA_H = @ALLOCA_H@
141 AMDEP_FALSE = @AMDEP_FALSE@
142 AMDEP_TRUE = @AMDEP_TRUE@
143 AMTAR = @AMTAR@
144 AR = @AR@
145 AS = @AS@
146 AUTOCONF = @AUTOCONF@
147 AUTOHEADER = @AUTOHEADER@
148 AUTOMAKE = @AUTOMAKE@
149 AWK = @AWK@
150 CC = @CC@
151 CCDEPMODE = @CCDEPMODE@
152 CFLAGS = @CFLAGS@
153 CPP = @CPP@
154 CPPFLAGS = @CPPFLAGS@
155 CXX = @CXX@
156 CXXCPP = @CXXCPP@
157 CXXDEPMODE = @CXXDEPMODE@
158 CXXFLAGS = @CXXFLAGS@
159 CYGPATH_W = @CYGPATH_W@
160 DEFS = @DEFS@
161 DEPDIR = @DEPDIR@
162 DLLTOOL = @DLLTOOL@
164 # Documentation in Postscript format.
166 # Override of automake's definition:
167 #DVIPS = @DVIPS@
168 DVIPS = @DVIPS@ -D600
169 ECHO = @ECHO@
170 ECHO_C = @ECHO_C@
171 ECHO_N = @ECHO_N@
172 ECHO_T = @ECHO_T@
173 EGREP = @EGREP@
174 EXEEXT = @EXEEXT@
175 F77 = @F77@
176 FFLAGS = @FFLAGS@
177 INSTALL_DATA = @INSTALL_DATA@
178 INSTALL_PROGRAM = @INSTALL_PROGRAM@
179 INSTALL_SCRIPT = @INSTALL_SCRIPT@
180 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
181 LDFLAGS = @LDFLAGS@
182 LIBOBJS = @LIBOBJS@
183 LIBS = @LIBS@
184 LIBTOOL = @LIBTOOL@
185 LN_S = @LN_S@
186 LTLIBOBJS = @LTLIBOBJS@
187 MAKEINFO = env LANG= LC_MESSAGES= LC_ALL= LANGUAGE= @MAKEINFO@
188 OBJDUMP = @OBJDUMP@
189 OBJEXT = @OBJEXT@
190 PACKAGE = @PACKAGE@
191 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
192 PACKAGE_NAME = @PACKAGE_NAME@
193 PACKAGE_STRING = @PACKAGE_STRING@
194 PACKAGE_TARNAME = @PACKAGE_TARNAME@
195 PACKAGE_VERSION = @PACKAGE_VERSION@
196 PATH_SEPARATOR = @PATH_SEPARATOR@
197 PERL = @PERL@
198 RANLIB = @RANLIB@
199 SET_MAKE = @SET_MAKE@
200 SHELL = @SHELL@
201 STRIP = @STRIP@
202 TEXI2PDF = @TEXI2PDF@
203 VERSION = @VERSION@
204 ac_ct_AR = @ac_ct_AR@
205 ac_ct_AS = @ac_ct_AS@
206 ac_ct_CC = @ac_ct_CC@
207 ac_ct_CXX = @ac_ct_CXX@
208 ac_ct_DLLTOOL = @ac_ct_DLLTOOL@
209 ac_ct_F77 = @ac_ct_F77@
210 ac_ct_OBJDUMP = @ac_ct_OBJDUMP@
211 ac_ct_RANLIB = @ac_ct_RANLIB@
212 ac_ct_STRIP = @ac_ct_STRIP@
213 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
214 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
215 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
216 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
217 am__include = @am__include@
218 am__leading_dot = @am__leading_dot@
219 am__quote = @am__quote@
220 am__tar = @am__tar@
221 am__untar = @am__untar@
222 bindir = @bindir@
223 build = @build@
224 build_alias = @build_alias@
225 build_cpu = @build_cpu@
226 build_os = @build_os@
227 build_vendor = @build_vendor@
228 datadir = @datadir@
229 exec_prefix = @exec_prefix@
230 host = @host@
231 host_alias = @host_alias@
232 host_cpu = @host_cpu@
233 host_os = @host_os@
234 host_vendor = @host_vendor@
235 includedir = @includedir@
236 infodir = @infodir@
237 install_sh = @install_sh@
238 libdir = @libdir@
239 libexecdir = @libexecdir@
240 localstatedir = @localstatedir@
241 mandir = @mandir@
242 mkdir_p = @mkdir_p@
243 oldincludedir = @oldincludedir@
244 prefix = @prefix@
245 program_transform_name = @program_transform_name@
246 sbindir = @sbindir@
247 sharedstatedir = @sharedstatedir@
248 sysconfdir = @sysconfdir@
249 target_alias = @target_alias@
250 AUTOMAKE_OPTIONS = 1.5 gnu no-dependencies
251 ACLOCAL_AMFLAGS = -I ../../m4 -I ../m4
253 # >>> gnulib module alloca.
254 EXTRA_DIST = autosprintf.h.in $(lib_asprintf_EXTRASOURCES) alloca_.h \
255 texi2html autosprintf_all.html Makefile.vms config.h_vms \
256 README.woe32 Makefile.msvc config.h.msvc \
257 autosprintf.h.msvc-shared windows/dllexport.h \
258 windows/asprintf.rc
260 # Temporary index files. automake removes only the predefined ones by itself.
261 MOSTLYCLEANFILES = autosprintf.h alloca.h
262 RM = rm -f
264 # Library include file.
265 include_HEADERS = autosprintf.h
267 # Library code.
268 lib_LTLIBRARIES = libasprintf.la
269 libasprintf_la_SOURCES = \
270 lib-asprintf.h lib-asprintf.c \
271 autosprintf.h autosprintf.cc
274 # Sources used only on platforms lacking vasprintf().
275 lib_asprintf_EXTRASOURCES = \
276 xsize.h \
277 printf-args.h printf-args.c \
278 printf-parse.h printf-parse.c \
279 vasnprintf.h vasnprintf.c asnprintf.c \
280 vasprintf.h vasprintf.c asprintf.c
283 # Documentation.
284 docdir = $(datadir)/doc/@PACKAGE@
285 dvidir = $(docdir)
286 psdir = $(docdir)
287 pdfdir = $(docdir)
288 htmldir = $(docdir)
289 MAKEINFOFLAGS = --no-split
290 info_TEXINFOS = autosprintf.texi
291 CLEANFILES = autosprintf.pdf
293 # Documentation in Portable Document Format.
294 SUFFIXES = .pdf
296 # Documentation in HTML format.
297 TEXI2HTML = @PERL@ $(srcdir)/texi2html
298 all: config.h
299 $(MAKE) $(AM_MAKEFLAGS) all-am
301 .SUFFIXES:
302 .SUFFIXES: .pdf .c .cc .dvi .html .info .lo .o .obj .ps .texi
303 am--refresh:
305 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
306 @for dep in $?; do \
307 case '$(am__configure_deps)' in \
308 *$$dep*) \
309 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
310 cd $(srcdir) && $(AUTOMAKE) --gnu \
311 && exit 0; \
312 exit 1;; \
313 esac; \
314 done; \
315 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
316 cd $(top_srcdir) && \
317 $(AUTOMAKE) --gnu Makefile
318 .PRECIOUS: Makefile
319 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
320 @case '$?' in \
321 *config.status*) \
322 echo ' $(SHELL) ./config.status'; \
323 $(SHELL) ./config.status;; \
324 *) \
325 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
326 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
327 esac;
329 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
330 $(SHELL) ./config.status --recheck
332 $(top_srcdir)/configure: $(am__configure_deps)
333 cd $(srcdir) && $(AUTOCONF)
334 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
335 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
337 config.h: stamp-h1
338 @if test ! -f $@; then \
339 rm -f stamp-h1; \
340 $(MAKE) stamp-h1; \
341 else :; fi
343 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
344 @rm -f stamp-h1
345 cd $(top_builddir) && $(SHELL) ./config.status config.h
346 $(srcdir)/config.h.in: $(am__configure_deps)
347 cd $(top_srcdir) && $(AUTOHEADER)
348 rm -f stamp-h1
349 touch $@
351 distclean-hdr:
352 -rm -f config.h stamp-h1
353 install-libLTLIBRARIES: $(lib_LTLIBRARIES)
354 @$(NORMAL_INSTALL)
355 test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
356 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
357 if test -f $$p; then \
358 f=$(am__strip_dir) \
359 echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
360 $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
361 else :; fi; \
362 done
364 uninstall-libLTLIBRARIES:
365 @$(NORMAL_UNINSTALL)
366 @set -x; list='$(lib_LTLIBRARIES)'; for p in $$list; do \
367 p=$(am__strip_dir) \
368 echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
369 $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
370 done
372 clean-libLTLIBRARIES:
373 -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
374 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
375 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
376 test "$$dir" != "$$p" || dir=.; \
377 echo "rm -f \"$${dir}/so_locations\""; \
378 rm -f "$${dir}/so_locations"; \
379 done
381 mostlyclean-compile:
382 -rm -f *.$(OBJEXT)
384 distclean-compile:
385 -rm -f *.tab.c
387 .c.o:
388 $(COMPILE) -c $<
390 .c.obj:
391 $(COMPILE) -c `$(CYGPATH_W) '$<'`
393 .c.lo:
394 $(LTCOMPILE) -c -o $@ $<
396 .cc.o:
397 $(CXXCOMPILE) -c -o $@ $<
399 .cc.obj:
400 $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
402 .cc.lo:
403 $(LTCXXCOMPILE) -c -o $@ $<
405 mostlyclean-libtool:
406 -rm -f *.lo
408 clean-libtool:
409 -rm -rf .libs _libs
411 distclean-libtool:
412 -rm -f libtool
414 .texi.info:
415 restore=: && backupdir="$(am__leading_dot)am$$$$" && \
416 am__cwd=`pwd` && cd $(srcdir) && \
417 rm -rf $$backupdir && mkdir $$backupdir && \
418 for f in $@ $@-[0-9] $@-[0-9][0-9] $(@:.info=).i[0-9] $(@:.info=).i[0-9][0-9]; do \
419 if test -f $$f; then mv $$f $$backupdir; restore=mv; else :; fi; \
420 done; \
421 cd "$$am__cwd"; \
422 if $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
423 -o $@ $<; \
424 then \
425 rc=0; \
426 cd $(srcdir); \
427 else \
428 rc=$$?; \
429 cd $(srcdir) && \
430 $$restore $$backupdir/* `echo "./$@" | sed 's|[^/]*$$||'`; \
431 fi; \
432 rm -rf $$backupdir; exit $$rc
434 .texi.dvi:
435 TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
436 MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
437 $(TEXI2DVI) $<
439 .texi.pdf:
440 TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
441 MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
442 $(TEXI2PDF) $<
444 .texi.html:
445 rm -rf $(@:.html=.htp)
446 if $(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
447 -o $(@:.html=.htp) $<; \
448 then \
449 rm -rf $@; \
450 if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \
451 mv $(@:.html=) $@; else mv $(@:.html=.htp) $@; fi; \
452 else \
453 if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \
454 rm -rf $(@:.html=); else rm -Rf $(@:.html=.htp) $@; fi; \
455 exit 1; \
457 $(srcdir)/autosprintf.info: autosprintf.texi
458 autosprintf.dvi: autosprintf.texi
459 autosprintf.pdf: autosprintf.texi
460 autosprintf.html: autosprintf.texi
461 .dvi.ps:
462 $(DVIPS) -o $@ $<
464 uninstall-info-am:
465 @$(PRE_UNINSTALL)
466 @if (install-info --version && \
467 install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \
468 list='$(INFO_DEPS)'; \
469 for file in $$list; do \
470 relfile=`echo "$$file" | sed 's|^.*/||'`; \
471 echo " install-info --info-dir='$(DESTDIR)$(infodir)' --remove '$(DESTDIR)$(infodir)/$$relfile'"; \
472 install-info --info-dir="$(DESTDIR)$(infodir)" --remove "$(DESTDIR)$(infodir)/$$relfile"; \
473 done; \
474 else :; fi
475 @$(NORMAL_UNINSTALL)
476 @list='$(INFO_DEPS)'; \
477 for file in $$list; do \
478 relfile=`echo "$$file" | sed 's|^.*/||'`; \
479 relfile_i=`echo "$$relfile" | sed 's|\.info$$||;s|$$|.i|'`; \
480 (if cd "$(DESTDIR)$(infodir)"; then \
481 echo " cd '$(DESTDIR)$(infodir)' && rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]"; \
482 rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]; \
483 else :; fi); \
484 done
486 dist-info: $(INFO_DEPS)
487 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
488 list='$(INFO_DEPS)'; \
489 for base in $$list; do \
490 case $$base in \
491 $(srcdir)/*) base=`echo "$$base" | sed "s|^$$srcdirstrip/||"`;; \
492 esac; \
493 if test -f $$base; then d=.; else d=$(srcdir); fi; \
494 for file in $$d/$$base*; do \
495 relfile=`expr "$$file" : "$$d/\(.*\)"`; \
496 test -f $(distdir)/$$relfile || \
497 cp -p $$file $(distdir)/$$relfile; \
498 done; \
499 done
501 mostlyclean-aminfo:
502 -rm -rf autosprintf.aux autosprintf.cp autosprintf.cps autosprintf.fn \
503 autosprintf.fns autosprintf.ky autosprintf.kys \
504 autosprintf.log autosprintf.pg autosprintf.pgs \
505 autosprintf.tmp autosprintf.toc autosprintf.tp \
506 autosprintf.tps autosprintf.vr autosprintf.vrs \
507 autosprintf.dvi autosprintf.pdf autosprintf.ps \
508 autosprintf.html
510 maintainer-clean-aminfo:
511 @list='$(INFO_DEPS)'; for i in $$list; do \
512 i_i=`echo "$$i" | sed 's|\.info$$||;s|$$|.i|'`; \
513 echo " rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]"; \
514 rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]; \
515 done
516 install-includeHEADERS: $(include_HEADERS)
517 @$(NORMAL_INSTALL)
518 test -z "$(includedir)" || $(mkdir_p) "$(DESTDIR)$(includedir)"
519 @list='$(include_HEADERS)'; for p in $$list; do \
520 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
521 f=$(am__strip_dir) \
522 echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \
523 $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \
524 done
526 uninstall-includeHEADERS:
527 @$(NORMAL_UNINSTALL)
528 @list='$(include_HEADERS)'; for p in $$list; do \
529 f=$(am__strip_dir) \
530 echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \
531 rm -f "$(DESTDIR)$(includedir)/$$f"; \
532 done
534 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
535 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
536 unique=`for i in $$list; do \
537 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
538 done | \
539 $(AWK) ' { files[$$0] = 1; } \
540 END { for (i in files) print i; }'`; \
541 mkid -fID $$unique
542 tags: TAGS
544 TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
545 $(TAGS_FILES) $(LISP)
546 tags=; \
547 here=`pwd`; \
548 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
549 unique=`for i in $$list; do \
550 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
551 done | \
552 $(AWK) ' { files[$$0] = 1; } \
553 END { for (i in files) print i; }'`; \
554 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
555 test -n "$$unique" || unique=$$empty_fix; \
556 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
557 $$tags $$unique; \
559 ctags: CTAGS
560 CTAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
561 $(TAGS_FILES) $(LISP)
562 tags=; \
563 here=`pwd`; \
564 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
565 unique=`for i in $$list; do \
566 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
567 done | \
568 $(AWK) ' { files[$$0] = 1; } \
569 END { for (i in files) print i; }'`; \
570 test -z "$(CTAGS_ARGS)$$tags$$unique" \
571 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
572 $$tags $$unique
574 GTAGS:
575 here=`$(am__cd) $(top_builddir) && pwd` \
576 && cd $(top_srcdir) \
577 && gtags -i $(GTAGS_ARGS) $$here
579 distclean-tags:
580 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
582 distdir: $(DISTFILES)
583 $(am__remove_distdir)
584 mkdir $(distdir)
585 $(mkdir_p) $(distdir)/../../build-aux $(distdir)/../../m4 $(distdir)/../m4 $(distdir)/windows
586 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
587 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
588 list='$(DISTFILES)'; for file in $$list; do \
589 case $$file in \
590 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
591 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
592 esac; \
593 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
594 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
595 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
596 dir="/$$dir"; \
597 $(mkdir_p) "$(distdir)$$dir"; \
598 else \
599 dir=''; \
600 fi; \
601 if test -d $$d/$$file; then \
602 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
603 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
604 fi; \
605 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
606 else \
607 test -f $(distdir)/$$file \
608 || cp -p $$d/$$file $(distdir)/$$file \
609 || exit 1; \
610 fi; \
611 done
612 $(MAKE) $(AM_MAKEFLAGS) \
613 top_distdir="$(top_distdir)" distdir="$(distdir)" \
614 dist-info dist-hook
615 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
616 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
617 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
618 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
619 || chmod -R a+r $(distdir)
620 dist-gzip: distdir
621 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
622 $(am__remove_distdir)
624 dist-bzip2: distdir
625 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
626 $(am__remove_distdir)
628 dist-tarZ: distdir
629 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
630 $(am__remove_distdir)
632 dist-shar: distdir
633 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
634 $(am__remove_distdir)
636 dist-zip: distdir
637 -rm -f $(distdir).zip
638 zip -rq $(distdir).zip $(distdir)
639 $(am__remove_distdir)
641 dist dist-all: distdir
642 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
643 $(am__remove_distdir)
645 # This target untars the dist file and tries a VPATH configuration. Then
646 # it guarantees that the distribution is self-contained by making another
647 # tarfile.
648 distcheck: dist
649 case '$(DIST_ARCHIVES)' in \
650 *.tar.gz*) \
651 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
652 *.tar.bz2*) \
653 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
654 *.tar.Z*) \
655 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
656 *.shar.gz*) \
657 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
658 *.zip*) \
659 unzip $(distdir).zip ;;\
660 esac
661 chmod -R a-w $(distdir); chmod a+w $(distdir)
662 mkdir $(distdir)/_build
663 mkdir $(distdir)/_inst
664 chmod a-w $(distdir)
665 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
666 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
667 && cd $(distdir)/_build \
668 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
669 $(DISTCHECK_CONFIGURE_FLAGS) \
670 && $(MAKE) $(AM_MAKEFLAGS) \
671 && $(MAKE) $(AM_MAKEFLAGS) dvi \
672 && $(MAKE) $(AM_MAKEFLAGS) check \
673 && $(MAKE) $(AM_MAKEFLAGS) install \
674 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
675 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
676 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
677 distuninstallcheck \
678 && chmod -R a-w "$$dc_install_base" \
679 && ({ \
680 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
681 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
682 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
683 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
684 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
685 } || { rm -rf "$$dc_destdir"; exit 1; }) \
686 && rm -rf "$$dc_destdir" \
687 && $(MAKE) $(AM_MAKEFLAGS) dist \
688 && rm -rf $(DIST_ARCHIVES) \
689 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
690 $(am__remove_distdir)
691 @(echo "$(distdir) archives ready for distribution: "; \
692 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
693 sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
694 distuninstallcheck:
695 @cd $(distuninstallcheck_dir) \
696 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
697 || { echo "ERROR: files left after uninstall:" ; \
698 if test -n "$(DESTDIR)"; then \
699 echo " (check DESTDIR support)"; \
700 fi ; \
701 $(distuninstallcheck_listfiles) ; \
702 exit 1; } >&2
703 distcleancheck: distclean
704 @if test '$(srcdir)' = . ; then \
705 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
706 exit 1 ; \
708 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
709 || { echo "ERROR: files left in build directory after distclean:" ; \
710 $(distcleancheck_listfiles) ; \
711 exit 1; } >&2
712 check-am: all-am
713 check: check-am
714 all-am: Makefile $(INFO_DEPS) $(LTLIBRARIES) $(HEADERS) config.h \
715 all-local
716 installdirs: installdirs-local
717 for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(infodir)" "$(DESTDIR)$(includedir)"; do \
718 test -z "$$dir" || $(mkdir_p) "$$dir"; \
719 done
720 install: install-am
721 install-exec: install-exec-am
722 install-data: install-data-am
723 uninstall: uninstall-am
725 install-am: all-am
726 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
728 installcheck: installcheck-am
729 install-strip:
730 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
731 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
732 `test -z '$(STRIP)' || \
733 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
734 mostlyclean-generic:
735 -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
737 clean-generic:
738 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
740 distclean-generic:
741 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
743 maintainer-clean-generic:
744 @echo "This command is intended for maintainers to use"
745 @echo "it deletes files that may require special tools to rebuild."
746 clean: clean-am
748 clean-am: clean-generic clean-libLTLIBRARIES clean-libtool clean-local \
749 mostlyclean-am
751 distclean: distclean-am
752 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
753 -rm -f Makefile
754 distclean-am: clean-am distclean-compile distclean-generic \
755 distclean-hdr distclean-libtool distclean-tags
757 dvi: dvi-am
759 dvi-am: $(DVIS)
761 html: html-am
763 html-am: $(HTMLS) html-local
765 info: info-am
767 info-am: $(INFO_DEPS)
769 install-data-am: install-data-local install-includeHEADERS \
770 install-info-am
772 install-exec-am: install-libLTLIBRARIES
774 install-info: install-info-am
776 install-info-am: $(INFO_DEPS)
777 @$(NORMAL_INSTALL)
778 test -z "$(infodir)" || $(mkdir_p) "$(DESTDIR)$(infodir)"
779 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
780 list='$(INFO_DEPS)'; \
781 for file in $$list; do \
782 case $$file in \
783 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
784 esac; \
785 if test -f $$file; then d=.; else d=$(srcdir); fi; \
786 file_i=`echo "$$file" | sed 's|\.info$$||;s|$$|.i|'`; \
787 for ifile in $$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9] \
788 $$d/$$file_i[0-9] $$d/$$file_i[0-9][0-9] ; do \
789 if test -f $$ifile; then \
790 relfile=`echo "$$ifile" | sed 's|^.*/||'`; \
791 echo " $(INSTALL_DATA) '$$ifile' '$(DESTDIR)$(infodir)/$$relfile'"; \
792 $(INSTALL_DATA) "$$ifile" "$(DESTDIR)$(infodir)/$$relfile"; \
793 else : ; fi; \
794 done; \
795 done
796 @$(POST_INSTALL)
797 @if (install-info --version && \
798 install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \
799 list='$(INFO_DEPS)'; \
800 for file in $$list; do \
801 relfile=`echo "$$file" | sed 's|^.*/||'`; \
802 echo " install-info --info-dir='$(DESTDIR)$(infodir)' '$(DESTDIR)$(infodir)/$$relfile'";\
803 install-info --info-dir="$(DESTDIR)$(infodir)" "$(DESTDIR)$(infodir)/$$relfile" || :;\
804 done; \
805 else : ; fi
806 install-man:
808 installcheck-am:
810 maintainer-clean: maintainer-clean-am
811 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
812 -rm -rf $(top_srcdir)/autom4te.cache
813 -rm -f Makefile
814 maintainer-clean-am: distclean-am maintainer-clean-aminfo \
815 maintainer-clean-generic
817 mostlyclean: mostlyclean-am
819 mostlyclean-am: mostlyclean-aminfo mostlyclean-compile \
820 mostlyclean-generic mostlyclean-libtool
822 pdf: pdf-am
824 pdf-am: $(PDFS)
826 ps: ps-am
828 ps-am: $(PSS)
830 uninstall-am: uninstall-includeHEADERS uninstall-info-am \
831 uninstall-libLTLIBRARIES uninstall-local
833 .PHONY: CTAGS GTAGS all all-am all-local am--refresh check check-am \
834 clean clean-generic clean-libLTLIBRARIES clean-libtool \
835 clean-local ctags dist dist-all dist-bzip2 dist-gzip dist-hook \
836 dist-info dist-shar dist-tarZ dist-zip distcheck distclean \
837 distclean-compile distclean-generic distclean-hdr \
838 distclean-libtool distclean-tags distcleancheck distdir \
839 distuninstallcheck dvi dvi-am html html-am html-local info \
840 info-am install install-am install-data install-data-am \
841 install-data-local install-exec install-exec-am \
842 install-includeHEADERS install-info install-info-am \
843 install-libLTLIBRARIES install-man install-strip installcheck \
844 installcheck-am installdirs installdirs-local maintainer-clean \
845 maintainer-clean-aminfo maintainer-clean-generic mostlyclean \
846 mostlyclean-aminfo mostlyclean-compile mostlyclean-generic \
847 mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
848 uninstall-am uninstall-includeHEADERS uninstall-info-am \
849 uninstall-libLTLIBRARIES uninstall-local
852 all-local $(libasprintf_la_OBJECTS): autosprintf.h
853 autosprintf.h: autosprintf.h.in
854 cp $(srcdir)/autosprintf.h.in autosprintf.h
856 dist-hook:
857 rm -f $(distdir)/autosprintf.h
858 lib-asprintf.lo: $(lib_asprintf_EXTRASOURCES)
860 # How to build libasprintf.
861 # With libtool 1.5.14, on some platforms, like BeOS, "libtool --tag=CXX" fails
862 # to create a shared library, however "libtool --tag=CC" succeeds.
863 libasprintf.la: $(libasprintf_la_OBJECTS) $(libasprintf_la_DEPENDENCIES)
864 $(CXXLINK) -rpath $(libdir) $(libasprintf_la_LDFLAGS) $(libasprintf_la_OBJECTS) $(libasprintf_la_LIBADD) $(LIBS) || \
865 $(LINK) -rpath $(libdir) $(libasprintf_la_LDFLAGS) $(libasprintf_la_OBJECTS) $(libasprintf_la_LIBADD) $(LIBS)
867 # The following is needed in order to create an <alloca.h> when the system
868 # doesn't have one that works with the given compiler.
869 all-local $(libasprintf_la_OBJECTS): @ALLOCA_H@
870 alloca.h: alloca_.h
871 cp $(srcdir)/alloca_.h alloca.h
872 # <<< gnulib module alloca.
874 # Clean up after Solaris cc.
875 clean-local:
876 rm -rf SunWS_cache
878 # We distribute only the HTML documentation.
879 # The user can generate the others, via
880 # make autosprintf.ps
881 # make autosprintf.pdf
883 all-local: html-local
884 install-data-local: install-html
885 installdirs-local: installdirs-html
886 uninstall-local: uninstall-html
887 # autosprintf.dvi and autosprintf.ps are already known to automake.
889 # Documentation in DVI format.
891 install-dvi: autosprintf.dvi
892 $(mkinstalldirs) $(DESTDIR)$(dvidir)
893 $(INSTALL_DATA) `if test -f autosprintf.dvi; then echo .; else echo $(srcdir); fi`/autosprintf.dvi $(DESTDIR)$(dvidir)/autosprintf.dvi
895 installdirs-dvi:
896 $(mkinstalldirs) $(DESTDIR)$(dvidir)
898 uninstall-dvi:
899 $(RM) $(DESTDIR)$(dvidir)/autosprintf.dvi
901 autosprintf.ps: autosprintf.dvi
902 $(DVIPS) -o $@ `if test -f autosprintf.dvi; then echo autosprintf.dvi; else echo $(srcdir)/autosprintf.dvi; fi`
904 install-ps: autosprintf.ps
905 $(mkinstalldirs) $(DESTDIR)$(psdir)
906 $(INSTALL_DATA) `if test -f autosprintf.ps; then echo .; else echo $(srcdir); fi`/autosprintf.ps $(DESTDIR)$(psdir)/autosprintf.ps
908 installdirs-ps:
909 $(mkinstalldirs) $(DESTDIR)$(psdir)
911 uninstall-ps:
912 $(RM) $(DESTDIR)$(psdir)/autosprintf.ps
914 install-pdf: autosprintf.pdf
915 $(mkinstalldirs) $(DESTDIR)$(pdfdir)
916 $(INSTALL_DATA) `if test -f autosprintf.pdf; then echo .; else echo $(srcdir); fi`/autosprintf.pdf $(DESTDIR)$(pdfdir)/autosprintf.pdf
918 installdirs-pdf:
919 $(mkinstalldirs) $(DESTDIR)$(pdfdir)
921 uninstall-pdf:
922 $(RM) $(DESTDIR)$(pdfdir)/autosprintf.pdf
924 html-local: autosprintf_all.html
926 # Override of automake's definition.
927 # We want to use texi2html, not makeinfo --html.
928 autosprintf_all.html: autosprintf.texi
929 $(TEXI2HTML) -expandinfo -number -monolithic `if test -f autosprintf.texi; then echo autosprintf.texi; else echo $(srcdir)/autosprintf.texi; fi`
930 mv autosprintf.html autosprintf_all.html
932 install-html: autosprintf_all.html
933 $(mkinstalldirs) $(DESTDIR)$(htmldir)
934 $(INSTALL_DATA) `if test -f autosprintf_all.html; then echo .; else echo $(srcdir); fi`/autosprintf_all.html $(DESTDIR)$(htmldir)/autosprintf.html
936 installdirs-html:
937 $(mkinstalldirs) $(DESTDIR)$(htmldir)
939 uninstall-html:
940 $(RM) $(DESTDIR)$(htmldir)/autosprintf.html
942 # VMS support.
944 config.h_vms: config.h.in
945 (echo '#include <vms_jackets.h>'; \
946 sed -e 's/#undef HAVE_ALLOCA$$/#define HAVE_ALLOCA 1/' \
947 -e 's/#undef HAVE_DLFCN_H$$/#define HAVE_DLFCN_H 1/' \
948 -e 's/#undef HAVE_INTTYPES_H$$/#define HAVE_INTTYPES_H 1/' \
949 -e 's/#undef HAVE_LONG_DOUBLE$$/#define HAVE_LONG_DOUBLE 1/' \
950 -e 's/#undef HAVE_LONG_LONG$$/#define HAVE_LONG_LONG 1/' \
951 -e 's/#undef HAVE_MEMORY_H$$/#define HAVE_MEMORY_H 1/' \
952 -e 's/#undef HAVE_POSIX_PRINTF$$/#define HAVE_POSIX_PRINTF 1/' \
953 -e 's/#undef HAVE_PTRDIFF_T$$/#define HAVE_PTRDIFF_T 1/' \
954 -e 's/#undef HAVE_STDLIB_H$$/#define HAVE_STDLIB_H 1/' \
955 -e 's/#undef HAVE_STRINGS_H$$/#define HAVE_STRINGS_H 1/' \
956 -e 's/#undef HAVE_STRING_H$$/#define HAVE_STRING_H 1/' \
957 -e 's/#undef HAVE_SYS_STAT_H$$/#define HAVE_SYS_STAT_H 1/' \
958 -e 's/#undef HAVE_SYS_TYPES_H$$/#define HAVE_SYS_TYPES_H 1/' \
959 -e 's/#undef HAVE_UNISTD_H$$/#define HAVE_UNISTD_H 1/' \
960 -e 's/#undef HAVE_WCHAR_T$$/#define HAVE_WCHAR_T 1/' \
961 -e 's/#undef HAVE_WCSLEN$$/#define HAVE_WCSLEN 1/' \
962 -e 's/#undef HAVE_WINT_T$$/#define HAVE_WINT_T 1/' \
963 -e 's/#undef STDC_HEADERS$$/#define STDC_HEADERS 1/' \
964 < $(srcdir)/config.h.in; echo; echo '#define alloca __ALLOCA') > $@
966 # Woe32 support.
968 config.h.msvc: config.h.in
969 sed -e 's/#undef HAVE_ALLOCA$$/#define HAVE_ALLOCA 1/' \
970 -e 's/#undef HAVE_DECL__SNPRINTF$$/#define HAVE_DECL__SNPRINTF 1/' \
971 -e 's/#undef HAVE_LONG_DOUBLE$$/#define HAVE_LONG_DOUBLE 1/' \
972 -e 's/#undef HAVE_PTRDIFF_T$$/#define HAVE_PTRDIFF_T 1/' \
973 -e 's/#undef HAVE_SNPRINTF$$/#define HAVE_SNPRINTF 1/' \
974 -e 's/#undef HAVE_STDLIB_H$$/#define HAVE_STDLIB_H 1/' \
975 -e 's/#undef HAVE_STRING_H$$/#define HAVE_STRING_H 1/' \
976 -e 's/#undef HAVE_WCHAR_T$$/#define HAVE_WCHAR_T 1/' \
977 -e 's/#undef HAVE_WCSLEN$$/#define HAVE_WCSLEN 1/' \
978 -e 's/#undef HAVE_WINT_T$$/#define HAVE_WINT_T 1/' \
979 -e 's/#undef SIZE_MAX$$/#define SIZE_MAX 4294967295U/' \
980 -e 's/#undef inline$$/#define inline __inline/' \
981 < $(srcdir)/config.h.in > $@
983 autosprintf.h.msvc-shared: autosprintf.h.in windows/dllexport.h
984 sed -e 's/extern \([^"]\)/extern LIBASPRINTF_DLL_EXPORTED \1/' \
985 -e 's/class /class LIBASPRINTF_DLL_EXPORTED /' \
986 -e 's/struct /struct LIBASPRINTF_DLL_EXPORTED /' \
987 -e '/#define _AUTOSPRINTF_H/r windows/dllexport.h' < $(srcdir)/autosprintf.h.in > $@
988 # Tell versions [3.59,3.63) of GNU make to not export all variables.
989 # Otherwise a system limit (for SysV at least) may be exceeded.
990 .NOEXPORT: