Makefile.am 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. ## Process this file with automake to produce Makefile.in
  2. NP-VERSION-FILE: .FORCE-NP-VERSION-FILE
  3. @$(SHELL_PATH) $(top_srcdir)/NP-VERSION-GEN
  4. .FORCE-NP-VERSION-FILE:
  5. ## This is undocumented and could possibly break in future versions of
  6. ## automake. See:
  7. ## http://article.gmane.org/gmane.comp.sysutils.automake.general/10036
  8. @am__include@ @am__quote@NP-VERSION-FILE@am__quote@
  9. SUFFIXES = .pl .sh
  10. VPATH=$(top_srcdir) $(top_srcdir)/plugins-scripts $(top_srcdir)/plugins-scripts/t
  11. libexec_SCRIPTS = check_breeze check_disk_smb check_flexlm check_ircd \
  12. check_log check_oracle check_rpc check_sensors check_wave \
  13. check_ifstatus check_ifoperstatus check_mailq check_file_age \
  14. utils.sh utils.pm
  15. EXTRA_DIST=check_breeze.pl check_disk_smb.pl check_flexlm.pl check_ircd.pl \
  16. check_log.sh check_ntp.pl check_oracle.sh check_rpc.pl check_sensors.sh \
  17. check_ifstatus.pl check_ifoperstatus.pl check_wave.pl check_mailq.pl check_file_age.pl \
  18. utils.sh.in utils.pm.in t
  19. TESTS_ENVIRONMENT=perl -I $(top_builddir) -I $(top_srcdir)
  20. TESTS = @SCRIPT_TEST@
  21. all-local: NP-VERSION-FILE
  22. test:
  23. perl -I $(top_builddir) -I $(top_srcdir) ../test.pl
  24. perl -I $(top_builddir) -I $(top_srcdir) ../test.pl t/utils.t # utils.t is excluded from above, so manually ask to test
  25. test-debug:
  26. NPTEST_DEBUG=1 HARNESS_VERBOSE=1 perl -I $(top_builddir) -I $(top_srcdir) ../test.pl
  27. NPTEST_DEBUG=1 HARNESS_VERBOSE=1 perl -I $(top_builddir) -I $(top_srcdir) ../test.pl t/utils.t # utils.t is excluded from above, so manually ask to test
  28. CLEANFILES=$(libexec_SCRIPTS)
  29. .pl :
  30. NP_VERSION=$(NP_VERSION) $(AWK) -f ./subst $< > $@
  31. chmod +x $@
  32. .sh :
  33. NP_VERSION=$(NP_VERSION) $(AWK) -f ./subst $< > $@
  34. chmod +x $@
  35. clean-local:
  36. rm -f NP-VERSION-FILE