Makefile.am 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. AUTOMAKE_OPTIONS = foreign
  2. include $(top_srcdir)/libopts/MakeDefs.inc
  3. SUBDIRS = scripts lib $(LIBOPTS_DIR) src
  4. DIST_SUBDIRS = scripts lib libopts src docs test
  5. .PHONY: manpages docs test man2html
  6. dist-hook: version manpages
  7. DOCS_DIR = $(top_builddir)/docs
  8. man2html:
  9. cd scripts && make man2html
  10. docs: manpages
  11. echo Making docs in $(DOCS_DIR)
  12. cd $(DOCS_DIR) && make docs
  13. clean-docs:
  14. cd $(DOCS_DIR) && make clean-docs
  15. postweb: manpages doxygen
  16. cd $(DOCS_DIR) && make postweb
  17. postwebsf: manpages doxygen
  18. cd $(DOCS_DIR) && make postwebsf
  19. manpages: man2html
  20. cd src && make manpages
  21. TEST_DIR = $(top_builddir)/test
  22. test:
  23. echo Making test in $(TEST_DIR)
  24. cd $(TEST_DIR) && make test
  25. dlt_names:
  26. cat @SAVEFILE_C@ | $(top_builddir)/scripts/dlt2name.pl src/dlt_names.h
  27. version:
  28. -rm -f src/common/svn_version.c
  29. cd src/common && make svn_version.c
  30. distclean-local:
  31. -rm -rf autom4te.cache doxygen
  32. doxygen: version
  33. doxygen doxygen.cfg
  34. MOSTLYCLEANFILES = tcpreplay.spec *~
  35. DISTCLEANFILES = .tm_project.cache stamp-h1 *.tar.*
  36. MAINTAINERCLEANFILES = Makefile.in configure *.bak
  37. EXTRA_DIST = doxygen.cfg.in