You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. ## Process this file with automake to produce Makefile.in
  2. ##
  3. ## $Id: Makefile.am,v 1.30 2007/10/26 17:50:49 adeniz Exp $
  4. ##
  5. ## automake input for the ARM Research SNFServer scripts.
  6. ##
  7. ## Author: Alban Deniz
  8. ##
  9. ## Copyright (C) 2008 ARM Research Labs, LLC.
  10. ## See www.armresearch.com for the copyright terms.
  11. ##
  12. sbin_SCRIPTS = \
  13. getRulebase.sample \
  14. snfSniffer.sample \
  15. snfSnifferFilter.sample \
  16. snfscan-standalone.sample
  17. rcexec_SCRIPTS = \
  18. snf-server
  19. if OpenBSD
  20. snf-server.in: snf-server.openbsd Makefile
  21. cp @top_srcdir@/Scripts/snf-server.openbsd snf-server.in
  22. chmod +x $@
  23. rcexecdir = @sbindir@
  24. else
  25. if FreeBSD
  26. snf-server.in: snf-server.freebsd Makefile
  27. cp @top_srcdir@/Scripts/snf-server.freebsd snf-server.in
  28. chmod +x $@
  29. rcexecdir = @sysconfdir@/rc.d
  30. else
  31. rcexecdir = @sysconfdir@/init.d
  32. endif
  33. endif
  34. if Ubuntu
  35. snf-server.in: snf-server.ubuntu Makefile
  36. cp @top_srcdir@/Scripts/snf-server.ubuntu snf-server.in
  37. chmod +x $@
  38. endif
  39. if RedHat
  40. snf-server.in: snf-server.redhat Makefile
  41. cp @top_srcdir@/Scripts/snf-server.redhat snf-server.in
  42. chmod +x $@
  43. endif
  44. if Suse
  45. snf-server.in: snf-server.suse Makefile
  46. cp @top_srcdir@/Scripts/snf-server.suse snf-server.in
  47. chmod +x $@
  48. endif
  49. getRulebase.sample: getRulebase.in Makefile
  50. cat @top_srcdir@/Scripts/getRulebase.in | sed -e s+PREFIX+@prefix@+ -e s+PACKAGE_NAME+@PACKAGE_NAME@+ > $@
  51. chmod +x $@
  52. snf-server: snf-server.in Makefile
  53. cat @top_srcdir@/Scripts/snf-server.in | sed -e s+PREFIX+@prefix@+g -e s+CONFFILE+@sysconfdir@/@PACKAGE_NAME@/SNFServer.xml+g -e s+SYSCONFDIR+@sysconfdir@+g -e s+PACKAGE_NAME+@PACKAGE_NAME@+g > $@
  54. chmod +x $@
  55. snfSniffer.sample: snfSniffer.in Makefile
  56. cat @top_srcdir@/Scripts/snfSniffer.in | sed -e s+DATADIR+@datadir@+ -e s+PREFIX+@prefix@+ -e s+PACKAGE_NAME+@PACKAGE_NAME@+ > $@
  57. chmod +x $@
  58. snfSnifferFilter.sample: snfSnifferFilter.in Makefile
  59. cat @top_srcdir@/Scripts/snfSnifferFilter.in | sed -e s+DATADIR+@datadir@+ -e s+PREFIX+@prefix@+ -e s+PACKAGE_NAME+@PACKAGE_NAME@+ > $@
  60. chmod +x $@
  61. snfscan-standalone.sample: snfscan-standalone.in Makefile
  62. cat @top_srcdir@/Scripts/snfscan-standalone.in | sed -e s+DATADIR+@datadir@+ -e s+PREFIX+@prefix@+ -e s+PACKAGE_NAME+@PACKAGE_NAME@+ > $@
  63. chmod +x $@
  64. pkgdata_DATA = \
  65. junkmsg.txt \
  66. cleanmsg.txt
  67. EXTRA_DIST = \
  68. getRulebase.in \
  69. snfSniffer.in \
  70. snfSnifferFilter.in \
  71. snfscan-standalone.in \
  72. snf-server.openbsd \
  73. snf-server.freebsd \
  74. snf-server.redhat \
  75. snf-server.ubuntu \
  76. snf-server.suse \
  77. $(pkgdata_DATA)
  78. clean-local:
  79. rm -f *.gcno *.gcov *.gcda *~ $(sbin_SCRIPTS) $(rcexec_SCRIPTS) snf-server.in