if DEBUG
DBGFLAGS = -g -DDEBUG
endif

DEP_DEFS = -fPIC `wx-config --unicode=yes --static=no --cxxflags`
DEP_LFLG = -fPIC -shared `wx-config --unicode=yes --static=no --libs`

DEF_SAGA           = -D_SAGA_LINUX -D_TYPEDEF_BYTE -D_TYPEDEF_WORD -D_SAGA_UNICODE
CXX_INCS           = -I$(top_srcdir)/src/saga_core
AM_CXXFLAGS        = -fPIC $(CXX_INCS) $(DEF_SAGA) $(DEP_DEFS) $(DBGFLAGS) $(GOMPFLAGS)
AM_LDFLAGS         = -fPIC -shared -avoid-version $(DEP_LFLG)
pkglib_LTLIBRARIES = libpointcloud_tools.la
libpointcloud_tools_la_SOURCES =\
MLB_Interface.cpp\
pc_attribute_calculator.cpp\
pc_cluster_analysis.cpp\
pc_cut.cpp\
pc_drop_attribute.cpp\
pc_from_grid.cpp\
pc_from_shapes.cpp\
pc_from_table.cpp\
pc_merge.cpp\
pc_reclass_extract.cpp\
pc_thinning_simple.cpp\
pc_to_grid.cpp\
pc_to_shapes.cpp\
pc_transform.cpp\
MLB_Interface.h\
pc_attribute_calculator.h\
pc_cluster_analysis.h\
pc_cut.h\
pc_drop_attribute.h\
pc_from_grid.h\
pc_from_shapes.h\
pc_from_table.h\
pc_merge.h\
pc_reclass_extract.h\
pc_thinning_simple.h\
pc_to_grid.h\
pc_to_shapes.h\
pc_transform.h

libpointcloud_tools_la_LIBADD = $(top_srcdir)/src/saga_core/saga_api/libsaga_api.la

