18 lines
601 B
Makefile
18 lines
601 B
Makefile
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
|
|
'MAKEFILE'=> 'PMakefile',
|
|
'LIBS' => ['@LIBS@'], # e.g., '-lm'
|
|
'CCFLAGS' => '@CFLAGS@',
|
|
'OPTIMIZE'=> '-g',
|
|
'DEFINE' => '-Dbool=char -DHAS_BOOL',
|
|
'INC' => '@INCPATH@ -I../build -I../lib -I../popt -I/usr/include/rpm',
|
|
'depend' => { 'rpm.c' => 'transaction.xs header.xs db.xs' },
|
|
);
|
|
|