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

Last change on this file was 7183, checked in by westram, 14 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)
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 786 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
5# called from Makefile.main@buildMakefile
6
7my $args = scalar(@ARGV);
8if ($args!=2) {
9  die "Usage: LINUX.PL compiler-flags linker-flags\n".
10    "Missing arguments";
11}
12
13my $cflags = shift @ARGV;
14my $lflags = shift @ARGV;
15
16use arb_common;
17
18WriteMakefile(
19              'NAME'         => $arb_common::name,
20              'VERSION_FROM' => $arb_common::version_from,
21              'CC'           => 'g++',
22              'CCFLAGS'      => $cflags,
23              'LD'           => 'g++ '.$lflags,
24              'DEFINE'       => '',
25              'INC'          => $arb_common::inc,
26              'LIBS'         => $arb_common::libs,
27             );
28
29
Note: See TracBrowser for help on using the repository browser.