summaryrefslogtreecommitdiff
path: root/perl/Makefile.PL.in
blob: 625f0eb68d50492e0c13537f6b5db4a094d03d58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.

WriteMakefile(
	      'NAME'	=> 'rpm',
	      'OBJECT'	=> 'rpm.o constant.o',
	      'VERSION_FROM' => 'rpm.pm',		# finds $VERSION
	      'MAKEFILE'=> 'PMakefile',
	      'LIBS'	=> ['@LIBS@'],			# e.g., '-lm' 
	      'CCFLAGS' => '@CFLAGS@',
	      'OPTIMIZE'=> '-g',
	      'DEFINE'	=> '-Dbool=char -DHAS_BOOL',
	      'INC'	=> '@INCPATH@ -I../build -I../lib -I../popt -I/usr/include/rpm',
	      'depend'	=> { 'rpm.c' => 'transaction.xs header.xs db.xs' },
);