blob: 10345925f423f9d41614ae66f74c3fad393c82a2 (
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
48
49
|
moduledir = $(libdir)/irssi/modules
wrappersdir = $(datadir)/irssi/scripts
module_LTLIBRARIES = libpython.la
libpython_la_DEPENDENCIES = objects/libobjects.la
libpython_la_LIBADD = $(PYTHON_LDFLAGS) objects/libobjects.la
libpython_la_LDFLAGS = -avoid-version
INCLUDES = $(IRSSI_PYTHON_INCLUDES) \
-I$(top_srcdir)/src/objects \
-DSCRIPTDIR=\""$(datadir)/irssi/scripts"\"
libpython_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: pysigmap.h
pysigmap.h:
awk -f sig2code.awk $(IRSSI_DIST)/docs/signals.txt > pysigmap.h
constants: pyconstants.c
pyconstants.c:
awk -f constants.awk constants.txt > pyconstants.c
|