
SUBDIRS = \
  doc \
  engine \
  calculation \
  experimental \
  register \
  guile \
  gnome \
  scm \
  quotes \
  pixmaps \
  optional \
  . \
  test

# Engine Makefile.am file.
bin_PROGRAMS = gnucash

# libraries show up twice because they both provide functions for
# other libs and use functions from other libs.  These mutual
# dependencies need to go away.  The libgwrap one in particular is a
# problem with the current version of gwrap, and will go away when
# that's fixed.
LDADD = \
  gnome/libgncgnome.a \
  register/libgncregister.a \
  register/gnome/libgncregistergnome.a \
  guile/libgncguile.a \
  gnome/libgncgnome.a \
  calculation/libgnccalc.a \
  engine/libgncengine.la \
  ${GNOMEUI_LIBS} \
  ${GNOME_LIBDIR} \
  ${GNOME_PRINT_LIBS} \
  ${G_WRAP_LINK_ARGS} \
  ${GUILE_LIBS} \
  ${GTKHTML_LIBS} \
  ${GHTTP_LIBS} \
  ${GUPPI_LIBS} \
  ${DB_LIBS} \
  ${INTLLIBS} \
  ${EFENCE_LIBS}

gnucash_SOURCES = \
  MultiLedger.c \
  SplitLedger.c \
  EuroUtils.c \
  FileDialog.c \
  gnc-component-manager.c \
  gnc-exp-parser.c \
  gnc-main.c \
  gnc-ui-util.c

noinst_HEADERS = \
  AccWindow.h \
  EuroUtils.h \
  FileBox.h \
  FileDialog.h \
  MultiLedger.h \
  RecnWindow.h \
  RegWindow.h \
  SplitLedger.h \
  file-history.h \
  gnc-component-manager.h \
  gnc-exp-parser.h \
  gnc-ui.h \
  gnc-ui-common.h \
  gnc-ui-util.h \
  messages.h

EXTRA_DIST = \
  .cvsignore

CFLAGS = @CFLAGS@ ${GNOME_INCLUDEDIR} ${GUILE_INCS}

INCLUDES = \
  -I./calculation \
  -I./engine \
  -I./guile \
  -I./register
