summaryrefslogtreecommitdiffstats
path: root/perl-install/c/Makefile.PL
blob: 206ab4ef12e5009eeb63a23ac2eda1d64156cb3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
use ExtUtils::MakeMaker;
use Config;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.

my $libs = '-lldetect -lext2fs';
$libs .= ' -L/usr/X11R6/lib -lX11 -lgdk -lXxf86misc' if $ENV{C_DRAKX};
$libs .= ' -lrpm -lrpmdb -lrpmio -lz' if $ENV{C_RPM};

my $pcmcia_dir = $ENV{C_DRAKX} && $Config{archname} =~ /i.86/ ? '../../mdk-stage1/pcmcia_' : '';

symlink "$pcmcia_dir/probe.c", "probe.c" if $pcmcia_dir;

WriteMakefile(
    'NAME'	=> 'stuff',
    'OPTIMIZE'  => '-Os',
    'MAKEFILE'  => 'Makefile_c',
    'OBJECT'    => "stuff.o smp.o sbus.o silo.o" . ($pcmcia_dir && " probe.o"),
    'VERSION_FROM' => 'stuff.pm', # finds $VERSION
    'LIBS'	=> [$libs],   # e.g., '-lm' 
    'DEFINE'	=> '',     # e.g., '-DHAVE_SOMETHING' 
    'INC'	=> "-I/usr/include/rpm `gtk-config --cflags` `glib-config --cflags`" . ($pcmcia_dir && " -I$pcmcia_dir -I$pcmcia_dir/.."), 
);
2005-03-111-1/+1 * updated pot filePablo Saratxaga2005-03-111-32/+24 * fix kde mergeThierry Vignaud2005-03-101-1/+1 * further merge with KDEThierry Vignaud2005-03-101-7/+7 * remove duplicated stringThierry Vignaud2005-03-101-8/+0 * remove uneeded stringThierry Vignaud2005-03-101-4/+0 * merge in new stringsThierry Vignaud2005-03-101-0/+112 * Added translation for "recommended" stringPablo Saratxaga2005-03-031-4304/+4999 * updated pot filePablo Saratxaga2004-10-071-5286/+6432 * updated Welsh filePablo Saratxaga2004-06-141-1932/+1980 * updated Welsh and Norwegian filesPablo Saratxaga2004-04-191-1146/+1142 * updateThierry Vignaud2004-03-231-3286/+3856 * updated pot filePablo Saratxaga2004-02-191-14347/+17208 * fixed my previous bad entriesPablo Saratxaga2003-12-031-421/+756 * updated pot filePablo Saratxaga2003-09-181-410/+487 * updated pot filePablo Saratxaga2003-09-121-2470/+2608 * updated pot filePablo Saratxaga2003-08-131-1708/+2419 * changed the name of the russian phonetic layoutPablo Saratxaga2003-05-311-145/+258 * updated pot filePablo Saratxaga2003-05-161-13483/+13572 * updated Japanese file; updated pot filePablo Saratxaga2003-03-241-6/+11 * updated Welsh, Estonian and Hebrew filesPablo Saratxaga2003-03-121-655/+305 * updated pot filePablo Saratxaga2003-03-091-232/+232 * iupdated Vietnamese, Estonian and Dutch files;Pablo Saratxaga2003-03-071-1/+1 * updated pot filePablo Saratxaga2003-03-071-482/+663 * updated pot filePablo Saratxaga2003-02-281-1458/+1519 * simplify translator job by propaging pixel english typo fixThierry Vignaud2003-02-17