1
by David Pashley
Import upstream version 0.8.10 |
1 |
moduledir = $(libdir)/irssi/modules |
2 |
||
3 |
perl_dirs = common irc ui textui |
|
4 |
||
5 |
module_LTLIBRARIES = $(perl_module_lib) $(perl_module_fe_lib) |
|
6 |
noinst_LTLIBRARIES = $(perl_static_lib) $(perl_static_fe_lib) |
|
7 |
EXTRA_LTLIBRARIES = \ |
|
8 |
libperl_core.la libfe_perl.la \
|
|
9 |
libperl_core_static.la libfe_perl_static.la |
|
10 |
||
11 |
libperl_core_la_LDFLAGS = -module -avoid-version -rpath $(moduledir) |
|
12 |
libfe_perl_la_LDFLAGS = -module -avoid-version -rpath $(moduledir) |
|
13 |
||
1.1.3
by Andres Rodriguez
Import upstream version 0.8.13 |
14 |
perl-core.lo: irssi-core.pl.h |
15 |
perl-signals.lo: perl-signals-list.h |
|
1
by David Pashley
Import upstream version 0.8.10 |
16 |
|
1.2.5
by Rhonda D'Vine
Import upstream version 0.8.17~rc1 |
17 |
AM_CPPFLAGS = \ |
1
by David Pashley
Import upstream version 0.8.10 |
18 |
-I$(top_srcdir)/src \ |
19 |
-I$(top_srcdir)/src/core \ |
|
20 |
-I$(top_srcdir)/src/fe-common/core \ |
|
21 |
$(GLIB_CFLAGS) \ |
|
22 |
-DSCRIPTDIR=\""$(datadir)/irssi/scripts"\" \ |
|
23 |
-DPERL_USE_LIB=\""$(PERL_USE_LIB)"\" \ |
|
24 |
-DPERL_STATIC_LIBS=$(PERL_STATIC_LIBS) \ |
|
25 |
$(PERL_CFLAGS) |
|
26 |
||
27 |
perl_sources = \ |
|
28 |
perl-core.c \
|
|
29 |
perl-common.c \
|
|
30 |
perl-signals.c \
|
|
31 |
perl-sources.c |
|
32 |
||
33 |
perl_fe_sources = \ |
|
34 |
module-formats.c \
|
|
35 |
perl-fe.c |
|
36 |
||
37 |
noinst_HEADERS = \ |
|
38 |
module.h \
|
|
39 |
module-fe.h \
|
|
40 |
module-formats.h \
|
|
41 |
perl-core.h \
|
|
42 |
perl-common.h \
|
|
43 |
perl-signals.h \
|
|
44 |
perl-sources.h |
|
45 |
||
46 |
libperl_core_la_SOURCES = \ |
|
47 |
$(perl_sources) |
|
48 |
||
49 |
libperl_core_static_la_SOURCES = \ |
|
50 |
$(perl_sources) |
|
51 |
||
52 |
libfe_perl_la_SOURCES = \ |
|
53 |
$(perl_fe_sources) |
|
54 |
||
55 |
libfe_perl_static_la_SOURCES = \ |
|
56 |
$(perl_fe_sources) |
|
57 |
||
58 |
perl-signals-list.h: $(top_srcdir)/docs/signals.txt $(srcdir)/get-signals.pl |
|
59 |
cat $(top_srcdir)/docs/signals.txt | $(perlpath) $(srcdir)/get-signals.pl > perl-signals-list.h |
|
60 |
||
61 |
irssi-core.pl.h: irssi-core.pl |
|
62 |
$(top_srcdir)/file2header.sh $(srcdir)/irssi-core.pl irssi_core_code > irssi-core.pl.h |
|
63 |
||
64 |
common_sources = \ |
|
65 |
common/Irssi.xs \
|
|
66 |
common/Irssi.pm \
|
|
67 |
common/Channel.xs \
|
|
68 |
common/Core.xs \
|
|
69 |
common/Expando.xs \
|
|
70 |
common/Ignore.xs \
|
|
71 |
common/Log.xs \
|
|
72 |
common/Masks.xs \
|
|
73 |
common/Query.xs \
|
|
74 |
common/Rawlog.xs \
|
|
75 |
common/Server.xs \
|
|
76 |
common/Settings.xs \
|
|
77 |
common/Makefile.PL.in \
|
|
78 |
common/typemap \
|
|
79 |
common/module.h |
|
80 |
||
81 |
irc_sources = \ |
|
82 |
irc/Irc.xs \
|
|
83 |
irc/Irc.pm \
|
|
84 |
irc/Dcc.xs \
|
|
85 |
irc/Channel.xs \
|
|
86 |
irc/Ctcp.xs \
|
|
87 |
irc/Query.xs \
|
|
88 |
irc/Server.xs \
|
|
89 |
irc/Modes.xs \
|
|
90 |
irc/Netsplit.xs \
|
|
91 |
irc/Notifylist.xs \
|
|
1.1.3
by Andres Rodriguez
Import upstream version 0.8.13 |
92 |
irc/Client.xs \
|
1
by David Pashley
Import upstream version 0.8.10 |
93 |
irc/Makefile.PL.in \
|
94 |
irc/typemap \
|
|
95 |
irc/module.h |
|
96 |
||
97 |
ui_sources = \ |
|
98 |
ui/UI.xs \
|
|
99 |
ui/UI.pm \
|
|
100 |
ui/Formats.xs \
|
|
101 |
ui/Themes.xs \
|
|
102 |
ui/Window.xs \
|
|
103 |
ui/Makefile.PL.in \
|
|
104 |
ui/typemap \
|
|
105 |
ui/module.h |
|
106 |
||
107 |
textui_sources = \ |
|
108 |
textui/TextUI.xs \
|
|
109 |
textui/TextUI.pm \
|
|
110 |
textui/TextBuffer.xs \
|
|
111 |
textui/TextBufferView.xs \
|
|
112 |
textui/Statusbar.xs \
|
|
113 |
textui/Makefile.PL.in \
|
|
114 |
textui/typemap \
|
|
115 |
textui/module.h |
|
116 |
||
117 |
EXTRA_DIST = \ |
|
118 |
get-signals.pl \
|
|
119 |
irssi-core.pl \
|
|
120 |
$(common_sources) \ |
|
121 |
$(irc_sources) \ |
|
122 |
$(ui_sources) \ |
|
123 |
$(textui_sources) |
|
124 |
||
125 |
all-local: |
|
126 |
for dir in $(perl_dirs); do \ |
|
127 |
cd $$dir && \ |
|
128 |
if [ ! -f Makefile ]; then \
|
|
129 |
$(perlpath) Makefile.PL $(PERL_MM_PARAMS); \
|
|
130 |
fi && \
|
|
131 |
($(MAKE) CC="$(CC)" CCFLAGS="$(PERL_CFLAGS) $(CFLAGS)" $(PERL_EXTRA_OPTS) || \
|
|
132 |
$(MAKE) CC="$(CC)" CCFLAGS="$(PERL_CFLAGS) $(CFLAGS)" $(PERL_EXTRA_OPTS)) && \
|
|
133 |
cd ..; \
|
|
134 |
done
|
|
135 |
||
136 |
install-exec-local: |
|
137 |
for dir in $(perl_dirs); do \ |
|
138 |
cd $$dir && $(MAKE) install && cd ..; \ |
|
139 |
done
|
|
140 |
||
141 |
clean-generic: |
|
142 |
for dir in $(perl_dirs); do \ |
|
143 |
cd $$dir; \ |
|
144 |
$(MAKE) clean; \ |
|
145 |
cd ..; \ |
|
146 |
done
|
|
147 |
||
148 |
distclean-generic: |
|
149 |
for dir in $(perl_dirs); do \ |
|
150 |
cd $$dir; \ |
|
151 |
$(MAKE) realclean; rm -f Makefile.PL Makefile; \ |
|
152 |
cd ..; \ |
|
153 |
done
|
|
154 |
||
155 |
libperl_core_la_LIBADD = $(PERL_LDFLAGS) |