blob: 5a28039ad97f384ebe89dffbf616b84d094c2277 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
moduledir = $(libdir)/irssi/modules
wrappersdir = $(datadir)/irssi/scripts
module_LTLIBRARIES = libirssi_python.la
libirssi_python_la_DEPENDENCIES = objects/libobjects.la
libirssi_python_la_LIBADD = $(PYTHON_LDFLAGS) objects/libobjects.la
libirssi_python_la_LDFLAGS = -avoid-version
INCLUDES = $(IRSSI_PYTHON_INCLUDES) \
-I$(top_srcdir)/src/objects \
-DSCRIPTDIR=\""$(datadir)/irssi/scripts"\"
libirssi_python_la_SOURCES = \
pycore.c \
pyutils.c \
pymodule.c \
pyloader.c \
pysignals.c\
pysource.c \
pythemes.c \
pystatusbar.c \
pyconstants.c
noinst_HEADERS = \
pyconstants.h \
pycore.h \
pyirssi.h \
pyirssi_irc.h \
pyloader.h \
pymodule.h \
pysigmap.h \
pysignals.h \
pysource.h \
pystatusbar.h \
pythemes.h \
pyutils.h
wrappers_DATA = irssi.py irssi_startup.py
EXTRA_DIST = $(wrappers_DATA)
SUBDIRS = objects
signalmap:
awk -f sig2code.awk $(IRSSI_DIST)/docs/signals.txt > pysigmap.h
constants:
awk -f constants.awk constants.txt > pyconstants.c
|