The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.
require 5.004 ;
use ExtUtils::MakeMaker 5.16 ;
use Config ;

my @parts = qw/api connection debug framing mem socket table/;
my $cfiles = [ map { "amqp_$_.c" } @parts ];
my $ofiles = join ' ', map { "amqp_$_.o" } @parts;

WriteMakefile(
	NAME		=> 'Net::RabbitMQ',
	VERSION_FROM	=> 'RabbitMQ.pm',
	OBJECT		=> "RabbitMQ.o $ofiles",
	C		=> $cfiles,
	OPTIMIZE	=> $ENV{'OPTIMIZE'},
	PREREQ_PM	=> {},
        );