14 |
my $obj = `pkg-config --libs fuse` || '-lfuse'; |
my $obj = `pkg-config --libs fuse` || '-lfuse'; |
15 |
|
|
16 |
WriteMakefile( |
WriteMakefile( |
17 |
'NAME' => 'Fuse', |
'NAME' => 'Fuse', |
18 |
'VERSION_FROM' => 'Fuse.pm', # finds $VERSION |
'VERSION_FROM' => 'Fuse.pm', # finds $VERSION |
19 |
'PREREQ_PM' => {}, # e.g., Module::Name => 1.1 |
'PREREQ_PM' => {}, # e.g., Module::Name => 1.1 |
20 |
($] >= 5.005 ? ## Add these new keywords supported since 5.005 |
($] >= 5.005 ? ## Add these new keywords supported since 5.005 |
21 |
(ABSTRACT_FROM => 'Fuse.pm', # retrieve abstract from module |
(ABSTRACT_FROM => 'Fuse.pm', # retrieve abstract from module |
22 |
AUTHOR => 'Mark Glines <mark@glines.org>') : ()), |
AUTHOR => 'Mark Glines <mark@glines.org>') : ()), |
23 |
'LIBS' => [''], # e.g., '-lm' |
'LIBS' => [''], # e.g., '-lm' |
24 |
'DEFINE' => '-g -ggdb', # e.g., '-DHAVE_SOMETHING' |
'DEFINE' => '-Wall -g -ggdb', # e.g., '-DHAVE_SOMETHING' |
25 |
# Insert -I. if you add *.h files later: |
# Insert -I. if you add *.h files later: |
26 |
'INC' => $inc, # e.g., '-I/usr/include/other' |
'INC' => $inc, # e.g., '-I/usr/include/other' |
27 |
# Un-comment this if you add C files to link with later: |
# Un-comment this if you add C files to link with later: |
28 |
'OBJECT' => "$obj Fuse.o -lpthread", # link all the C files too |
'OBJECT' => "$obj Fuse.o -lpthread", # link all the C files too |
29 |
); |
); |
30 |
|
|
31 |
sub MY::postamble { |
sub MY::postamble { |
32 |
return <<'MAKE_MORE'; |
return <<'MAKE_MORE'; |
33 |
|
|
34 |
sf: |
sf: |
35 |
svn2cvs.pl file:///home/dpavlin/.svk/fuse/perl-llin :ext:dpavlin@cvs.sourceforge.net:/cvsroot/fuse perl |
svn2cvs.pl file:///home/dpavlin/.svk/fuse/perl-llin :ext:dpavlin@cvs.sourceforge.net:/cvsroot/fuse perl |