File: Makefile.PL

package info (click to toggle)
psp 0.5.5-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, sarge
  • size: 4,820 kB
  • ctags: 2,333
  • sloc: perl: 21,074; ansic: 4,553; sh: 2,407; makefile: 461; php: 11; pascal: 6
file content (35 lines) | stat: -rw-r--r-- 1,004 bytes parent folder | download | duplicates (2)
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
26
27
28
29
30
31
32
33
34
35
# -*- perl -*-
# Copyright (c) 2000, FundsXpress Financial Network, Inc.
# This library is free software released "AS IS WITH ALL FAULTS"
# and WITHOUT ANY WARRANTIES under the terms of the GNU Lesser
# General Public License, Version 2.1, a copy of which can be
# found in the "COPYING" file of this distribution.

# $Id: Makefile.PL,v 1.1.1.2 2003/12/06 19:47:26 hartmans Exp $

require 5.004;
use strict;
use ExtUtils::MakeMaker;

my @MODULES = qw(
  Parser/Control.pm
  Parser/Error.pm
  Parser/Form.pm
  Compiler.pm
  Parser.pm
);

my %PM = map { $_ => '$(INST_LIBDIR)/PSP/'.$_ } @MODULES;

my @programs_to_install = qw(piler);

WriteMakefile(
    'NAME'         => 'PSP-Parser',
    'VERSION_FROM' => 'Parser.pm',
    'PL_FILES'     => { map {("bin/$_.PL" => "bin/$_")} @programs_to_install },
    'EXE_FILES'    => [ map {"bin/$_"} @programs_to_install ],
    'PM'	   => \%PM,
    'clean'        => { FILES => '$(EXE_FILES)' },
    'dist'         => { COMPRESS => 'gzip -9f', SUFFIX => 'gz' }
);