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