blob: 528ff24e5d61b6b6e05c7b4bf64e43d39bb09c90 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
use ExtUtils::MakeMaker;
$Verbose=1;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
WriteMakefile(
'NAME' => 'USER',
'VERSION_FROM' => 'USER.pm',
'OBJECT' => 'USER.o', # link all the C files too
'LIBS' => ['-lgmodule-2.0 -lglib-2.0 -lgobject-2.0 -libpam_misc -libpam -lcrypt -luser'], # e.g., '-lm'
'DEFINE' => '', # e.g., '-DHAVE_SOMETHING'
'INC' => '-I/usr/include/libuser -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include', # e.g., '-I. -I/usr/include/other'
'XSPROTOARG' => '-noprototypes',
'TYPEMAPS' => ['../perlobject.map' ],
);
|