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.129 by root, Wed Dec 24 06:12:21 2014 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 => {
68 common::sense => 3.6, 70 common::sense => 3.6,
69 BDB => 1.83, 71 BDB => 1.83,
70 Deliantra => 1.31, 72 Deliantra => 1.31,
71 Time::HiRes => 0, 73 Time::HiRes => 0,
72 EV => 3.42, 74 EV => 3.42,
73 Guard => 1, 75 Guard => 1,
74 AnyEvent => 4.331, 76 AnyEvent => 4.331,
75 Compress::LZF => 3.41, 77 Compress::LZF => 3.41,
76 Pod::POM => 0.27, 78 Pod::POM => 0.27,
77 LWP => 0, 79 LWP => 0,
78 JSON::XS => 2.2222, 80 JSON::XS => 2.2222,
79 IO::AIO => 4, 81 IO::AIO => 4,
80 AnyEvent::AIO => 1, 82 AnyEvent::AIO => 1,
81 Coro => 6, 83 Coro => 6,
82 Coro::EV => 0, 84 Coro::EV => 0,
83 Urlader => 1, 85 Urlader => 1,
84 }, 86 },
85 depend => { 87 depend => {
86 "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',
87 }, 89 },
88 clean => { FILES => 'docwiki.pst' }, 90 clean => { FILES => 'docwiki.pst' },
89 PM => { 91 PM => {
90 'Client.pm' => '$(INST_LIBDIR)/Client.pm', 92 'Client.pm' => '$(INST_LIBDIR)/Client.pm',
91 'DC.pm' => '$(INST_LIBDIR)/Client/private/DC.pm', 93 'DC.pm' => '$(INST_LIBDIR)/Client/private/DC.pm',
92 'DC/Main.pm' => '$(INST_LIBDIR)/Client/private/DC/Main.pm', 94 'DC/Main.pm' => '$(INST_LIBDIR)/Client/private/DC/Main.pm',
93 'DC/Protocol.pm' => '$(INST_LIBDIR)/Client/private/DC/Protocol.pm', 95 'DC/Protocol.pm' => '$(INST_LIBDIR)/Client/private/DC/Protocol.pm',
94 'DC/Audio.pm' => '$(INST_LIBDIR)/Client/private/DC/Audio.pm', 96 'DC/Audio.pm' => '$(INST_LIBDIR)/Client/private/DC/Audio.pm',
95 'DC/OpenGL.pm' => '$(INST_LIBDIR)/Client/private/DC/OpenGL.pm', 97 'DC/OpenGL.pm' => '$(INST_LIBDIR)/Client/private/DC/OpenGL.pm',
96 'DC/Texture.pm' => '$(INST_LIBDIR)/Client/private/DC/Texture.pm', 98 'DC/Texture.pm' => '$(INST_LIBDIR)/Client/private/DC/Texture.pm',
97 'DC/DB.pm' => '$(INST_LIBDIR)/Client/private/DC/DB.pm', 99 'DC/DB.pm' => '$(INST_LIBDIR)/Client/private/DC/DB.pm',
98 'DC/UI.pm' => '$(INST_LIBDIR)/Client/private/DC/UI.pm', 100 'DC/UI.pm' => '$(INST_LIBDIR)/Client/private/DC/UI.pm',
99 'DC/MessageDistributor.pm' => '$(INST_LIBDIR)/Client/private/DC/MessageDistributor.pm', 101 'DC/MessageDistributor.pm' => '$(INST_LIBDIR)/Client/private/DC/MessageDistributor.pm',
100 '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',
101 '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',
102 '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',
103 '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',
104 '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',
105 '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',
106 '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',
107 'DC/Item.pm' => '$(INST_LIBDIR)/Client/private/DC/Item.pm', 109 'DC/Item.pm' => '$(INST_LIBDIR)/Client/private/DC/Item.pm',
108 'DC/Pod.pm' => '$(INST_LIBDIR)/Client/private/DC/Pod.pm', 110 'DC/Pod.pm' => '$(INST_LIBDIR)/Client/private/DC/Pod.pm',
109 'DC/MapWidget.pm' => '$(INST_LIBDIR)/Client/private/DC/MapWidget.pm', 111 'DC/MapWidget.pm' => '$(INST_LIBDIR)/Client/private/DC/MapWidget.pm',
110 'DC/Macro.pm' => '$(INST_LIBDIR)/Client/private/DC/Macro.pm', 112 'DC/Macro.pm' => '$(INST_LIBDIR)/Client/private/DC/Macro.pm',
111 'docwiki.pst' => '$(INST_LIBDIR)/Client/private/resources/docwiki.pst', 113 'docwiki.pst' => '$(INST_LIBDIR)/Client/private/resources/docwiki.pst',
112 (map +($_ => "\$(INST_LIBDIR)/Client/private/$_"), manifest_resources), 114 (map +($_ => "\$(INST_LIBDIR)/Client/private/$_"), manifest_resources),
113 } 115 }
114); 116 );
117};
115 118
116sub MY::postamble { 119sub MY::postamble {
117 my $self = shift; 120 my $self = shift;
118 121
119 # try to add MANIFEST to CONFIGDEP 122 # try to add MANIFEST to CONFIGDEP

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines