Makefile.am 904 B

1234567891011121314151617181920212223242526272829303132333435
  1. # This Makefile.am is in the public domain
  2. AM_CPPFLAGS = -I$(top_srcdir)/src/include -I$(top_builddir)/src/include
  3. do_subst = $(AWK) -v prl="$(PERL)" -v pfx="$(prefix)" '{if (/@SUBSTPREFIX@/) { gsub("@SUBSTPREFIX@",pfx)}; gsub("@PERLEXE@",prl); print $$0}'
  4. SUFFIXES = .in
  5. gnunet-logread: gnunet-logread.in Makefile
  6. $(do_subst) < $(srcdir)/gnunet-logread.in > gnunet-logread
  7. chmod +x gnunet-logread
  8. gnunet-logread-ipc-sdedit: gnunet-logread-ipc-sdedit.in Makefile
  9. $(do_subst) < $(srcdir)/gnunet-logread-ipc-sdedit.in > gnunet-logread-ipc-sdedit
  10. chmod +x gnunet-logread-ipc-sdedit
  11. CLEANFILES= \
  12. gnunet-logread \
  13. gnunet-logread-ipc-sdedit
  14. if GNUNET_LOGREAD
  15. if HAVE_PERL
  16. bin_SCRIPTS = \
  17. gnunet-logread-ipc \
  18. $(CLEANFILES)
  19. else
  20. noinst_SCRIPTS = \
  21. gnunet-logread-ipc \
  22. $(CLEANFILES)
  23. endif
  24. endif
  25. EXTRA_DIST = \
  26. gnunet-logread.in \
  27. gnunet-logread-ipc-sdedit.in \
  28. gnunet-logread-ipc