diff options
| author | lijia <[email protected]> | 2019-07-10 17:54:02 +0800 |
|---|---|---|
| committer | lijia <[email protected]> | 2019-07-10 17:54:02 +0800 |
| commit | f36a4fca258fc0a725352cfc744037634a08b076 (patch) | |
| tree | 45865b5d9dee3037ee491b6aa5fa46febcf22dcf /Makefile.am | |
copy from intranet.
Diffstat (limited to 'Makefile.am')
| -rw-r--r-- | Makefile.am | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..3ca7633 --- /dev/null +++ b/Makefile.am @@ -0,0 +1,69 @@ +# $Id$ +AUTOMAKE_OPTIONS = foreign + +ACLOCAL_AMFLAGS = -I m4 -I libopts/m4 + +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 + +manpages: + cd src && make manpages + +docs: manpages + echo Making docs in $(DOCS_DIR) + cd $(DOCS_DIR) && make docs + +clean-docs: + cd $(DOCS_DIR) && make clean-docs + +postweb: docs doxygen + cd $(DOCS_DIR) && make postweb + +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 \ + m4/libtool.m4 m4/ltoptions.m4 m4/ltsugar.m4 \ + m4/ltversion.m4 m4/lt~obsolete.m4 |
