From 714b54b9b80fbb1112d91cbe3abcaaa23c22c353 Mon Sep 17 00:00:00 2001 From: Christian Stimming Date: Mon, 29 Jul 2002 17:45:14 +0000 Subject: [PATCH] Make the Makefile better configurable. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7129 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/import-export/ofx/Makefile.am | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/import-export/ofx/Makefile.am b/src/import-export/ofx/Makefile.am index c8e1c12149..9e87a62f0a 100644 --- a/src/import-export/ofx/Makefile.am +++ b/src/import-export/ofx/Makefile.am @@ -1,5 +1,11 @@ SUBDIRS = . test +# FIXME: this ought to be a configure option +LIBOFX_PREFIX = /usr/local + +LIBOFX_LIBS = -L${LIBOFX_PREFIX}/lib -lofx -lstdc++ +LIBOFX_CFLAGS = -I${LIBOFX_PREFIX}/include + pkglib_LTLIBRARIES=libgncmod-ofx.la libgncmod_ofx_la_SOURCES = \ @@ -16,7 +22,7 @@ libgncmod_ofx_la_LIBADD = \ ${top_builddir}/src/engine/libgncmod-engine.la \ ${top_builddir}/src/import-export/libgncmod-generic-import.la \ ${GLIB_LIBS} \ - -lofx -lstdc++ + ${LIBOFX_LIBS} gncscmdir = ${GNC_SCM_INSTALL_DIR}/ofx @@ -35,7 +41,8 @@ AM_CFLAGS = \ -I${top_srcdir}/src/gnome \ -I${top_srcdir}/src/gnome-utils \ -I${top_srcdir}/src/import-export \ - ${GLIB_CFLAGS} + ${GLIB_CFLAGS} \ + ${LIBOFX_CFLAGS} EXTRA_DIST = \ .cvsignore