diff options
Diffstat (limited to 'Makefile.PL')
-rw-r--r-- | Makefile.PL | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Makefile.PL b/Makefile.PL new file mode 100644 index 0000000..9e62f5e --- /dev/null +++ b/Makefile.PL @@ -0,0 +1,16 @@ +use ExtUtils::MakeMaker; +# See lib/ExtUtils/MakeMaker.pm for details of how to influence +# the contents of the Makefile that is written. + +my $libs = ' -lrpm -ldb1 -lz'; + +WriteMakefile( + 'NAME' => 'rpmtools', + 'OPTIMIZE' => '-O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pipe -s -mpentium -mcpu=pentium -march=pentium -ffast-math -fexpensive-optimizations', + 'MAKEFILE' => 'Makefile_core', + 'OBJECT' => 'rpmtools.o', + 'VERSION_FROM' => 'rpmtools.pm', + 'LIBS' => [$libs], # e.g., '-lm' + 'INC' => '-I/usr/include/rpm', # e.g., '-I/usr/include/other' +); + |