1 |
use ExtUtils::MakeMaker; |
2 |
|
3 |
print <<EOF; |
4 |
|
5 |
*** microsoft compatibility forced us to only support manual configuration |
6 |
*** by editing Makefile.PL. complain to microsoft. |
7 |
|
8 |
EOF |
9 |
|
10 |
WriteMakefile( |
11 |
dist => { |
12 |
PREOP => 'pod2text CFClient.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;', |
13 |
COMPRESS => 'gzip -9v', |
14 |
SUFFIX => '.gz', |
15 |
}, |
16 |
NAME => "CFClient", |
17 |
INC => '-I/usr/include/SDL -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2', |
18 |
LIBS => ["-lSDL -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lfreetype -lz"], |
19 |
EXE_FILES => [qw(bin/pclient)], |
20 |
VERSION_FROM => "CFClient.pm", |
21 |
PM => { |
22 |
'CFClient.pm' => '$(INST_LIBDIR)/CFClient.pm', |
23 |
'CFClient/Widget.pm' => '$(INST_LIBDIR)/CFClient/Widget.pm', |
24 |
'resources/uifont.ttf' => '$(INST_LIBDIR)/CFClient/resources/uifont.ttf', |
25 |
'resources/uifontb.ttf' => '$(INST_LIBDIR)/CFClient/resources/uifontb.ttf', |
26 |
'resources/uifonti.ttf' => '$(INST_LIBDIR)/CFClient/resources/uifonti.ttf', |
27 |
'resources/uifontbi.ttf' => '$(INST_LIBDIR)/CFClient/resources/uifontbi.ttf', |
28 |
'resources/d1_bg.png' => '$(INST_LIBDIR)/CFClient/resources/d1_bg.png', |
29 |
'resources/d1_border_top.png' => '$(INST_LIBDIR)/CFClient/resources/d1_border_top.png', |
30 |
'resources/d1_border_bottom.png' => '$(INST_LIBDIR)/CFClient/resources/d1_border_bottom.png', |
31 |
'resources/d1_border_left.png' => '$(INST_LIBDIR)/CFClient/resources/d1_border_left.png', |
32 |
'resources/d1_border_right.png' => '$(INST_LIBDIR)/CFClient/resources/d1_border_right.png', |
33 |
} |
34 |
); |