Makefile.am 1.2 KB

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