Makefile.am 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. # $Id$
  2. AUTOMAKE_OPTIONS = foreign
  3. ACLOCAL_AMFLAGS = -I m4
  4. if NEED_LIBOPTS
  5. SUBDIRS = scripts lib $(LIBOPTS_DIR) src
  6. else
  7. SUBDIRS = scripts lib src
  8. endif
  9. DIST_SUBDIRS = scripts lib libopts src docs test
  10. .PHONY: manpages docs test man2html
  11. dist-hook: version manpages update
  12. update:
  13. svn update
  14. DOCS_DIR = $(top_builddir)/docs
  15. manpages:
  16. cd src && make manpages
  17. docs: manpages
  18. echo Making docs in $(DOCS_DIR)
  19. cd $(DOCS_DIR) && make docs
  20. clean-docs:
  21. cd $(DOCS_DIR) && make clean-docs
  22. postweb: docs doxygen
  23. cd $(DOCS_DIR) && make postweb
  24. TEST_DIR = $(top_builddir)/test
  25. autoopts:
  26. cd src && make autoopts
  27. test:
  28. echo Making test in $(TEST_DIR)
  29. cd $(TEST_DIR) && make test
  30. dlt_names:
  31. cat @SAVEFILE_C@ | $(top_builddir)/scripts/dlt2name.pl src/dlt_names.h
  32. version:
  33. -rm -f src/common/svn_version.c
  34. cd src/common && make svn_version.c
  35. distclean-local:
  36. -rm -rf autom4te.cache doxygen
  37. doxygen: version
  38. doxygen doxygen.cfg
  39. ncc:
  40. CC=ncc make
  41. MOSTLYCLEANFILES = tcpreplay.spec *~
  42. DISTCLEANFILES = .tm_project.cache stamp-h1 *.tar.*
  43. MAINTAINERCLEANFILES = Makefile.in configure *.bak
  44. EXTRA_DIST = doxygen.cfg.in autogen.sh