4
0

Makefile.am 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. ## Process this file with automake to produce Makefile.in
  2. if RELEASE_PRESENT
  3. NP_VERSION = @NP_RELEASE@
  4. else
  5. NP-VERSION-FILE: .FORCE-NP-VERSION-FILE
  6. @$(SHELL_PATH) $(top_srcdir)/NP-VERSION-GEN
  7. .FORCE-NP-VERSION-FILE:
  8. -include NP-VERSION-FILE
  9. endif
  10. SUFFIXES = .py .in
  11. VPATH=$(top_srcdir) $(top_srcdir)/plugins-python
  12. libexec_SCRIPTS = check_heartbleed.py check_imap_login.py check_ncpa.py
  13. EXTRA_DIST=check_heartbleed.in check_imap_login.in check_ncpa.in
  14. EDIT = sed \
  15. -e 's|[@]NP_VERSION[@]|$(NP_VERSION)|g' \
  16. -e 's|[@]TRUSTED_PATH[@]|$(with_trusted_path)|g' \
  17. -e 's|[@]PYTHON[@]|$(PYTHON)|g' \
  18. -e 's|[@]libexecdir[@]|$(libexecdir)|g'
  19. #TESTS_ENVIRONMENT=perl -I $(top_builddir) -I $(top_srcdir)
  20. #TESTS = @SCRIPT_TEST@
  21. #test:
  22. # perl -I $(top_builddir) -I $(top_srcdir) ../test.pl
  23. # perl -I $(top_builddir) -I $(top_srcdir) ../test.pl t/utils.t # utils.t is excluded from above, so manually ask to test
  24. #test-debug:
  25. # NPTEST_DEBUG=1 HARNESS_VERBOSE=1 perl -I $(top_builddir) -I $(top_srcdir) ../test.pl
  26. # 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
  27. CLEANFILES=$(libexec_SCRIPTS)
  28. .in.py:
  29. @if [ ! "$(PYTHON)" = "missing" ]; then \
  30. $(EDIT) $< > $@; \
  31. chmod +x $@; \
  32. fi
  33. clean-local:
  34. rm -f NP-VERSION-FILE *.pyc