source: tags/svn.1.5.4/PERL2ARB/DARWIN.PL

Last change on this file was 7183, checked in by westram, 13 years ago

merges [7084] [7086] [7087] [7088] from refactor

  • added CORE lib
    • added arb_progress (unused yet)
    • moved some code from ARBDB to CORE
  • added tests to CORE lib
  • generate_all_links.sh
    • now tests link targets
    • able to replace links (if link stays the same, but target changes)
  • fixed perl interface
    • link with libCORE
    • DRYed LINUX.PL and DARWIN.PL
    • added wrapper functionality (ARBDB→CORE). Functions starting with GBC_ are wrappers for code that moved into libCORE (which is NOT xsub'd)
File size: 967 bytes
Line 
1use ExtUtils::MakeMaker;
2# See lib/ExtUtils/MakeMaker.pm for details on how to influence
3# the contents of the Makefile that gets written.
4
5print "DARWIN.PL:5: Warning: Please inspect comments here\n";
6# DARWIN.PL is now called with two parameters containing compiler- and linker-flags.
7# It would be better to use them instead of hardcoding values below
8# (see LINUX.PL for recommended usage).
9# Please remove this comment when done.
10
11use arb_common;
12
13WriteMakefile(
14              'NAME'         => $arb_common::name,
15              'VERSION_FROM' => $arb_common::version_from,
16              'CC'           => 'g++',
17              'CCFLAGS'      => '-arch x86_64',
18              'DEFINE'       => '',
19              'INC'          => $arb_common::inc,
20              'LIBS'         => $arb_common::libs.' -L/System/Library/Perl/lib/5.10/ -lperl', #System provides 64-bit Perl with Snow Leopard
21              'LDDLFLAGS'    => '-bundle -flat_namespace',
22             );
Note: See TracBrowser for help on using the repository browser.