1 # Makefile.in generated by automake 1.9.6-MirPorts-6 from Makefile.am.
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
17 # $MirOS: src/gnu/usr.bin/cvs/lib/Makefile.in,v 1.17 2013/06/26 19:58:09 tg Exp $
18 # Makefile for library files used by GNU CVS.
20 # Copyright (C) 1986-2005 The Free Software Foundation, Inc.
22 # Portions Copyright (C) 1998-2005 Derek Price, Ximbiot <http://ximbiot.com>,
25 # This program is free software; you can redistribute it and/or modify
26 # it under the terms of the GNU General Public License as published by
27 # the Free Software Foundation; either version 2, or (at your option)
30 # This program is distributed in the hope that it will be useful,
31 # but WITHOUT ANY WARRANTY; without even the implied warranty of
32 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
33 # GNU General Public License for more details.
36 top_srcdir = @top_srcdir@
38 pkgdatadir = $(datadir)/@PACKAGE@
39 pkglibdir = $(libdir)/@PACKAGE@
40 pkgincludedir = $(includedir)/@PACKAGE@
42 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
44 install_sh_DATA = $(SHELL) $(install_sh) -c -m 644
45 install_sh_PROGRAM = $(SHELL) $(install_sh) -c
46 install_sh_SCRIPT = $(SHELL) $(install_sh) -c
47 INSTALL_HEADER = $(INSTALL_DATA)
48 transform = $(program_transform_name)
55 check_PROGRAMS = getdate$(EXEEXT)
57 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in __fpending.c \
58 __fpending.h alloca.c asnprintf.c asprintf.c atexit.c \
59 canon-host.c canon-host.h canonicalize.c canonicalize.h \
60 chdir-long.c chdir-long.h closeout.c closeout.h dirname.c \
61 dirname.h dup-safer.c dup2.c exitfail.c exitfail.h fd-safer.c \
62 filenamecat.c filenamecat.h fncase.c fseeko.c ftello.c \
63 ftruncate.c gai_strerror.c getaddrinfo.c getcwd.c getcwd.h \
64 getdate.h getdelim.c getdelim.h gethostname.c getline.c \
65 getline.h getlogin_r.c getlogin_r.h getndelim2.c getpagesize.h \
66 gettime.c gettimeofday.c lstat.c lstat.h malloc.c memchr.c \
67 memmove.c mempcpy.c mempcpy.h memrchr.c memrchr.h mkdir.c \
68 mkstemp.c nanosleep.c openat.c openat.h pagealign_alloc.c \
69 pagealign_alloc.h pathmax.h pipe-safer.c printf-args.c \
70 printf-parse.c quotearg.c quotearg.h readlink.c realloc.c \
71 regcomp.c regex.c regex.h regex_internal.c regex_internal.h \
72 regexec.c rename.c rpmatch.c save-cwd.c save-cwd.h setenv.c \
73 stat-macros.h strdup.c strdup.h strerror.c strftime.c \
74 strftime.h strtol.c strtoul.c sunos57-select.c tempname.c \
75 time_r.c timespec.h unistd--.h unistd-safer.h unlocked-io.h \
76 unsetenv.c vasnprintf.c vasprintf.c waitpid.c xalloc.h \
77 xgetcwd.c xgetcwd.h xmalloc.c yesno.c yesno.h
78 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
79 am__aclocal_m4_deps = $(top_srcdir)/m4/allocsa.m4 \
80 $(top_srcdir)/m4/atexit.m4 $(top_srcdir)/m4/bison.m4 \
81 $(top_srcdir)/m4/canon-host.m4 \
82 $(top_srcdir)/m4/canonicalize.m4 \
83 $(top_srcdir)/m4/chdir-long.m4 $(top_srcdir)/m4/clock_time.m4 \
84 $(top_srcdir)/m4/closeout.m4 $(top_srcdir)/m4/codeset.m4 \
85 $(top_srcdir)/m4/cvs_func_printf_ptr.m4 \
86 $(top_srcdir)/m4/d-ino.m4 $(top_srcdir)/m4/dirname.m4 \
87 $(top_srcdir)/m4/dos.m4 $(top_srcdir)/m4/dup2.m4 \
88 $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/eoverflow.m4 \
89 $(top_srcdir)/m4/error.m4 $(top_srcdir)/m4/exitfail.m4 \
90 $(top_srcdir)/m4/extensions.m4 $(top_srcdir)/m4/filenamecat.m4 \
91 $(top_srcdir)/m4/fpending.m4 $(top_srcdir)/m4/ftruncate.m4 \
92 $(top_srcdir)/m4/getaddrinfo.m4 \
93 $(top_srcdir)/m4/getcwd-path-max.m4 $(top_srcdir)/m4/getcwd.m4 \
94 $(top_srcdir)/m4/getdate.m4 $(top_srcdir)/m4/getdelim.m4 \
95 $(top_srcdir)/m4/gethostname.m4 $(top_srcdir)/m4/getline.m4 \
96 $(top_srcdir)/m4/getlogin_r.m4 $(top_srcdir)/m4/getndelim2.m4 \
97 $(top_srcdir)/m4/getnline.m4 $(top_srcdir)/m4/getpagesize.m4 \
98 $(top_srcdir)/m4/gettime.m4 $(top_srcdir)/m4/gettimeofday.m4 \
99 $(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/intmax_t.m4 \
100 $(top_srcdir)/m4/inttypes.m4 $(top_srcdir)/m4/inttypes_h.m4 \
101 $(top_srcdir)/m4/longdouble.m4 $(top_srcdir)/m4/longlong.m4 \
102 $(top_srcdir)/m4/lstat.m4 $(top_srcdir)/m4/mbrtowc.m4 \
103 $(top_srcdir)/m4/mbstate_t.m4 $(top_srcdir)/m4/memchr.m4 \
104 $(top_srcdir)/m4/memmove.m4 $(top_srcdir)/m4/mempcpy.m4 \
105 $(top_srcdir)/m4/memrchr.m4 $(top_srcdir)/m4/minmax.m4 \
106 $(top_srcdir)/m4/mkdir-slash.m4 $(top_srcdir)/m4/mkstemp.m4 \
107 $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/nanosleep.m4 \
108 $(top_srcdir)/m4/onceonly_2_57.m4 $(top_srcdir)/m4/openat.m4 \
109 $(top_srcdir)/m4/pagealign_alloc.m4 \
110 $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/quotearg.m4 \
111 $(top_srcdir)/m4/readlink.m4 $(top_srcdir)/m4/regex.m4 \
112 $(top_srcdir)/m4/rename.m4 $(top_srcdir)/m4/restrict.m4 \
113 $(top_srcdir)/m4/rpmatch.m4 $(top_srcdir)/m4/save-cwd.m4 \
114 $(top_srcdir)/m4/setenv.m4 $(top_srcdir)/m4/signed.m4 \
115 $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sockpfaf.m4 \
116 $(top_srcdir)/m4/ssize_t.m4 $(top_srcdir)/m4/stat-macros.m4 \
117 $(top_srcdir)/m4/stdbool.m4 $(top_srcdir)/m4/stdint.m4 \
118 $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/strdup.m4 \
119 $(top_srcdir)/m4/strerror.m4 $(top_srcdir)/m4/strftime.m4 \
120 $(top_srcdir)/m4/strtol.m4 $(top_srcdir)/m4/strtoul.m4 \
121 $(top_srcdir)/m4/sunos57-select.m4 $(top_srcdir)/m4/time_r.m4 \
122 $(top_srcdir)/m4/timespec.m4 $(top_srcdir)/m4/tm_gmtoff.m4 \
123 $(top_srcdir)/m4/tzset.m4 $(top_srcdir)/m4/uint32_t.m4 \
124 $(top_srcdir)/m4/uintmax_t.m4 $(top_srcdir)/m4/ulonglong.m4 \
125 $(top_srcdir)/m4/unistd-safer.m4 \
126 $(top_srcdir)/m4/unlocked-io.m4 $(top_srcdir)/m4/vasnprintf.m4 \
127 $(top_srcdir)/m4/vasprintf.m4 $(top_srcdir)/m4/wchar_t.m4 \
128 $(top_srcdir)/m4/wint_t.m4 $(top_srcdir)/m4/xalloc.m4 \
129 $(top_srcdir)/m4/xgetcwd.m4 $(top_srcdir)/m4/xreadlink.m4 \
130 $(top_srcdir)/m4/xsize.m4 $(top_srcdir)/m4/yesno.m4 \
131 $(top_srcdir)/configure.in
132 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
134 mkinstalldirs = $(SHELL) $(GNUSYSTEM_AUX_DIR)/mkinstalldirs
135 CONFIG_HEADER = $(top_builddir)/config.h
137 LIBRARIES = $(noinst_LIBRARIES)
140 libcvs_a_AR = $(AR) $(ARFLAGS)
141 libcvs_a_DEPENDENCIES = @LIBOBJS@ @ALLOCA@
142 am_libcvs_a_OBJECTS = md5.$(OBJEXT) sighandle.$(OBJEXT) \
143 allocsa.$(OBJEXT) cycle-check.$(OBJEXT) basename.$(OBJEXT) \
144 stripslash.$(OBJEXT) getnline.$(OBJEXT) strnlen1.$(OBJEXT) \
145 xalloc-die.$(OBJEXT) xgethostname.$(OBJEXT) \
147 libcvs_a_OBJECTS = $(am_libcvs_a_OBJECTS)
148 am_getdate_OBJECTS = getdate-error.$(OBJEXT) getdate-getdate.$(OBJEXT) \
149 getdate-progname.$(OBJEXT)
150 getdate_OBJECTS = $(am_getdate_OBJECTS)
151 am__DEPENDENCIES_1 = libcvs.a
153 getdate_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2)
154 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
157 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
158 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
160 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
161 SOURCES = $(libcvs_a_SOURCES) $(getdate_SOURCES)
162 DIST_SOURCES = $(libcvs_a_SOURCES) $(getdate_SOURCES)
165 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
168 AMDEP_FALSE = @AMDEP_FALSE@
169 AMDEP_TRUE = @AMDEP_TRUE@
171 AUTOCONF = @AUTOCONF@
172 AUTOHEADER = @AUTOHEADER@
173 AUTOMAKE = @AUTOMAKE@
176 CCDEPMODE = @CCDEPMODE@
179 CPPFLAGS = @CPPFLAGS@
181 CYGPATH_W = @CYGPATH_W@
189 EOVERFLOW = @EOVERFLOW@
192 HAVE_LONG_64BIT = @HAVE_LONG_64BIT@
193 HAVE_LONG_LONG_64BIT = @HAVE_LONG_LONG_64BIT@
194 HAVE_PUTENV = @HAVE_PUTENV@
195 HAVE__BOOL = @HAVE__BOOL@
196 INSTALL_DATA = @INSTALL_DATA@
197 INSTALL_PROGRAM = @INSTALL_PROGRAM@
198 INSTALL_SCRIPT = @INSTALL_SCRIPT@
199 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
203 LIB_CLOCK_GETTIME = @LIB_CLOCK_GETTIME@
204 LIB_NANOSLEEP = @LIB_NANOSLEEP@
206 LTLIBOBJS = @LTLIBOBJS@
208 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
209 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
210 MAKEINFO = @MAKEINFO@
211 MAKE_TARGETS_IN_VPATH_FALSE = @MAKE_TARGETS_IN_VPATH_FALSE@
212 MAKE_TARGETS_IN_VPATH_TRUE = @MAKE_TARGETS_IN_VPATH_TRUE@
216 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
217 PACKAGE_NAME = @PACKAGE_NAME@
218 PACKAGE_STRING = @PACKAGE_STRING@
219 PACKAGE_TARNAME = @PACKAGE_TARNAME@
220 PACKAGE_VERSION = @PACKAGE_VERSION@
221 PATH_SEPARATOR = @PATH_SEPARATOR@
227 RSH_DFLT = @RSH_DFLT@
228 SENDMAIL = @SENDMAIL@
229 SET_MAKE = @SET_MAKE@
231 STDBOOL_H = @STDBOOL_H@
232 STDINT_H = @STDINT_H@
234 TEXI2DVI = @TEXI2DVI@
238 ac_ct_CC = @ac_ct_CC@
239 ac_prefix_program = @ac_prefix_program@
240 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
241 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
242 am__include = @am__include@
243 am__leading_dot = @am__leading_dot@
244 am__quote = @am__quote@
246 am__untar = @am__untar@
248 build_alias = @build_alias@
249 cvs_client_objects = @cvs_client_objects@
251 datarootdir = @datarootdir@
254 exec_prefix = @exec_prefix@
255 host_alias = @host_alias@
257 includedir = @includedir@
259 install_sh = @install_sh@
261 libexecdir = @libexecdir@
262 localedir = @localedir@
263 localstatedir = @localstatedir@
266 oldincludedir = @oldincludedir@
269 program_transform_name = @program_transform_name@
272 sharedstatedir = @sharedstatedir@
273 sysconfdir = @sysconfdir@
274 target_alias = @target_alias@
275 with_default_rsh = @with_default_rsh@
276 noinst_LIBRARIES = libcvs.a
278 # Should look into unifying regular expression matching in CVS
279 # with the diff library (perhaps to have the caller, CVS, do the
281 libcvs_a_SOURCES = md5.c sighandle.c system.h wait.h xselect.h xtime.h \
282 allocsa.h allocsa.c cycle-check.c cycle-check.h dev-ino.h \
283 basename.c stripslash.c error.h exit.h getaddrinfo.h \
284 getnline.h getnline.c gettext.h mbuiter.h minmax.h setenv.h \
285 size_max.h strcase.h strnlen1.h strnlen1.c strstr.h time_r.h \
286 printf-args.h printf-parse.h vasnprintf.h vasprintf.h \
287 xalloc-die.c xgethostname.h xgethostname.c xreadlink.h \
289 libcvs_a_LIBADD = @LIBOBJS@ @ALLOCA@
290 BUILT_SOURCES = $(ALLOCA_H) $(FNMATCH_H) getdate.c $(STDBOOL_H) \
292 MOSTLYCLEANFILES = alloca.h alloca.h-t fnmatch.h fnmatch.h-t \
293 getdate-expected getdate-got getdate.diff stdbool.h \
294 stdbool.h-t stdint.h stdint.h-t
295 DISTCLEANFILES = getdate.log
296 MAINTAINERCLEANFILES = getdate.c
297 TESTS = test-getdate.sh
298 EXTRA_DIST = .cvsignore ChangeLog.fsf Makefile.gnulib build_lib.com \
299 libcvs.dep libcvs.dsp libcvs.mak test-getdate.sh alloca_.h \
300 allocsa.valgrind fnmatch_.h fnmatch_loop.c getdate.c \
301 getndelim2.h getndelim2.c stdbool_.h stdint_.h
302 getdate_SOURCES = error.c getdate.c progname.c
303 getdate_CPPFLAGS = -DTEST
305 $(noinst_LIBRARIES) \
306 $(LIB_CLOCK_GETTIME) \
309 all: $(BUILT_SOURCES)
310 $(MAKE) $(AM_MAKEFLAGS) all-am
313 .SUFFIXES: .c .o .obj
314 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
316 case '$(am__configure_deps)' in \
318 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
323 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu --ignore-deps lib/Makefile'; \
324 cd $(top_srcdir) && \
325 $(AUTOMAKE) --gnu --ignore-deps lib/Makefile
327 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
330 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
332 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
333 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
336 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
337 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
339 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
340 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
341 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
342 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
344 clean-noinstLIBRARIES:
345 -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
346 libcvs.a: $(libcvs_a_OBJECTS) $(libcvs_a_DEPENDENCIES)
348 $(libcvs_a_AR) libcvs.a $(libcvs_a_OBJECTS) $(libcvs_a_LIBADD)
352 -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
353 getdate$(EXEEXT): $(getdate_OBJECTS) $(getdate_DEPENDENCIES)
354 @rm -f getdate$(EXEEXT)
355 $(LINK) $(getdate_LDFLAGS) $(getdate_OBJECTS) $(getdate_LDADD) $(LIBS)
367 $(COMPILE) -c `$(CYGPATH_W) '$<'`
369 getdate-error.o: error.c
370 $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(getdate_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o getdate-error.o `test -f 'error.c' || echo '$(srcdir)/'`error.c
372 getdate-error.obj: error.c
373 $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(getdate_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o getdate-error.obj `if test -f 'error.c'; then $(CYGPATH_W) 'error.c'; else $(CYGPATH_W) '$(srcdir)/error.c'; fi`
375 getdate-getdate.o: getdate.c
376 $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(getdate_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o getdate-getdate.o `test -f 'getdate.c' || echo '$(srcdir)/'`getdate.c
378 getdate-getdate.obj: getdate.c
379 $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(getdate_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o getdate-getdate.obj `if test -f 'getdate.c'; then $(CYGPATH_W) 'getdate.c'; else $(CYGPATH_W) '$(srcdir)/getdate.c'; fi`
381 getdate-progname.o: progname.c
382 $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(getdate_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o getdate-progname.o `test -f 'progname.c' || echo '$(srcdir)/'`progname.c
384 getdate-progname.obj: progname.c
385 $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(getdate_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o getdate-progname.obj `if test -f 'progname.c'; then $(CYGPATH_W) 'progname.c'; else $(CYGPATH_W) '$(srcdir)/progname.c'; fi`
388 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
389 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
390 unique=`for i in $$list; do \
391 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
393 $(AWK) ' { files[$$0] = 1; } \
394 END { for (i in files) print i; }'`; \
398 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
399 $(TAGS_FILES) $(LISP)
402 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
403 unique=`for i in $$list; do \
404 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
406 $(AWK) ' { files[$$0] = 1; } \
407 END { for (i in files) print i; }'`; \
408 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
409 test -n "$$unique" || unique=$$empty_fix; \
410 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
414 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
415 $(TAGS_FILES) $(LISP)
418 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
419 unique=`for i in $$list; do \
420 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
422 $(AWK) ' { files[$$0] = 1; } \
423 END { for (i in files) print i; }'`; \
424 test -z "$(CTAGS_ARGS)$$tags$$unique" \
425 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
429 here=`$(am__cd) $(top_builddir) && pwd` \
430 && cd $(top_srcdir) \
431 && gtags -i $(GTAGS_ARGS) $$here
434 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
436 check-TESTS: $(TESTS)
437 @failed=0; all=0; xfail=0; xpass=0; skip=0; \
438 srcdir=$(srcdir); export srcdir; \
440 if test -n "$$list"; then \
441 for tst in $$list; do \
442 if test -f ./$$tst; then dir=./; \
443 elif test -f $$tst; then dir=; \
444 else dir="$(srcdir)/"; fi; \
445 if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
446 all=`expr $$all + 1`; \
447 case " $(XFAIL_TESTS) " in \
449 xpass=`expr $$xpass + 1`; \
450 failed=`expr $$failed + 1`; \
451 echo "XPASS: $$tst"; \
454 echo "PASS: $$tst"; \
457 elif test $$? -ne 77; then \
458 all=`expr $$all + 1`; \
459 case " $(XFAIL_TESTS) " in \
461 xfail=`expr $$xfail + 1`; \
462 echo "XFAIL: $$tst"; \
465 failed=`expr $$failed + 1`; \
466 echo "FAIL: $$tst"; \
470 skip=`expr $$skip + 1`; \
471 echo "SKIP: $$tst"; \
474 if test "$$failed" -eq 0; then \
475 if test "$$xfail" -eq 0; then \
476 banner="All $$all tests passed"; \
478 banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
481 if test "$$xpass" -eq 0; then \
482 banner="$$failed of $$all tests failed"; \
484 banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
489 if test "$$skip" -ne 0; then \
490 skipped="($$skip tests were not run)"; \
491 test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
492 dashes="$$skipped"; \
495 if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
496 report="Please report to $(PACKAGE_BUGREPORT)"; \
497 test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
500 dashes=`echo "$$dashes" | sed s/./=/g`; \
503 test -z "$$skipped" || echo "$$skipped"; \
504 test -z "$$report" || echo "$$report"; \
506 test "$$failed" -eq 0; \
509 distdir: $(DISTFILES)
510 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
511 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
512 list='$(DISTFILES)'; for file in $$list; do \
514 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
515 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
517 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
518 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
519 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
521 $(mkdir_p) "$(distdir)$$dir"; \
525 if test -d $$d/$$file; then \
526 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
527 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
529 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
531 test -f $(distdir)/$$file \
532 || cp -p $$d/$$file $(distdir)/$$file \
537 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
538 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
539 check: $(BUILT_SOURCES)
540 $(MAKE) $(AM_MAKEFLAGS) check-am
541 all-am: Makefile $(LIBRARIES)
543 install: $(BUILT_SOURCES)
544 $(MAKE) $(AM_MAKEFLAGS) install-am
545 install-exec: install-exec-am
546 install-data: install-data-am
547 uninstall: uninstall-am
550 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
552 installcheck: installcheck-am
554 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
555 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
556 `test -z '$(STRIP)' || \
557 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
559 -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
564 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
565 -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
567 maintainer-clean-generic:
568 @echo "This command is intended for maintainers to use"
569 @echo "it deletes files that may require special tools to rebuild."
570 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
571 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
574 clean-am: clean-checkPROGRAMS clean-generic clean-noinstLIBRARIES \
577 distclean: distclean-am
579 distclean-am: clean-am distclean-compile distclean-generic \
596 install-info: install-info-am
602 maintainer-clean: maintainer-clean-am
604 maintainer-clean-am: distclean-am maintainer-clean-generic
606 mostlyclean: mostlyclean-am
608 mostlyclean-am: mostlyclean-compile mostlyclean-generic
618 uninstall-am: uninstall-info-am
620 .PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
621 clean-checkPROGRAMS clean-generic clean-noinstLIBRARIES ctags \
622 distclean distclean-compile distclean-generic distclean-tags \
623 distdir dvi dvi-am html html-am info info-am install \
624 install-am install-data install-data-am install-exec \
625 install-exec-am install-info install-info-am install-man \
626 install-strip installcheck installcheck-am installdirs \
627 maintainer-clean maintainer-clean-generic mostlyclean \
628 mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
629 tags uninstall uninstall-am uninstall-info-am
632 # We need the following in order to create <alloca.h> when the system
633 # doesn't have one that works with the given compiler.
635 cp $(srcdir)/alloca_.h $@-t
638 # We need the following in order to create <fnmatch.h> when the system
639 # doesn't have one that supports the required API.
640 fnmatch.h: fnmatch_.h
641 cp $(srcdir)/fnmatch_.h $@-t
644 # We need the following in order to create <stdbool.h> when the system
645 # doesn't have one that works.
646 stdbool.h: stdbool_.h
647 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' \
648 < $(srcdir)/stdbool_.h > $@-t
651 # We need the following in order to create <stdint.h> when the system
652 # doesn't have one that works with the given compiler.
654 sed -e 's/@''HAVE_LONG_64BIT''@/$(HAVE_LONG_64BIT)/g;s/@''HAVE_LONG_LONG_64BIT@/$(HAVE_LONG_LONG_64BIT)/g' < $(srcdir)/stdint_.h > $@-t
657 # for backwards compatibility with the old makefiles
658 realclean: maintainer-clean
660 # Tell versions [3.59,3.63) of GNU make to not export all variables.
661 # Otherwise a system limit (for SysV at least) may be exceeded.