"Fossies" - the Fresh Open Source Software Archive

Member "cpio-2.13/tests/Makefile.am" (6 Nov 2019, 2709 Bytes) of package /linux/misc/cpio-2.13.tar.bz2:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "Makefile.am": 2.12_vs_2.13.

    1 # Makefile for GNU cpio regression tests.
    2 
    3 # Copyright (C) 2004-2019 Free Software Foundation, Inc.
    4 
    5 ## This program is free software; you can redistribute it and/or modify
    6 ## it under the terms of the GNU General Public License as published by
    7 ## the Free Software Foundation; either version 3, or (at your option)
    8 ## any later version.
    9 
   10 ## This program is distributed in the hope that it will be useful,
   11 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
   12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   13 ## GNU General Public License for more details.
   14 
   15 ## You should have received a copy of the GNU General Public License
   16 ## along with this program; if not, write to the Free Software
   17 ## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
   18 ## 02110-1301 USA.
   19 
   20 EXTRA_DIST = $(TESTSUITE_AT) testsuite package.m4
   21 DISTCLEANFILES       = atconfig $(check_SCRIPTS)
   22 MAINTAINERCLEANFILES = Makefile.in $(TESTSUITE)
   23 
   24 ## ------------ ##
   25 ## package.m4.  ##
   26 ## ------------ ##
   27 
   28 $(srcdir)/package.m4: $(top_srcdir)/configure.ac
   29 	{                                      \
   30 	  echo '# Signature of the current package.'; \
   31 	  echo 'm4_define([AT_PACKAGE_NAME],      [@PACKAGE_NAME@])'; \
   32 	  echo 'm4_define([AT_PACKAGE_TARNAME],   [@PACKAGE_TARNAME@])'; \
   33 	  echo 'm4_define([AT_PACKAGE_VERSION],   [@PACKAGE_VERSION@])'; \
   34 	  echo 'm4_define([AT_PACKAGE_STRING],    [@PACKAGE_STRING@])'; \
   35 	  echo 'm4_define([AT_PACKAGE_BUGREPORT], [@PACKAGE_BUGREPORT@])'; \
   36 	} >$(srcdir)/package.m4
   37 
   38 #
   39 
   40 ## ------------ ##
   41 ## Test suite.  ##
   42 ## ------------ ##
   43 
   44 TESTSUITE_AT = \
   45  testsuite.at\
   46  inout.at\
   47  interdir.at\
   48  setstat01.at\
   49  setstat02.at\
   50  setstat03.at\
   51  setstat04.at\
   52  setstat05.at\
   53  symlink.at\
   54  symlink-bad-length.at\
   55  symlink-long.at\
   56  symlink-to-stdout.at\
   57  version.at\
   58  big-block-size.at\
   59  CVE-2015-1197.at\
   60  CVE-2019-14866.at
   61 
   62 TESTSUITE = $(srcdir)/testsuite
   63 
   64 AUTOTEST = $(AUTOM4TE) --language=autotest
   65 $(TESTSUITE): package.m4 $(TESTSUITE_AT)
   66 	$(AUTOTEST) -I $(srcdir) testsuite.at -o $@.tmp
   67 	mv $@.tmp $@
   68 
   69 atconfig: $(top_builddir)/config.status
   70 	cd $(top_builddir) && ./config.status tests/$@
   71 
   72 clean-local:
   73 	$(SHELL) $(TESTSUITE) --clean
   74 
   75 check-local: atconfig atlocal $(TESTSUITE)
   76 	$(SHELL) $(TESTSUITE) $(TESTSUITEFLAGS)
   77 
   78 # Run the test suite on the *installed* tree.
   79 installcheck-local:
   80 	$(SHELL) $(TESTSUITE) $(TESTSUITEFLAGS) AUTOTEST_PATH=$(exec_prefix)/bin
   81 
   82 
   83 ## ------------ ##
   84 ## genfile      ##
   85 ## ------------ ##
   86 
   87 check_PROGRAMS = genfile
   88 
   89 genfile_SOURCES = genfile.c argcv.c argcv.h
   90 
   91 localedir = $(datadir)/locale
   92 AM_CPPFLAGS = \
   93  -I$(top_srcdir)/gnu -I../gnu -I$(top_srcdir)/lib\
   94  -DLOCALEDIR=\"$(localedir)\"
   95 
   96 LDADD=../gnu/libgnu.a @LIB_CLOCK_GETTIME@ @INTLLIBS@
   97