commit changes from draw branch
[imager.git] / Makefile.PL
index 62607112e390d635ef35b1d6e148ea92d8624e0a..f13b7e1636f0158a589e29a61452d0f3d30f1072 100644 (file)
@@ -156,7 +156,7 @@ my @objs = qw(Imager.o draw.o polygon.o image.o io.o iolayer.o
               regmach.o trans2.o quant.o error.o convert.o
               map.o tags.o palimg.o maskimg.o img16.o rotate.o
               bmp.o tga.o color.o fills.o imgdouble.o limits.o hlines.o
-              imext.o scale.o rubthru.o render.o);
+              imext.o scale.o rubthru.o render.o paste.o compose.o);
 
 $Recommends{Imager} =
   { 'Parse::RecDescent' => 0 };
@@ -168,7 +168,7 @@ my %opts=(
           'DEFINE'       => "$OSDEF $CFLAGS",
           'INC'          => "$lib_cflags $DFLAGS $F_INC",
           'OBJECT'       => join(' ', @objs, $F_OBJECT),
-          clean          => { FILES=>'testout meta.tmp rubthru.c scale.c' },
+          clean          => { FILES=>'testout meta.tmp rubthru.c scale.c conv.c  filters.c gaussian.c render.c rubthru.c' },
           PM             => gen_PM(),
          PREREQ_PM      => { 'Test::More' => 0.47 },
          );
@@ -236,8 +236,8 @@ sub _im_rule {
   (my $c = $im) =~ s/\.im$/.c/;
   return <<MAKE;
 
-$c: $im imtoc.perl
-       $perl imtoc.perl $im $c
+$c: $im lib/Imager/Preprocess.pm
+       $perl -Ilib -MImager::Preprocess -epreprocess $im $c
 
 MAKE