xref: /linux/tools/perf/scripts/perl/Perf-Trace-Util/Makefile.PL (revision 498495dba268b20e8eadd7fe93c140c68b6cc9d2)
1# SPDX-License-Identifier: GPL-2.0
2use 5.010000;
3use ExtUtils::MakeMaker;
4# See lib/ExtUtils/MakeMaker.pm for details of how to influence
5# the contents of the Makefile that is written.
6WriteMakefile(
7    NAME              => 'Perf::Trace::Context',
8    VERSION_FROM      => 'lib/Perf/Trace/Context.pm', # finds $VERSION
9    PREREQ_PM         => {}, # e.g., Module::Name => 1.1
10    ($] >= 5.005 ?     ## Add these new keywords supported since 5.005
11      (ABSTRACT_FROM  => 'lib/Perf/Trace/Context.pm', # retrieve abstract from module
12       AUTHOR         => 'Tom Zanussi <tzanussi@gmail.com>') : ()),
13    LIBS              => [''], # e.g., '-lm'
14    DEFINE            => '-I ../..', # e.g., '-DHAVE_SOMETHING'
15    INC               => '-I.', # e.g., '-I. -I/usr/include/other'
16	# Un-comment this if you add C files to link with later:
17    OBJECT            => 'Context.o', # link all the C files too
18);
19