File: Makefile.am

package info (click to toggle)
tcpreplay 3.3.1-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 5,204 kB
  • ctags: 5,239
  • sloc: ansic: 21,432; sh: 10,933; makefile: 835; perl: 138
file content (68 lines) | stat: -rw-r--r-- 1,169 bytes parent folder | download
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
65
66
67
68
# $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