summaryrefslogtreecommitdiffstats
path: root/src/report-python/Makefile.am
blob: c1b375969c9c2aab28ef342263e252e068aaed2b (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
pyreportexecdir = $(pyexecdir)/report

pyreportexec_PYTHON = \
    __init__.py \
    accountmanager.py

pyreportexec_LTLIBRARIES = _pyreport.la

_pyreport_la_SOURCES = \
    reportmodule.c \
    problem_data.c \
    dump_dir.c \
    run_event.c \
    report.c \
    common.h
_pyreport_la_CPPFLAGS = \
    -I$(srcdir)/../include/report -I$(srcdir)/../include \
    -DDEBUG_DUMPS_DIR=\"$(DEBUG_DUMPS_DIR)\" \
    -DPLUGINS_LIB_DIR=\"$(PLUGINS_LIB_DIR)\" \
    -DPLUGINS_CONF_DIR=\"$(PLUGINS_CONF_DIR)\" \
    -DLOCALSTATEDIR='"$(localstatedir)"' \
    -DCONF_DIR=\"$(CONF_DIR)\" \
    -DVAR_RUN=\"$(VAR_RUN)\" \
    $(GLIB_CFLAGS) \
    $(PYTHON_CFLAGS) \
    -D_GNU_SOURCE \
    -Wall -Wwrite-strings -Werror
_pyreport_la_LDFLAGS = \
    -module \
    -avoid-version \
    -export-symbols-regex init_pyreport
_pyreport_la_LIBADD = \
    ../lib/libreport.la

# report compat:

pyreportioexecdir = $(pyexecdir)/report/io

pyreportioexec_PYTHON = \
    io/__init__.py \
    io/GTKIO.py \
    io/NewtIO.py \
    io/TextIO.py