-
Notifications
You must be signed in to change notification settings - Fork 270
/
Makefile.am
64 lines (43 loc) · 1.16 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# $Id$
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
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/git_version.c
cd src/common && make git_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 \
m4/libtool.m4 m4/ltoptions.m4 m4/ltsugar.m4 \
m4/ltversion.m4 m4/lt~obsolete.m4 acinclude.m4