update to use new module system

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5743 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Linas Vepstas 2001-10-29 18:52:11 +00:00
parent 370f45f997
commit d5fe2f200b

View File

@ -1,3 +1,5 @@
SUBDIRS = examples
SWIG = swig
@ -16,7 +18,7 @@ libgncswig_la_SOURCES = \
helperfuncs.c \
gnucash-engine-perl5_wrap.c
libgncswig_la_LDFLAGS = -version-info 1:2:1
libgncswig_la_LDFLAGS = -version-info 2:0:2
noinst_HEADERS = \
helperfuncs.h
@ -37,7 +39,8 @@ AM_CFLAGS = \
# we need to specify the inlcude path for glibconfig.h, and so this is the way
libgncswig_la_LIBADD = \
-lgncengine -lxml -lgnc_postgres \
-L${prefix}/lib/gnucash \
-lgncmod-engine -lxml \
${GLIB_LIBS}
@ -52,7 +55,8 @@ SWIG_INPUT_HDRS := \
${top_srcdir}/src/engine/date.h \
${top_srcdir}/src/engine/gnc-book.h \
${top_srcdir}/src/engine/gnc-engine.h \
${top_srcdir}/src/engine/gnc-numeric.h
${top_srcdir}/src/engine/gnc-numeric.h \
${top_srcdir}/src/engine/gnc-session.h
## This is kinda ugly, but swig insists that the .so file be named the
## same as the .pm file, and automake won't tolerate libraries that