Makefile.am 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. # $Id$
  2. AUTOMAKE_OPTIONS = foreign
  3. ACLOCAL_AMFLAGS = -I m4 -I libopts/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 \
  45. m4/libtool.m4 m4/ltoptions.m4 m4/ltsugar.m4 \
  46. m4/ltversion.m4 m4/lt~obsolete.m4