Makefile.in 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. ###############################
  2. # Makefile for NRPE
  3. #
  4. # Last Modified: 10-14-2003
  5. ###############################
  6. # Source code directories
  7. SRC_BASE=./src/
  8. SRC_INCLUDE=./include/
  9. all:
  10. cd $(SRC_BASE); $(MAKE) ; cd ..
  11. @echo ""
  12. @echo "*** Compile finished ***"
  13. @echo ""
  14. @echo "If the NRPE daemon and client compiled without any errors, you"
  15. @echo "can continue with installation. The NRPE daemon and client"
  16. @echo "binaries are located in the src/ subdirectory."
  17. @echo ""
  18. @echo " ** If this is your monitoring host **"
  19. @echo ""
  20. @echo " - Copy the check_nrpe client to the directory that"
  21. @echo " contains your Nagios plugins."
  22. @echo " - Create a command definition in your Nagios config"
  23. @echo " file for the NRPE client. See the README file for"
  24. @echo " more info on doing this."
  25. @echo ""
  26. @echo " ** If this host will be running the NRPE daemon **"
  27. @echo ""
  28. @echo " - Copy the nrpe daemon to /usr/sbin, /usr/local/nagios"
  29. @echo " or wherever you feel it fits best."
  30. @echo " - Copy the sample nrpe.cfg config file to /etc,"
  31. @echo " /usr/local/nagios or wherever you feel it fits best."
  32. @echo " - Modify the /etc/services file and configure NRPE to"
  33. @echo " run under inetd, xinetd, or as a standalone daemon."
  34. @echo " See the README file for more info on doing this."
  35. @echo ""
  36. nrpe:
  37. cd $(SRC_BASE); $(MAKE) ; cd ..
  38. check_nrpe:
  39. cd $(SRC_BASE); $(MAKE) ; cd ..
  40. clean:
  41. cd $(SRC_BASE); $(MAKE) $@ ; cd ..
  42. rm -f core
  43. rm -f *~ */*~
  44. distclean: clean
  45. cd $(SRC_BASE); $(MAKE) $@ ; cd ..
  46. rm -f config.log config.status config.cache nrpe.cfg nrpe.xinetd subst $(SRC_INCLUDE)/config.h init-script init-script.debian init-script.freebsd
  47. rm -f sample-config/*.cfg sample-config/*.xinetd
  48. rm -f Makefile
  49. devclean: distclean