blob: 1438c915ee2ce1a8ad1ea1b550b74ed24d42a195 (
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
50
51
52
53
54
55
56
|
# bug-reporting-wizard binary
bin_PROGRAMS = bug-reporting-wizard
bug_reporting_wizard_SOURCES = \
wizard.h wizard.c \
main.c \
wizard_glade.c
# -Wl,--export-dynamic and lgmodule-2.0
# is required for gtk_builder_connect_signals() to work correctly
bug_reporting_wizard_CFLAGS = \
-I$(srcdir)/../include/report -I$(srcdir)/../include \
-I$(srcdir)/../lib \
-DBIN_DIR=\"$(bindir)\" \
-DVAR_RUN=\"$(VAR_RUN)\" \
-DCONF_DIR=\"$(CONF_DIR)\" \
-DDATA_DIR=\"$(datadir)\" \
-DDEBUG_DUMPS_DIR=\"$(DEBUG_DUMPS_DIR)\" \
-DPLUGINS_LIB_DIR=\"$(PLUGINS_LIB_DIR)\" \
-DPLUGINS_CONF_DIR=\"$(PLUGINS_CONF_DIR)\" \
-DICON_DIR=\"${datadir}/abrt/icons/hicolor/48x48/status\" \
$(GTK_CFLAGS) \
-D_GNU_SOURCE \
-g \
-Wl,--export-dynamic \
-Wall -Werror
bug_reporting_wizard_LDADD = \
../lib/libreport.la \
../lib/libabrt_dbus.la \
-lglib-2.0 \
-lgthread-2.0 \
-lgmodule-2.0 \
$(GTK_LIBS)
# we don't want to install it, just make it part of tarball
# created by make dist
GLADE_FILES = wizard.glade
#pkgdata_DATA = $(GLADE_FILES)
EXTRA_DIST = $(GLADE_FILES)
# For internal glade file storage in the binary:
wizard.c: wizard_glade.c
wizard_glade.c: wizard.glade
{ \
echo '#define WIZARD_GLADE_CONTENTS "\'; \
cat $(srcdir)/wizard.glade | sed -e 's/"/\\"/g' -e 's/?/\\?/g' -e 's/$$/\\/g'; \
echo '"'; \
} >wizard_glade.c
DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
@INTLTOOL_DESKTOP_RULE@
|