ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/Makefile.PL
(Generate patch)

Comparing deliantra/Deliantra-Client/Makefile.PL (file contents):
Revision 1.120 by root, Fri Dec 4 14:18:17 2009 UTC vs.
Revision 1.130 by root, Sun Nov 18 01:43:12 2018 UTC

1use Config; 1use Config;
2use ExtUtils::CXX;
2use ExtUtils::MakeMaker; 3use ExtUtils::MakeMaker;
3 4
4my $lddlflags = $Config{lddlflags}; 5my $lddlflags = $Config{lddlflags};
5 6
6sub manifest_resources { 7sub manifest_resources {
50 51
51 # for extra horrid macosx joys 52 # for extra horrid macosx joys
52 $lddlflags .= " $1" while $LIBS =~ s/ (-Wl,\S+) / /; 53 $lddlflags .= " $1" while $LIBS =~ s/ (-Wl,\S+) / /;
53} 54}
54 55
56extutils_cxx {
55WriteMakefile( 57 WriteMakefile(
56 dist => { 58 dist => {
57 PREOP => 'pod2text bin/deliantra | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;', 59 PREOP => 'pod2text bin/deliantra | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;',
58 COMPRESS => 'gzip -9v', 60 COMPRESS => 'gzip -9v',
59 SUFFIX => '.gz', 61 SUFFIX => '.gz',
60 }, 62 },
61 NAME => "Deliantra::Client", 63 NAME => "Deliantra::Client",
62 INC => $INC, 64 INC => $INC,
63 LIBS => [$LIBS], 65 LIBS => [$LIBS],
64 LDDLFLAGS => $lddlflags, 66 LDDLFLAGS => $lddlflags,
65 EXE_FILES => [qw(bin/deliantra)], 67 EXE_FILES => [qw(bin/deliantra)],
66 VERSION_FROM => "DC.pm", 68 VERSION_FROM => "DC.pm",
67 PREREQ_PM => { 69 PREREQ_PM => {
70 common::sense => 3.6,
68 BDB => 1.83, 71 BDB => 1.83,
69 Deliantra => 1.23, 72 Deliantra => 1.31,
70 Time::HiRes => 0, 73 Time::HiRes => 0,
71 EV => 3.42, 74 EV => 3.42,
72 Guard => 1, 75 Guard => 1,
73 AnyEvent => 4.331, 76 AnyEvent => 4.331,
74 Compress::LZF => 3.41, 77 Compress::LZF => 3.41,
75 Pod::POM => 0.15, 78 Pod::POM => 0.27,
76 LWP => 0, 79 LWP => 0,
77 JSON::XS => 2.2222, 80 JSON::XS => 2.2222,
81 IO::AIO => 4,
82 AnyEvent::AIO => 1,
83 Coro => 6,
84 Coro::EV => 0,
85 Urlader => 1,
78 }, 86 },
79 depend => { 87 depend => {
80 "Client.o" => 'glfunc.h pangoopengl.h pango-font.c pango-fontmap.c pango-render.c texcache.c rendercache.c', 88 "Client.o" => 'glfunc.h pangoopengl.h pango-font.c pango-fontmap.c pango-render.c texcache.c rendercache.c',
81 }, 89 },
82 clean => { FILES => 'docwiki.pst' }, 90 clean => { FILES => 'docwiki.pst' },
83 PM => { 91 PM => {
92 'Client.pm' => '$(INST_LIBDIR)/Client.pm',
84 'DC.pm' => '$(INST_LIBDIR)/Client/private/DC.pm', 93 'DC.pm' => '$(INST_LIBDIR)/Client/private/DC.pm',
94 'DC/Main.pm' => '$(INST_LIBDIR)/Client/private/DC/Main.pm',
85 'DC/Protocol.pm' => '$(INST_LIBDIR)/Client/private/DC/Protocol.pm', 95 'DC/Protocol.pm' => '$(INST_LIBDIR)/Client/private/DC/Protocol.pm',
96 'DC/Audio.pm' => '$(INST_LIBDIR)/Client/private/DC/Audio.pm',
86 'DC/OpenGL.pm' => '$(INST_LIBDIR)/Client/private/DC/OpenGL.pm', 97 'DC/OpenGL.pm' => '$(INST_LIBDIR)/Client/private/DC/OpenGL.pm',
87 'DC/Texture.pm' => '$(INST_LIBDIR)/Client/private/DC/Texture.pm', 98 'DC/Texture.pm' => '$(INST_LIBDIR)/Client/private/DC/Texture.pm',
88 'DC/DB.pm' => '$(INST_LIBDIR)/Client/private/DC/DB.pm', 99 'DC/DB.pm' => '$(INST_LIBDIR)/Client/private/DC/DB.pm',
89 'DC/UI.pm' => '$(INST_LIBDIR)/Client/private/DC/UI.pm', 100 'DC/UI.pm' => '$(INST_LIBDIR)/Client/private/DC/UI.pm',
90 'DC/MessageDistributor.pm' => '$(INST_LIBDIR)/Client/private/DC/MessageDistributor.pm', 101 'DC/MessageDistributor.pm' => '$(INST_LIBDIR)/Client/private/DC/MessageDistributor.pm',
91 'DC/UI/Canvas.pm' => '$(INST_LIBDIR)/Client/private/DC/UI/Canvas.pm', 102 'DC/UI/Canvas.pm' => '$(INST_LIBDIR)/Client/private/DC/UI/Canvas.pm',
92 'DC/UI/Dockable.pm' => '$(INST_LIBDIR)/Client/private/DC/UI/Dockable.pm', 103 'DC/UI/Dockable.pm' => '$(INST_LIBDIR)/Client/private/DC/UI/Dockable.pm',
93 'DC/UI/Dockbar.pm' => '$(INST_LIBDIR)/Client/private/DC/UI/Dockbar.pm', 104 'DC/UI/Dockbar.pm' => '$(INST_LIBDIR)/Client/private/DC/UI/Dockbar.pm',
94 'DC/UI/Inventory.pm' => '$(INST_LIBDIR)/Client/private/DC/UI/Inventory.pm', 105 'DC/UI/Inventory.pm' => '$(INST_LIBDIR)/Client/private/DC/UI/Inventory.pm',
95 'DC/UI/SpellList.pm' => '$(INST_LIBDIR)/Client/private/DC/UI/SpellList.pm', 106 'DC/UI/SpellList.pm' => '$(INST_LIBDIR)/Client/private/DC/UI/SpellList.pm',
96 'DC/UI/Canvas.pm' => '$(INST_LIBDIR)/Client/private/DC/UI/Canvas.pm', 107 'DC/UI/Canvas.pm' => '$(INST_LIBDIR)/Client/private/DC/UI/Canvas.pm',
97 'DC/UI/ChatView.pm' => '$(INST_LIBDIR)/Client/private/DC/UI/ChatView.pm', 108 'DC/UI/ChatView.pm' => '$(INST_LIBDIR)/Client/private/DC/UI/ChatView.pm',
98 'DC/Item.pm' => '$(INST_LIBDIR)/Client/private/DC/Item.pm', 109 'DC/Item.pm' => '$(INST_LIBDIR)/Client/private/DC/Item.pm',
99 'DC/Pod.pm' => '$(INST_LIBDIR)/Client/private/DC/Pod.pm', 110 'DC/Pod.pm' => '$(INST_LIBDIR)/Client/private/DC/Pod.pm',
100 'DC/MapWidget.pm' => '$(INST_LIBDIR)/Client/private/DC/MapWidget.pm', 111 'DC/MapWidget.pm' => '$(INST_LIBDIR)/Client/private/DC/MapWidget.pm',
101 'DC/Macro.pm' => '$(INST_LIBDIR)/Client/private/DC/Macro.pm', 112 'DC/Macro.pm' => '$(INST_LIBDIR)/Client/private/DC/Macro.pm',
102 'docwiki.pst' => '$(INST_LIBDIR)/Client/private/resources/docwiki.pst', 113 'docwiki.pst' => '$(INST_LIBDIR)/Client/private/resources/docwiki.pst',
103 (map +($_ => "\$(INST_LIBDIR)/Client/private/$_"), manifest_resources), 114 (map +($_ => "\$(INST_LIBDIR)/Client/private/$_"), manifest_resources),
104 } 115 }
105); 116 );
117};
106 118
107sub MY::postamble { 119sub MY::postamble {
108 my $self = shift; 120 my $self = shift;
109 121
110 # try to add MANIFEST to CONFIGDEP 122 # try to add MANIFEST to CONFIGDEP

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines