File: Makefile.PL

package info (click to toggle)
libauthen-tacacsplus-perl 0.26-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 184 kB
  • ctags: 431
  • sloc: ansic: 1,281; perl: 154; makefile: 2
file content (25 lines) | stat: -rw-r--r-- 824 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.

use Config;

# On some versions of Solaris, under some circumstances, 
# can get the wrong version of md5 unless we do this:
# Will also get lots of complaints about undefined symbols
if ($Config{osname} eq 'solaris') {
#        $ex_cc_flags='-symbolic';
}

WriteMakefile(
    'NAME'	=> 'Authen::TacacsPlus',
    'VERSION_FROM' => 'TacacsPlus.pm', # finds $VERSION
    'MYEXTLIB'  => "$ex_cc_flags tacpluslib/libtacplus\$(LIB_EXT)",
    'dist'                  => { COMPRESS => 'gzip', SUFFIX => 'gz' },
);
sub MY::postamble {         
'                           
$(MYEXTLIB): tacpluslib/Makefile 
	cd tacpluslib && $(MAKE) -e
';                          
}