forked from appneta/tcpreplay
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
47 lines (31 loc) · 941 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
45
46
47
AUTOMAKE_OPTIONS = foreign
include $(top_srcdir)/libopts/MakeDefs.inc
SUBDIRS = scripts lib $(LIBOPTS_DIR) src
DIST_SUBDIRS = scripts lib src docs libopts
.PHONY: manpages docs test
dist-hook: version manpages docs
DOCS_DIR = $(top_builddir)/docs
docs: manpages
echo Making docs in $(DOCS_DIR)
cd $(DOCS_DIR) && make docs
clean-docs:
cd $(DOCS_DIR) && make clean-docs
postweb: manpages docs
cd $(DOCS_DIR) && make postweb
manpages:
cd scripts && make
cd src && make manpages
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