1
0

Makefile.am 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. # $Id$
  2. ACLOCAL_AMFLAGS = -I m4 -I libopts/m4
  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
  11. DOCS_DIR = $(top_builddir)/docs
  12. manpages:
  13. cd src && make manpages
  14. docs: manpages
  15. echo Making docs in $(DOCS_DIR)
  16. cd $(DOCS_DIR) && make docs
  17. clean-docs:
  18. cd $(DOCS_DIR) && make clean-docs
  19. postweb: docs doxygen
  20. cd $(DOCS_DIR) && make postweb
  21. TEST_DIR = $(top_builddir)/test
  22. autoopts:
  23. cd src && make autoopts
  24. test:
  25. echo Making test in $(TEST_DIR)
  26. cd $(TEST_DIR) && make test
  27. dlt_names:
  28. cat @SAVEFILE_C@ | $(top_builddir)/scripts/dlt2name.pl src/dlt_names.h
  29. version:
  30. -rm -f src/common/git_version.c
  31. cd src/common && make git_version.c
  32. distclean-local:
  33. -rm -rf autom4te.cache doxygen
  34. doxygen: version
  35. doxygen doxygen.cfg
  36. ncc:
  37. CC=ncc make
  38. MOSTLYCLEANFILES = tcpreplay.spec *~
  39. DISTCLEANFILES = .tm_project.cache stamp-h1 *.tar.*
  40. MAINTAINERCLEANFILES = Makefile.in configure *.bak
  41. EXTRA_DIST = doxygen.cfg.in autogen.sh \
  42. m4/libtool.m4 m4/ltoptions.m4 m4/ltsugar.m4 \
  43. m4/ltversion.m4 m4/lt~obsolete.m4 acinclude.m4