forked from appneta/tcpreplay
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.am
44 lines (29 loc) · 871 Bytes
/
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
AUTOMAKE_OPTIONS = foreign
include $(top_srcdir)/libopts/MakeDefs.inc
SUBDIRS = scripts lib man $(LIBOPTS_DIR) src
DIST_SUBDIRS = scripts lib src man docs libopts
.PHONY: docs test
dist-hook: version docs
DOCS_DIR = $(top_builddir)/docs
docs:
cd scripts && make
echo Making docs in $(DOCS_DIR)
cd $(DOCS_DIR) && make docs
clean-docs:
cd $(DOCS_DIR) && make clean-docs
postweb:
cd $(DOCS_DIR) && make postweb
TEST_DIR = $(top_builddir)/test
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
MOSTLYCLEANFILES = tcpreplay.spec *~
DISTCLEANFILES = .tm_project.cache stamp-h1 *.tar.*
MAINTAINERCLEANFILES = Makefile.in configure *.bak