File: Makefile.am

package info (click to toggle)
systemtap 5.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 47,556 kB
  • sloc: cpp: 81,117; ansic: 54,933; xml: 49,795; exp: 43,595; sh: 11,526; python: 5,003; perl: 2,252; tcl: 1,312; makefile: 1,006; javascript: 149; lisp: 105; awk: 101; asm: 91; java: 70; sed: 16
file content (56 lines) | stat: -rw-r--r-- 1,782 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
# Makefile.am --- automake input file for systemtap dyninst tools

AUTOMAKE_OPTIONS = subdir-objects

AM_CFLAGS = -Wall -Wunused -W -Wformat # -Wformat=2
AM_CXXFLAGS = -Wall -Wunused -W -Wformat # -Wformat=2
if Werror
AM_CFLAGS += -Werror
AM_CXXFLAGS += -Werror
endif
AM_CPPFLAGS = -D_GNU_SOURCE
AM_CPPFLAGS += -I$(srcdir)/../includes
AM_CPPFLAGS += -I$(builddir)/../includes/sys
AM_CPPFLAGS += -DBINDIR='"$(bindir)"' -DSYSCONFDIR='"$(sysconfdir)"' -DPKGDATADIR='"${pkgdatadir}"' -DPKGLIBDIR='"$(pkglibexecdir)"' -DLOCALEDIR='"$(localedir)"'

AM_CFLAGS += @PIECFLAGS@
AM_CXXFLAGS += @PIECXXFLAGS@
AM_LDFLAGS = @PIELDFLAGS@ @BOOST_SYSTEM_LIB@

if HAVE_SELINUX
AM_CPPFLAGS += $(selinux_CFLAGS)
AM_LDFLAGS += $(selinux_LIBS)
endif

bin_PROGRAMS =
noinst_PROGRAMS =

if HAVE_DYNINST

bin_PROGRAMS += stapdyn
noinst_PROGRAMS += dynsdt

man_MANS = stapdyn.8

stapdyn_SOURCES = stapdyn.cxx mutator.cxx mutatee.cxx \
				  dynprobe.cxx dynutil.cxx ../staputil.cxx
stapdyn_CXXFLAGS = $(AM_CXXFLAGS) @DYNINST_CXXFLAGS@ $(debuginfod_CFLAGS)
stapdyn_LDFLAGS = $(AM_LDFLAGS) @DYNINST_LDFLAGS@ $(debuginfod_LDFLAGS)
stapdyn_LDADD = -ldl -ldyninstAPI -lsymtabAPI -lpthread $(debuginfod_LIBS)
stapdyn_CFLAGS = $(debuginfod_CFLAGS)

dynsdt_SOURCES = dynsdt.cxx dynutil.cxx ../staputil.cxx
dynsdt_CPPFLAGS = $(AM_CPPFLAGS)
dynsdt_CXXFLAGS = $(AM_CXXFLAGS) @DYNINST_CXXFLAGS@ $(debuginfod_CFLAGS)
dynsdt_LDFLAGS = $(AM_LDFLAGS) @DYNINST_LDFLAGS@ $(debuginfod_LDFLAGS)
dynsdt_LDADD = -ldl -lelf -ldyninstAPI -lsymtabAPI -lpthread $(debuginfod_LIBS)
dynsdt_CFLAGS = $(debuginfod_CFLAGS)

endif # HAVE_DYNINST

BUILT_SOURCES =

# Arrange for the top-level git_version.h to be regenerated at every "make".
BUILT_SOURCES += git_version.stamp
git_version.stamp ../git_version.h:
	$(MAKE) -C .. $(notdir $@)