Revision: 719 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=719&view=rev Author: hyperair Date: 2009-06-14 15:04:54 +0000 (Sun, 14 Jun 2009)
Log Message: ----------- Abstract out common definitions into build/vars.mk
Modified Paths: -------------- trunk/geany-plugins/addons/src/Makefile.am trunk/geany-plugins/geanygdb/src/Makefile.am
Added Paths: ----------- trunk/geany-plugins/build/ trunk/geany-plugins/build/vars.mk
Modified: trunk/geany-plugins/addons/src/Makefile.am =================================================================== --- trunk/geany-plugins/addons/src/Makefile.am 2009-06-14 15:01:22 UTC (rev 718) +++ trunk/geany-plugins/addons/src/Makefile.am 2009-06-14 15:04:54 UTC (rev 719) @@ -1,3 +1,5 @@ +include $(top_srcdir)/build/vars.mk + geanyplugins_LTLIBRARIES = \ addons.la
@@ -15,8 +17,7 @@
addons_la_CFLAGS = \ $(AM_CFLAGS) \ - $(GEANY_CFLAGS) \ - -DLOCALEDIR="$(LOCALEDIR)" + $(GEANY_CFLAGS)
addons_la_LIBADD = \ $(GEANY_LIBS)
Added: trunk/geany-plugins/build/vars.mk =================================================================== --- trunk/geany-plugins/build/vars.mk (rev 0) +++ trunk/geany-plugins/build/vars.mk 2009-06-14 15:04:54 UTC (rev 719) @@ -0,0 +1,3 @@ +AM_CFLAGS = \ + -DLOCALEDIR=""$(LOCALEDIR)"" \ + -DLIBDIR=""$(LIBDIR)""
Modified: trunk/geany-plugins/geanygdb/src/Makefile.am =================================================================== --- trunk/geany-plugins/geanygdb/src/Makefile.am 2009-06-14 15:01:22 UTC (rev 718) +++ trunk/geany-plugins/geanygdb/src/Makefile.am 2009-06-14 15:04:54 UTC (rev 719) @@ -1,3 +1,5 @@ +include $(top_srcdir)/build/vars.mk + geanyplugins_LTLIBRARIES = geanygdb.la
geanygdb_la_SOURCES = \ @@ -22,9 +24,7 @@
geanygdb_la_CFLAGS = \ $(AM_CFLAGS) \ - $(GEANY_CFLAGS) \ - -DLOCALEDIR=""$(LOCALEDIR)"" \ - -DLIBDIR=""$(libdir)"" + $(GEANY_CFLAGS)
geanygdb_la_LIBADD = \ $(GEANY_LIBS)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.