1 |
# |
2 |
#/* |
3 |
# openisis - an open implementation of the CDS/ISIS database |
4 |
# Version 0.8.x (patchlevel see file Version) |
5 |
# Copyright (C) 2001-2003 by Erik Grziwotz, erik@openisis.org |
6 |
# |
7 |
# This library is free software; you can redistribute it and/or |
8 |
# modify it under the terms of the GNU Lesser General Public |
9 |
# License as published by the Free Software Foundation; either |
10 |
# version 2.1 of the License, or (at your option) any later version. |
11 |
# |
12 |
# This library is distributed in the hope that it will be useful, |
13 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
15 |
# Lesser General Public License for more details. |
16 |
# |
17 |
# You should have received a copy of the GNU Lesser General Public |
18 |
# License along with this library; if not, write to the Free Software |
19 |
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
20 |
# |
21 |
# see README for more information |
22 |
#EOH */ |
23 |
# |
24 |
# $Id: Makefile.PL,v 1.4 2003/04/11 12:21:15 kripke Exp $ |
25 |
# the MakeMaker Makefile for the openisis perl XSUB |
26 |
# |
27 |
use ExtUtils::MakeMaker; |
28 |
# See lib/ExtUtils/MakeMaker.pm for details of how to influence |
29 |
# the contents of the Makefile that is written. |
30 |
WriteMakefile( |
31 |
'NAME' => 'OpenIsis', |
32 |
'VERSION_FROM' => 'OpenIsis.pm', # finds $VERSION |
33 |
'LDFROM' => '$(OBJECT) ../sto/libopenisis.a', # force to use static archive |
34 |
'DEFINE' => '', # e.g., '-DHAVE_SOMETHING' |
35 |
'INC' => '-I..', # e.g., '-I/usr/include/other' |
36 |
'CC' => 'gcc', |
37 |
'LD' => 'gcc', |
38 |
'dynamic_lib' => { |
39 |
OTHERLDFLAGS => '-Wl,-init,openIsisInit,-fini,openIsisFini' |
40 |
} |
41 |
); |