my (@EUMM_INC_LIB, $myarflags, $mycflags);
# use bundled libtomcrypt
-my @myobjs = map { /^(.*)\.c$/ ? "$1.$Config{obj_ext}" : () } qw(
+my @myobjs = map { /^(.*)\.c$/ ? "$1$Config{obj_ext}" : () } qw(
libtomcrypt/src/ciphers/aes/aes.c
libtomcrypt/src/misc/compare_testvector.c
libtomcrypt/src/misc/crypt/crypt_argchk.c
: '-DLTM_DESC -Ilibtomcrypt/src/headers',
MYEXTLIB => "libtomcrypt/libonlyaes$Config{lib_ext}",
clean => { FILES => join(' ', @myobjs, "libtomcrypt/libonlyaes$Config{lib_ext}") },
+ realclean => { FILES => join(' ', qw{cover_db *.gcda *.gcno *.gcov})},
);
#FIX: https://github.com/DCIT/perl-CryptX/pull/79
my %eumm_args = (
'NAME' => 'File::KDBX::XS',##{ # List NAME explicitly here so it works even without dzil. ##}
+ 'VERSION' => '999.999',
##{ $plugin->get_default(qw{ABSTRACT AUTHOR DISTNAME LICENSE MIN_PERL_VERSION VERSION test}) ##}
##{ $plugin->get_prereqs(1) ##}
@EUMM_INC_LIB,
};
$extra_targets = qq{
-\$(MYEXTLIB): libtomcrypt/Makefile
+\$(MYEXTLIB): libtomcrypt/Makefile.nmake
\tcd libtomcrypt && \$(MAKE) -f Makefile.nmake CFLAGS="$mycflags"
} if $^O eq 'MSWin32' && $Config{make} =~ /nmake/ && $Config{cc} =~ /cl/;