if DEBUG
DBGFLAGS = -g -DDEBUG
endif
if SAGA_UNICODE
DEP_DEFS = -fPIC `wx-config --unicode=yes --static=no --cxxflags` -D_SAGA_UNICODE $(DBGFLAGS)
DEP_LFLG = -fPIC -shared `wx-config --unicode=yes --static=no --libs`
else
DEP_DEFS = -fPIC `wx-config --unicode=no --static=no --cxxflags` $(DBGFLAGS)
DEP_LFLG = -fPIC -shared `wx-config --unicode=no --static=no --libs`
endif
DEF_SAGA           = -D_SAGA_LINUX -D_TYPEDEF_BYTE -D_TYPEDEF_WORD
CXX_INCS           = -I$(top_srcdir)/src/saga_core
AM_CXXFLAGS        = $(CXX_INCS) $(DEF_SAGA) $(DEP_DEFS) $(DBGFLAGS) $(GOMPFLAGS)
AM_LDFLAGS         = $(DEP_LFLG) -avoid-version
pkglib_LTLIBRARIES = libgarden_3d_viewer.la
libgarden_3d_viewer_la_SOURCES =\
MLB_Interface.cpp\
3d_multigrid_view_control.cpp\
3d_multigrid_view_dialog.cpp\
3d_multigrid_view_module.cpp\
3dshapes_view_control.cpp\
3dshapes_view_dialog.cpp\
3dshapes_view_module.cpp\
MLB_Interface.h\
3d_multigrid_view_control.h\
3d_multigrid_view_dialog.h\
3d_multigrid_view_module.h\
3dshapes_view_control.h\
3dshapes_view_dialog.h\
3dshapes_view_module.h

libgarden_3d_viewer_la_LIBADD = $(top_srcdir)/src/saga_core/saga_api/libsaga_api.la $(top_srcdir)/src/saga_core/saga_gdi/libsaga_gdi.la $(ADD_MLBS)
