mirror of
https://github.com/irssi/irssi.git
synced 2026-08-13 13:42:13 +02:00
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@172 dbcabf3a-b0e7-0310-adc4-f8d773084564
30 lines
723 B
Makefile
30 lines
723 B
Makefile
noinst_LTLIBRARIES = libperl.la
|
|
|
|
libperl_la_DEPENDENCIES = perl-signals.h
|
|
|
|
INCLUDES = $(GLIB_CFLAGS) \
|
|
-DPLUGINSDIR=\""$(libdir)/irssi/plugins"\" \
|
|
-DSCRIPTDIR=\""$(libdir)/irssi/scripts"\" \
|
|
$(PERL_CFLAGS) \
|
|
-I$(top_srcdir)/src \
|
|
-I$(top_srcdir)/src/core
|
|
|
|
libperl_la_SOURCES = \
|
|
irssi-perl.c \
|
|
xsinit.c
|
|
|
|
perl-signals.h: $(top_srcdir)/docs/signals.txt $(srcdir)/get-signals.pl
|
|
cat $(top_srcdir)/docs/signals.txt | $(perlpath) $(srcdir)/get-signals.pl > perl-signals.h
|
|
|
|
EXTRA_DIST = \
|
|
get-signals.pl \
|
|
xs/Irssi.xs \
|
|
xs/Irssi.pm \
|
|
xs/Makefile.PL.in \
|
|
xs/typemap
|
|
|
|
all-local:
|
|
cd xs && if [ ! -f Makefile ]; then $(perlpath) Makefile.PL; fi && $(MAKE) && cd ..
|
|
|
|
install-exec-local:
|
|
cd xs && make install && cd ..
|