

pkgdatadir=$(datadir)/mysql-workbench/modules/data
pkgdata_DATA=\
res/mysql_engines.xml\
res/mysql_rdbms_info.xml\
res/mysql_reserved.xml

basicdir=$(pkgdatadir)/db_mysql_catalog_reporting/Basic_Text.tpl
basic_DATA=\
res/db_mysql_catalog_reporting/Basic_Text.tpl/basic_text_report.txt.tpl


pkglib_LTLIBRARIES=db.mysql.grt.la
pkglibdir=$(libdir)/@PACKAGE@/modules


INCLUDES=-I$(top_srcdir)/generated -I$(top_srcdir)/backend/wbpublic -I$(top_srcdir)/library/grt/src \
                -I$(top_srcdir)/library/base\
                -I$(top_srcdir)/modules\
                -I$(top_srcdir)/library/grt/src/diff\
                -I$(top_srcdir)/ext/vsqlite++/include\
                -I$(top_srcdir)/library/sql-parser/include\
                -I$(top_srcdir)/library/sql-parser/source\
                @CTEMPLATE_CFLAGS@ @PCRE_CFLAGS@\
                @GRT_CFLAGS@ @GLIB_CFLAGS@ @SIGC_CFLAGS@


#db_mysql_grt_la_SOURCES=db_mysql_reveng.cpp\
#                        db_mysql_statement_parser_be.cpp\
#                        db_mysql_statement_parser_be_utils.cpp\
#                        db_mysql_statement_parser_fe.cpp
#

db_mysql_grt_la_LDFLAGS=-module 
#ctemplate linked to main binary
#db_mysql_grt_la_LIBADD=-L$(top_srcdir)/ext/ctemplate/ctemplate-src/ $(top_srcdir)/ext/ctemplate/ctemplate-src/libctemplate_wb.la


db_mysql_grt_la_SOURCES=src/db_mysql_catalog_report.cpp\
                        src/db_mysql_diffsqlgen.cpp\
                        src/db_mysql_params.cpp\
                        src/module_db_mysql.cpp
