Makefile.am 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. ## Makefile for the testsuite subdirectory of the VTV library.
  2. ##
  3. ## Copyright (C) 2013 Free Software Foundation, Inc.
  4. ##
  5. ## Process this file with automake to produce Makefile.in.
  6. ##
  7. ## This file is part of the Vtable Verification (VTV) Library. This
  8. ## library is free software; you can redistribute it and/or modify it
  9. ## under the terms of the GNU General Public License as published by
  10. ## the Free Software Foundation; either version 3, or (at your option)
  11. ## any later version.
  12. ## This library is distributed in the hope that it will be useful, but
  13. ## WITHOUT ANY WARRANTY; without even the implied warranty of
  14. ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  15. ## General Public License for more details.
  16. ## You should have received a copy of the GNU General Public License
  17. ## along with this library; see the file COPYING3. If not see
  18. ## <http://www.gnu.org/licenses/>.
  19. AUTOMAKE_OPTIONS = nostdinc
  20. # Runs the testsuite via a script.
  21. # Create subdirectories.
  22. stamp-subdir:
  23. if test ! -d lib64; then \
  24. mkdir -p lib64; \
  25. fi; \
  26. if test ! -d lib32; then \
  27. mkdir -p lib32; \
  28. fi; \
  29. echo `date` > stamp-subdir;
  30. testing_script=${libvtv_srcdir}/scripts/run-testsuite.sh
  31. check-script: ${testing_script} stamp-subdir
  32. -@(chmod +x ${testing_script}; \
  33. ${testing_script} ${libvtv_srcdir} ${libvtv_builddir})
  34. check-am:
  35. $(MAKE) $(AM_MAKEFLAGS) check-script
  36. .PHONY: check-script
  37. # By adding these files here, automake will remove them for 'make clean'
  38. CLEANFILES = *.out environment-fail-* stamp-* replace-fail-*
  39. # To remove directories.
  40. clean-local:
  41. rm -rf lib*