blob: 0caf7df2ff415a563bfdfd77c3369fec3dd2015e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
WriteMakefile(
'NAME' => 'rpm',
'OBJECT' => 'rpm.o constant.o',
'VERSION_FROM' => 'rpm.pm', # finds $VERSION
'LIBS' => ['-lrpm -lz -ldb1'], # e.g., '-lm'
'CCFLAGS' => '-Dbool=char -DHAS_BOOL',
'OPTIMIZE'=> '-g',
'DEFINE' => '-Wall',
'INC' => '-I/usr/include/rpm', # e.g., '-I/usr/include/other'
'depend' => { 'rpm.c' => 'transaction.xs header.xs db.xs' },
);
|