Makefile.am 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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. manpages: man2html
  24. cd src && make manpages
  25. TEST_DIR = $(top_builddir)/test
  26. autoopts:
  27. cd src && make autoopts
  28. test:
  29. echo Making test in $(TEST_DIR)
  30. cd $(TEST_DIR) && make test
  31. dlt_names:
  32. cat @SAVEFILE_C@ | $(top_builddir)/scripts/dlt2name.pl src/dlt_names.h
  33. version:
  34. -rm -f src/common/svn_version.c
  35. cd src/common && make svn_version.c
  36. distclean-local:
  37. -rm -rf autom4te.cache doxygen
  38. doxygen: version
  39. doxygen doxygen.cfg
  40. ncc:
  41. CC=ncc make
  42. MOSTLYCLEANFILES = tcpreplay.spec *~
  43. DISTCLEANFILES = .tm_project.cache stamp-h1 *.tar.*
  44. MAINTAINERCLEANFILES = Makefile.in configure *.bak
  45. EXTRA_DIST = doxygen.cfg.in autogen.sh