File: Makefile.am

package info (click to toggle)
pax-utils 1.2.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 728 kB
  • sloc: ansic: 8,752; sh: 671; python: 495; makefile: 303
file content (116 lines) | stat: -rw-r--r-- 2,162 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
ACLOCAL_AMFLAGS = -I autotools/m4

SUBDIRS = autotools/gnulib

AM_CPPFLAGS = \
	-I$(top_builddir)/autotools/gnulib \
	-I$(top_srcdir)/autotools/gnulib

noinst_LTLIBRARIES = libpaxutils.la
libpaxutils_la_LDFLAGS = -no-undefined
libpaxutils_la_SOURCES = \
	paxelf.c \
	paxinc.c \
	paxldso.c \
	paxmacho.c \
	security.c \
	xfuncs.c
LDADD = libpaxutils.la $(top_builddir)/autotools/gnulib/libgnu.a $(LIB_EACCESS)

bin_SCRIPTS = lddtree symtree
bin_PROGRAMS = scanelf dumpelf pspax scanmacho
CLEANFILES = $(bin_SCRIPTS)

if USE_PYTHON
lddtree: lddtree.py
else
lddtree: lddtree.sh
endif
	cp $< $@

symtree: symtree.sh
	cp $< $@

TMAKE = \
	$(MAKE) -C $(abs_top_srcdir)/tests \
		AUTOTOOLS=true \
		abs_top_builddir="$(abs_top_builddir)" \
		abs_top_srcdir="$(abs_top_srcdir)"
check-hook:
	$(TMAKE) check
check: check-hook

# Start off with base values which we append below
dist_man_MANS =
EXTRA_DIST = autotools/m4/gnulib-cache.m4

man/dumpelf.1 man/pspax.1 man/scanelf.1 man/scanmacho.1: make-manpages

make-manpages:
	$(MAKE) -C ./man man

# @@@ GEN START @@@ #
dist_man_MANS += \
	man/dumpelf.1 \
	man/pspax.1 \
	man/scanelf.1 \
	man/scanmacho.1
EXTRA_DIST += \
	.depend \
	.gitignore \
	.travis.yml \
	BUGS \
	COPYING \
	Makefile \
	Makefile.am \
	README.md \
	TODO \
	autogen.sh \
	configure.ac \
	dumpelf.c \
	elf.h \
	lddtree.py \
	lddtree.sh \
	macho.h \
	make-tarball.sh \
	man/Makefile \
	man/custom.xsl \
	man/dumpelf.docbook \
	man/fragment/date \
	man/fragment/reftail \
	man/fragment/version \
	man/pax-utils.docbook \
	man/pspax.docbook \
	man/scanelf.docbook \
	man/scanmacho.docbook \
	paxelf.c \
	paxelf.h \
	paxinc.c \
	paxinc.h \
	paxldso.c \
	paxldso.h \
	paxmacho.c \
	paxmacho.h \
	porting.h \
	pspax.c \
	scanelf.c \
	scanmacho.c \
	security.c \
	security.h \
	symtree.sh \
	tests/Makefile \
	tests/lddtree/Makefile \
	tests/lddtree/dotest.cmp \
	tests/lddtree/dotest.py \
	tests/lddtree/dotest.sfx \
	tests/lddtree/dotest.sh \
	tests/lib.sh \
	tests/scanelf/Makefile \
	tests/scanelf/dotest \
	tests/scanelf/scanelf.simple.good \
	tests/source/Makefile \
	tests/source/dotest \
	tests/source/space \
	xfuncs.c \
	xfuncs.h
# @@@ GEN END @@@ #