Makefile.am 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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. -include NP-VERSION-FILE
  6. export NP_VERSION:= $(NP_VERSION)
  7. SUFFIXES = .pl .sh
  8. VPATH=$(top_srcdir) $(top_srcdir)/plugins-scripts $(top_srcdir)/plugins-scripts/t
  9. libexec_SCRIPTS = check_breeze check_disk_smb check_flexlm check_ircd \
  10. check_log check_oracle check_rpc check_sensors check_wave \
  11. check_ifstatus check_ifoperstatus check_mailq check_file_age \
  12. utils.sh utils.pm
  13. EXTRA_DIST=check_breeze.pl check_disk_smb.pl check_flexlm.pl check_ircd.pl \
  14. check_log.sh check_ntp.pl check_oracle.sh check_rpc.pl check_sensors.sh \
  15. check_ifstatus.pl check_ifoperstatus.pl check_wave.pl check_mailq.pl check_file_age.pl \
  16. utils.sh.in utils.pm.in t
  17. TESTS_ENVIRONMENT=perl -I $(top_builddir) -I $(top_srcdir)
  18. TESTS = @SCRIPT_TEST@
  19. all-local: NP-VERSION-FILE
  20. test:
  21. perl -I $(top_builddir) -I $(top_srcdir) ../test.pl
  22. perl -I $(top_builddir) -I $(top_srcdir) ../test.pl t/utils.t # utils.t is excluded from above, so manually ask to test
  23. test-debug:
  24. NPTEST_DEBUG=1 HARNESS_VERBOSE=1 perl -I $(top_builddir) -I $(top_srcdir) ../test.pl
  25. 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
  26. CLEANFILES=$(libexec_SCRIPTS)
  27. .pl :
  28. $(AWK) -f ./subst $< > $@
  29. chmod +x $@
  30. .sh :
  31. $(AWK) -f ./subst $< > $@
  32. chmod +x $@
  33. clean-local:
  34. rm -f NP-VERSION-FILE