diff options
author | Jiri Moskovcak <jmoskovc@redhat.com> | 2011-06-08 17:27:42 +0200 |
---|---|---|
committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2011-06-08 17:27:42 +0200 |
commit | 0e74f780545b1aa8f6a5277b3cfdc9887c37ed5e (patch) | |
tree | b1249b7b96c908931f2c29f48f016da8be450429 /libreport/src/gui-wizard-gtk/Makefile.am | |
parent | 7ac32c68dea1fe0c6efa6ac9bb0e8ad8716d7f7d (diff) | |
download | abrt-0e74f780545b1aa8f6a5277b3cfdc9887c37ed5e.tar.gz abrt-0e74f780545b1aa8f6a5277b3cfdc9887c37ed5e.tar.xz abrt-0e74f780545b1aa8f6a5277b3cfdc9887c37ed5e.zip |
split libreport to a separate package
Diffstat (limited to 'libreport/src/gui-wizard-gtk/Makefile.am')
-rw-r--r-- | libreport/src/gui-wizard-gtk/Makefile.am | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/libreport/src/gui-wizard-gtk/Makefile.am b/libreport/src/gui-wizard-gtk/Makefile.am new file mode 100644 index 00000000..de8497ba --- /dev/null +++ b/libreport/src/gui-wizard-gtk/Makefile.am @@ -0,0 +1,61 @@ +# bug-reporting-wizard binary +bin_PROGRAMS = bug-reporting-wizard + +bug_reporting_wizard_SOURCES = \ + wizard.h wizard.c \ + main.c \ + wizard_glade.c + +# Required for gtk_builder_connect_signals() to work correctly: +# -g +# -Wl,--export-dynamic +bug_reporting_wizard_CFLAGS = \ + -I$(srcdir)/../include \ + -I$(srcdir)/../lib \ + -I$(srcdir)/../gtk-helpers \ + -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\" \ + $(GLIB_CFLAGS) \ + $(GTK_CFLAGS) \ + $(DBUS_CFLAGS) \ + -D_GNU_SOURCE \ + -Wall -Wwrite-strings -Werror + +# Required for gtk_builder_connect_signals() to work correctly: +# -lgmodule-2.0 +# -lgthread-2.0 +bug_reporting_wizard_LDADD = \ + ../lib/libreport.la \ + ../lib/libabrt_dbus.la \ + ../gtk-helpers/libreport-gtk.la \ + $(GLIB_LIBS) \ + $(GTK_LIBS) \ + $(DBUS_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@ |