1
0

Makefile.am 1.2 KB

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