You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mltpp/swig/perl/Makefile.PL

17 lines
466 B

#!/bin/env perl
use ExtUtils::MakeMaker;
my $CXX = $ENV{'CXX'} || 'g++';
system( "ln -sf ../mltpp.i ." );
system( "swig -c++ -I../../src `mlt-config --cflags` -perl5 mltpp.i" );
WriteMakefile(
'NAME' => 'mltpp',
'CC' => '${CXX} `mlt-config --cflags` -I../../src',
'OPTIMIZE' => '-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386',
'LIBS' => ['-L../../src -lmlt++'],
'OBJECT' => 'mltpp_wrap.o',
'DESTDIR' => $ENV{'DESTDIR'},
);