File: Makefile.PL

package info (click to toggle)
libbackuppc-xs-perl 0.62-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,376 kB
  • sloc: ansic: 9,671; sh: 3,084; perl: 73; makefile: 3
file content (24 lines) | stat: -rw-r--r-- 409 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
use ExtUtils::MakeMaker;

WriteMakefile(
    NAME   => 'BackupPC::XS::zlib',
    SKIP   => [qw(all static_lib static dynamic_lib dynamic)],
    clean  => {'FILES' => 'libzlib$(LIB_EXT)'},
);

sub MY::top_targets {
       '
all :: static

pure_all :: static

static ::       libzlib$(LIB_EXT)

dynamic ::

libzlib$(LIB_EXT): $(O_FILES)
	$(AR) cr libzlib$(LIB_EXT) $(O_FILES)
	$(RANLIB) libzlib$(LIB_EXT)

';
}