# $Id$ AUTOMAKE_OPTIONS = foreign if NEED_LIBOPTS SUBDIRS = scripts lib $(LIBOPTS_DIR) src else SUBDIRS = scripts lib src endif DIST_SUBDIRS = scripts lib libopts src docs test .PHONY: manpages docs test man2html dist-hook: version manpages update update: svn update DOCS_DIR = $(top_builddir)/docs man2html: cd scripts && make man2html docs: manpages echo Making docs in $(DOCS_DIR) cd $(DOCS_DIR) && make docs clean-docs: cd $(DOCS_DIR) && make clean-docs postweb: manpages doxygen cd $(DOCS_DIR) && make postweb manpages: man2html cd src && make manpages TEST_DIR = $(top_builddir)/test autoopts: cd src && make autoopts test: echo Making test in $(TEST_DIR) cd $(TEST_DIR) && make test dlt_names: cat @SAVEFILE_C@ | $(top_builddir)/scripts/dlt2name.pl src/dlt_names.h version: -rm -f src/common/svn_version.c cd src/common && make svn_version.c distclean-local: -rm -rf autom4te.cache doxygen doxygen: version doxygen doxygen.cfg ncc: CC=ncc make MOSTLYCLEANFILES = tcpreplay.spec *~ DISTCLEANFILES = .tm_project.cache stamp-h1 *.tar.* MAINTAINERCLEANFILES = Makefile.in configure *.bak EXTRA_DIST = doxygen.cfg.in autogen.sh