diff options
author | Michael 'Mickey' Lauer <mickey@vanille-media.de> | 2010-04-03 19:05:00 +0200 |
---|---|---|
committer | Michael 'Mickey' Lauer <mickey@vanille-media.de> | 2010-04-03 19:05:00 +0200 |
commit | 5a72f76bfc0f91dae7cbad2a1bcfc30610635898 (patch) | |
tree | 39983baed63d7399b7c552221faaf9f2a00ecb32 /fsousaged | |
parent | eb075d098faa26d79b5a527b893d33eb0120f26e (diff) | |
download | cornucopia-5a72f76bfc0f91dae7cbad2a1bcfc30610635898.tar.gz cornucopia-5a72f76bfc0f91dae7cbad2a1bcfc30610635898.tar.bz2 cornucopia-5a72f76bfc0f91dae7cbad2a1bcfc30610635898.zip |
fsousaged: fix debug build
Diffstat (limited to 'fsousaged')
-rw-r--r-- | fsousaged/configure.ac | 8 | ||||
-rw-r--r-- | fsousaged/src/plugins/dbus_service/Makefile.am | 7 | ||||
-rw-r--r-- | fsousaged/src/plugins/lowlevel_kernel26/Makefile.am | 7 | ||||
-rw-r--r-- | fsousaged/src/plugins/lowlevel_kernel26_staysalive/Makefile.am | 7 | ||||
-rw-r--r-- | fsousaged/src/plugins/lowlevel_openmoko/Makefile.am | 7 |
5 files changed, 31 insertions, 5 deletions
diff --git a/fsousaged/configure.ac b/fsousaged/configure.ac index 30b939c0..50d4c1b2 100644 --- a/fsousaged/configure.ac +++ b/fsousaged/configure.ac @@ -1,4 +1,4 @@ -AC_INIT([fsousaged], [0.9.3], [smartphones-userland@linuxtogo.org], [fsousaged]) +AC_INIT([fsousaged], [0.9.4], [smartphones-userland@linuxtogo.org], [fsousaged]) AC_CONFIG_SRCDIR([Makefile.am]) AC_CONFIG_HEADERS(config.h) AM_INIT_AUTOMAKE([dist-bzip2]) @@ -79,6 +79,12 @@ PKG_CHECK_MODULES(FSO, AC_SUBST(FSO_CFLAGS) AC_SUBST(FSO_LIBS) +# check for debugging +AC_ARG_ENABLE(debug, + [ --enable-debug Enable debug build (default=disabled)], + debug="yes", debug="no") +AM_CONDITIONAL( [WANT_DEBUG], [test x"$debug" = x"yes"]) + # git version GITV=`cat ../.git/refs/heads/master || echo "unknown"` AC_DEFINE_UNQUOTED([PACKAGE_GITV], ["${GITV}"], [git version]) diff --git a/fsousaged/src/plugins/dbus_service/Makefile.am b/fsousaged/src/plugins/dbus_service/Makefile.am index 9bd3baea..893cc636 100644 --- a/fsousaged/src/plugins/dbus_service/Makefile.am +++ b/fsousaged/src/plugins/dbus_service/Makefile.am @@ -2,7 +2,7 @@ include $(top_srcdir)/Makefile.decl NULL = -AM_CPPFLAGS = \ +AM_CFLAGS = \ -I$(top_srcdir)/src/lib \ $(DBUS_CFLAGS) \ $(GEE_CFLAGS) \ @@ -30,6 +30,11 @@ VALAC_ARGS = \ --pkg fso-glib-1.0 \ --pkg fsousage-2.0 +if WANT_DEBUG +VALAC_ARGS += -g -D DEBUG +AM_CFLAGS += -ggdb -O0 +endif + # # plugin # diff --git a/fsousaged/src/plugins/lowlevel_kernel26/Makefile.am b/fsousaged/src/plugins/lowlevel_kernel26/Makefile.am index cef58e7c..fbe774ed 100644 --- a/fsousaged/src/plugins/lowlevel_kernel26/Makefile.am +++ b/fsousaged/src/plugins/lowlevel_kernel26/Makefile.am @@ -2,7 +2,7 @@ include $(top_srcdir)/Makefile.decl NULL = -AM_CPPFLAGS = \ +AM_CFLAGS = \ -I$(top_srcdir)/src/lib \ $(GEE_CFLAGS) \ $(FSO_CFLAGS) \ @@ -29,6 +29,11 @@ VALAC_ARGS = \ --pkg fso-glib-1.0 \ --pkg fsousage-2.0 +if WANT_DEBUG +VALAC_ARGS += -g -D DEBUG +AM_CFLAGS += -ggdb -O0 +endif + # # plugin # diff --git a/fsousaged/src/plugins/lowlevel_kernel26_staysalive/Makefile.am b/fsousaged/src/plugins/lowlevel_kernel26_staysalive/Makefile.am index 0f27b4bb..7b2fc67c 100644 --- a/fsousaged/src/plugins/lowlevel_kernel26_staysalive/Makefile.am +++ b/fsousaged/src/plugins/lowlevel_kernel26_staysalive/Makefile.am @@ -2,7 +2,7 @@ include $(top_srcdir)/Makefile.decl NULL = -AM_CPPFLAGS = \ +AM_CFLAGS = \ -I$(top_srcdir)/src/lib \ $(GEE_CFLAGS) \ $(FSO_CFLAGS) \ @@ -29,6 +29,11 @@ VALAC_ARGS = \ --pkg fso-glib-1.0 \ --pkg fsousage-2.0 +if WANT_DEBUG +VALAC_ARGS += -g -D DEBUG +AM_CFLAGS += -ggdb -O0 +endif + # # plugin # diff --git a/fsousaged/src/plugins/lowlevel_openmoko/Makefile.am b/fsousaged/src/plugins/lowlevel_openmoko/Makefile.am index 3d87bf94..499220de 100644 --- a/fsousaged/src/plugins/lowlevel_openmoko/Makefile.am +++ b/fsousaged/src/plugins/lowlevel_openmoko/Makefile.am @@ -2,7 +2,7 @@ include $(top_srcdir)/Makefile.decl NULL = -AM_CPPFLAGS = \ +AM_CFLAGS = \ -I$(top_srcdir)/src/lib \ $(GEE_CFLAGS) \ $(FSO_CFLAGS) \ @@ -29,6 +29,11 @@ VALAC_ARGS = \ --pkg fso-glib-1.0 \ --pkg fsousage-2.0 +if WANT_DEBUG +VALAC_ARGS += -g -D DEBUG +AM_CFLAGS += -ggdb -O0 +endif + # # plugin # |