mirror of
https://github.com/irssi/irssi.git
synced 2026-08-16 15:12:11 +02:00
/LOAD module tries to load "module_core" instead. If it wasn't found,
it fallbacks to "module" again. If it is found, it tries to load several other modules too, like irc_module, fe_module and fe_irc_module. Split perl module to perl_core and fe_perl. Removed "_common" from some fe_common modules. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1228 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
f1205c10e0
commit
abe4ddb52a
15 changed files with 250 additions and 104 deletions
|
|
@ -2,11 +2,14 @@ LIBTOOL = $(PERL_LIBTOOL)
|
|||
|
||||
moduledir = $(libdir)/irssi/modules
|
||||
|
||||
module_LTLIBRARIES = $(module_lib)
|
||||
noinst_LTLIBRARIES = $(static_lib)
|
||||
EXTRA_LTLIBRARIES = libperl.la libperl_static.la
|
||||
module_LTLIBRARIES = $(perl_module_lib) $(perl_module_fe_lib)
|
||||
noinst_LTLIBRARIES = $(perl_static_lib) $(perl_static_fe_lib)
|
||||
EXTRA_LTLIBRARIES = \
|
||||
libperl_core.la libfe_perl.la \
|
||||
libperl_static.la libfe_perl_static.la
|
||||
|
||||
libperl_la_LDFLAGS = -avoid-version -rpath $(moduledir)
|
||||
libperl_core_la_LDFLAGS = -avoid-version -rpath $(moduledir)
|
||||
libfe_perl_la_LDFLAGS = -avoid-version -rpath $(moduledir)
|
||||
|
||||
perl.c: perl-signals-list.h
|
||||
|
||||
|
|
@ -22,7 +25,9 @@ perl_sources = \
|
|||
perl-signals.c \
|
||||
xsinit.c
|
||||
|
||||
libperl_la_DEPENDENCIES = .libs/libperl_orig.a .libs/DynaLoader.a
|
||||
perl_fe_sources = perl-fe.c
|
||||
|
||||
libperl_core_la_DEPENDENCIES = .libs/libperl_orig.a .libs/DynaLoader.a
|
||||
|
||||
.libs/libperl_orig.a:
|
||||
if [ ! -d .libs ]; then mkdir .libs; fi
|
||||
|
|
@ -33,12 +38,18 @@ libperl_la_DEPENDENCIES = .libs/libperl_orig.a .libs/DynaLoader.a
|
|||
rm -f .libs/DynaLoader.a
|
||||
$(LN_S) $(DYNALOADER_A) .libs/DynaLoader.a
|
||||
|
||||
libperl_la_SOURCES = \
|
||||
libperl_core_la_SOURCES = \
|
||||
$(perl_sources)
|
||||
|
||||
libperl_static_la_SOURCES = \
|
||||
$(perl_sources)
|
||||
|
||||
libfe_perl_la_SOURCES = \
|
||||
$(perl_fe_sources)
|
||||
|
||||
libfe_perl_static_la_SOURCES = \
|
||||
$(perl_fe_sources)
|
||||
|
||||
perl-signals-list.h: $(top_srcdir)/docs/signals.txt $(srcdir)/get-signals.pl
|
||||
cat $(top_srcdir)/docs/signals.txt | $(perlpath) $(srcdir)/get-signals.pl > perl-signals-list.h
|
||||
|
||||
|
|
@ -96,4 +107,4 @@ install-exec-local:
|
|||
clean-generic:
|
||||
rm -f common/Irssi.c irc/Irc.c
|
||||
|
||||
libperl_la_LIBADD = $(PERL_LDFLAGS)
|
||||
libperl_core_la_LIBADD = $(PERL_LDFLAGS)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue