Revision: 718 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=718&view=rev Author: hyperair Date: 2009-06-14 15:01:22 +0000 (Sun, 14 Jun 2009)
Log Message: ----------- Fix up geanygdb into the common build system
Modified Paths: -------------- trunk/geany-plugins/Makefile.am trunk/geany-plugins/autogen.sh trunk/geany-plugins/configure.ac
Added Paths: ----------- trunk/geany-plugins/geanygdb/Makefile.am trunk/geany-plugins/geanygdb/build/ trunk/geany-plugins/geanygdb/build/plugin.m4 trunk/geany-plugins/geanygdb/src/Makefile.am
Modified: trunk/geany-plugins/Makefile.am =================================================================== --- trunk/geany-plugins/Makefile.am 2009-06-14 14:58:18 UTC (rev 717) +++ trunk/geany-plugins/Makefile.am 2009-06-14 15:01:22 UTC (rev 718) @@ -1,5 +1,7 @@ -ACLOCAL_AMFLAGS = -I m4 -I addons/build +plugins = addons geanygdb
+ACLOCAL_AMFLAGS = -I m4 -I addons/build -I geanygdb/build --install + SUBDIRS = \ po \ - addons + $(plugins)
Modified: trunk/geany-plugins/autogen.sh =================================================================== --- trunk/geany-plugins/autogen.sh 2009-06-14 14:58:18 UTC (rev 717) +++ trunk/geany-plugins/autogen.sh 2009-06-14 15:01:22 UTC (rev 718) @@ -1,4 +1,7 @@ #!/bin/sh
-intltoolize -cf +mkdir -p m4 autoreconf -vfi +intltoolize -c -f + +./configure "$@"
Modified: trunk/geany-plugins/configure.ac =================================================================== --- trunk/geany-plugins/configure.ac 2009-06-14 14:58:18 UTC (rev 717) +++ trunk/geany-plugins/configure.ac 2009-06-14 15:01:22 UTC (rev 718) @@ -23,11 +23,17 @@
dnl common checks PKG_CHECK_MODULES([GEANY], [geany >= 0.16]) -geanypluginsdir=`${PKG_CONFIG} --variable=libdir geany}`/geany +geanypluginsdir=`${PKG_CONFIG} --variable=libdir geany`/geany +echo ${geanypluginsdir} AC_SUBST([geanypluginsdir])
+PKG_CHECK_MODULES([CHECK], [check >= 0.9.4], + [AM_CONDITIONAL(UNITTESTS, true)], + [AM_CONDITIONAL(UNITTESTS, false)]) + dnl plugin checks GP_CHECK_ADDONS +GP_CHECK_GEANYGDB
AC_CONFIG_FILES([ Makefile
Added: trunk/geany-plugins/geanygdb/Makefile.am =================================================================== --- trunk/geany-plugins/geanygdb/Makefile.am (rev 0) +++ trunk/geany-plugins/geanygdb/Makefile.am 2009-06-14 15:01:22 UTC (rev 718) @@ -0,0 +1 @@ +SUBDIRS = src tests
Added: trunk/geany-plugins/geanygdb/build/plugin.m4 =================================================================== --- trunk/geany-plugins/geanygdb/build/plugin.m4 (rev 0) +++ trunk/geany-plugins/geanygdb/build/plugin.m4 2009-06-14 15:01:22 UTC (rev 718) @@ -0,0 +1,8 @@ +AC_DEFUN([GP_CHECK_GEANYGDB], +[ + AC_CONFIG_FILES([ + geanygdb/Makefile + geanygdb/src/Makefile + geanygdb/tests/Makefile + ]) +])
Added: trunk/geany-plugins/geanygdb/src/Makefile.am =================================================================== --- trunk/geany-plugins/geanygdb/src/Makefile.am (rev 0) +++ trunk/geany-plugins/geanygdb/src/Makefile.am 2009-06-14 15:01:22 UTC (rev 718) @@ -0,0 +1,32 @@ +geanyplugins_LTLIBRARIES = geanygdb.la + +geanygdb_la_SOURCES = \ + gdb-io.h \ + gdb-io-priv.h \ + gdb-lex.h \ + gdb-ui.h \ + gdb-ui-envir.c \ + geanydebug.c \ + gdb-io-break.c \ + gdb-lex.c \ + gdb-ui-frame.c \ + gdb-ui-main.c \ + gdb-io-frame.c \ + gdb-io-run.c \ + ttyhelper.c \ + gdb-io-read.c \ + gdb-ui-break.c \ + gdb-io-envir.c \ + gdb-io-stack.c \ + gdb-ui-locn.c + +geanygdb_la_CFLAGS = \ + $(AM_CFLAGS) \ + $(GEANY_CFLAGS) \ + -DLOCALEDIR=""$(LOCALEDIR)"" \ + -DLIBDIR=""$(libdir)"" + +geanygdb_la_LIBADD = \ + $(GEANY_LIBS) + +geanygdb_la_LDFLAGS = -module -avoid-version
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
plugins-commits@lists.geany.org