/[fuse.before_github]/perl-llin/Makefile.PL
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /perl-llin/Makefile.PL

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 29 by dpavlin, Mon Jan 2 23:07:14 2006 UTC revision 31 by dpavlin, Mon Jan 2 23:40:24 2006 UTC
# Line 1  Line 1 
1  use ExtUtils::MakeMaker;  use ExtUtils::MakeMaker;
2  # See lib/ExtUtils/MakeMaker.pm for details of how to influence  # See lib/ExtUtils/MakeMaker.pm for details of how to influence
3  # the contents of the Makefile that is written.  # the contents of the Makefile that is written.
4    
5    my $inc = `pkg-config --cflags` || '-I ../include';
6    my $obj = `pkg-config --libs fuse` || '-lfuse';
7    
8  WriteMakefile(  WriteMakefile(
9      'NAME'              => 'Fuse',      'NAME'              => 'Fuse',
10      'VERSION_FROM'      => 'Fuse.pm', # finds $VERSION      'VERSION_FROM'      => 'Fuse.pm', # finds $VERSION
# Line 11  WriteMakefile( Line 15  WriteMakefile(
15      'LIBS'              => [''], # e.g., '-lm'      'LIBS'              => [''], # e.g., '-lm'
16      'DEFINE'            => '-g -ggdb', # e.g., '-DHAVE_SOMETHING'      'DEFINE'            => '-g -ggdb', # e.g., '-DHAVE_SOMETHING'
17          # Insert -I. if you add *.h files later:          # Insert -I. if you add *.h files later:
18      'INC'               => `pkg-config --cflags` . '-I ../include', # e.g., '-I/usr/include/other'      'INC'               => $inc, # e.g., '-I/usr/include/other'
19          # Un-comment this if you add C files to link with later:          # Un-comment this if you add C files to link with later:
20      'OBJECT'            => `pkg-config --libs fuse` . ' Fuse.o -lpthread', # link all the C files too      'OBJECT'            => "$obj Fuse.o -lpthread", # link all the C files too
21  );  );

Legend:
Removed from v.29  
changed lines
  Added in v.31

  ViewVC Help
Powered by ViewVC 1.1.26