genwrap=$(top_srcdir)/tools/genwrap/genwrap

#AM_CXXFLAGS=-finstrument-functions


pkgdatadir=$(datadir)/mysql-workbench/modules/data


pkglib_LTLIBRARIES=libwbpublic.la


INCLUDES=@GLIB_CFLAGS@ @SIGC_CFLAGS@ @GRT_CFLAGS@ @CAIRO_CFLAGS@ @MYSQL_INCLUDE@ @SQLITE3_CFLAGS@ @CTEMPLATE_CFLAGS@\
	@PCRE_CFLAGS@\
	-I$(top_srcdir)/library/grt/src -I$(top_srcdir)/library/base\
	-I$(top_srcdir)/library/forms\
	-I$(top_srcdir)/library/forms/mforms/\
	-I$(top_srcdir)/library/canvas/src\
	-I$(top_srcdir)/ext/cppconn\
	-I$(top_srcdir)/library/dbc/src\
	-I$(top_srcdir)/ext/vsqlite++/include\
	-I$(top_srcdir)/backend/wbpublic -I$(top_srcdir)/generated\
	-I$(top_srcdir)/modules

libwbpublic_la_SOURCES=\
	grt/refresh_ui.cpp\
	grt/editor_base.cpp\
	grt/parse_utils.cpp\
	grt/common.cpp\
	grt/grt_dispatcher.cpp\
	grt/grt_manager.cpp\
	grt/grt_reporter.cpp\
	grt/grt_message_list.cpp\
	grt/grt_modules_tree.cpp\
	grt/grt_shell.cpp\
	grt/grt_string_list_model.cpp\
	grt/grt_structs_tree.cpp\
	grt/grt_value_inspector.cpp\
	grt/grt_value_tree.cpp\
	grt/icon_manager.cpp\
	grt/plugin_manager.cpp\
	grt/tree_model.cpp\
	grt/validation_manager.cpp\
	grt/grt_threaded_task.cpp\
	grt/action_list.cpp\
	grtdb/charset_list.cpp\
	grtdb/charset_utils.cpp\
	grtdb/db_helpers.cpp\
	grtdb/db_object_filter.cpp\
	grtdb/db_object_helpers.cpp\
	grtdb/db_object_master_filter.cpp\
	grtdb/dbobject_roles.cpp\
	grtdb/diff_dbobjectmatch.cpp\
	grtdb/editor_dbobject.cpp\
	grtdb/editor_routine.cpp\
	grtdb/editor_routinegroup.cpp\
	grtdb/editor_schema.cpp\
	grtdb/editor_table.cpp\
	grtdb/editor_user.cpp\
	grtdb/editor_user_role.cpp\
	grtdb/editor_view.cpp\
	grtdb/role_tree_model.cpp\
	objimpl/db/db_DatabaseObject.cpp\
	objimpl/db/db_Schema.cpp\
	objimpl/db/db_Table.cpp\
	objimpl/db/db_ForeignKey.cpp\
	objimpl/db/db_Column.cpp\
	objimpl/db/db_Index.cpp\
	objimpl/db/db_Trigger.cpp\
	grtsqlparser/module_utils.cpp\
	grtsqlparser/sql_facade.cpp\
	grtsqlparser/sql_parser_base.cpp\
	grtsqlparser/sql_inserts_loader.cpp\
	grtsqlparser/sql_semantic_check.cpp\
	grtsqlparser/sql_normalizer.cpp\
	grtsqlparser/sql_statement_decomposer.cpp\
	grtsqlparser/sql_specifics.cpp\
	sqlide/sqlide_generics.cpp\
	sqlide/sql_editor_be.cpp\
	sqlide/var_grid_model_be.cpp\
	sqlide/recordset_be.cpp\
	sqlide/recordset_data_storage.cpp\
	sqlide/recordset_cdbc_storage.cpp\
	sqlide/recordset_sql_storage.cpp\
	sqlide/recordset_sqlite_storage.cpp\
	sqlide/recordset_table_inserts_storage.cpp\
	sqlide/recordset_text_storage.cpp\
	sqlide/sqlide.cpp\
	sqlide/table_inserts_loader_be.cpp\
  sqlide/sql_script_run_wizard.cpp\
	wbcanvas/figure_common.cpp\
	wbcanvas/badge_figure.cpp\
	wbcanvas/connection_figure.cpp\
	wbcanvas/table_figure.cpp\
	wbcanvas/table_figure_wb.cpp\
	wbcanvas/table_figure_idef1x.cpp\
	wbcanvas/table_figure_simple.cpp\
	wbcanvas/view_figure.cpp\
	wbcanvas/layer_figure.cpp\
	wbcanvas/image_figure.cpp\
	wbcanvas/note_figure.cpp\
	wbcanvas/routine_group_figure.cpp\
	wbcanvas/base_bridge.cpp\
	wbcanvas/model_model_impl.cpp\
	wbcanvas/model_diagram_impl.cpp\
	wbcanvas/model_figure_impl.cpp\
	wbcanvas/model_layer_impl.cpp\
	wbcanvas/model_object_impl.cpp\
	wbcanvas/model_connection_impl.cpp\
	wbcanvas/workbench_physical_viewfigure_impl.cpp\
	wbcanvas/workbench_physical_connection_impl.cpp\
	wbcanvas/workbench_physical_model_impl.cpp\
	wbcanvas/workbench_physical_diagram_impl.cpp\
	wbcanvas/workbench_physical_routinegroupfigure_impl.cpp\
	wbcanvas/workbench_physical_tablefigure_impl.cpp\
	wbcanvas/workbench_model_notefigure_impl.cpp\
	wbcanvas/workbench_model_imagefigure_impl.cpp\
	objimpl/model/model_Connection.cpp\
	objimpl/model/model_Figure.cpp\
	objimpl/model/model_Layer.cpp\
	objimpl/model/model_Model.cpp\
	objimpl/model/model_Object.cpp\
	objimpl/model/model_Diagram.cpp\
	objimpl/workbench.model/workbench_model_NoteFigure.cpp\
	objimpl/workbench.model/workbench_model_ImageFigure.cpp\
	objimpl/workbench.physical/workbench_physical_Connection.cpp\
	objimpl/workbench.physical/workbench_physical_RoutineGroupFigure.cpp\
	objimpl/workbench.physical/workbench_physical_TableFigure.cpp\
	objimpl/workbench.physical/workbench_physical_Diagram.cpp\
	objimpl/workbench.physical/workbench_physical_Model.cpp\
	objimpl/workbench.physical/workbench_physical_ViewFigure.cpp\
	objimpl/workbench.logical/workbench_logical_Model.cpp\
	objimpl/workbench.logical/workbench_logical_Diagram.cpp\
  objimpl/db.query/db_query_Resultset.cpp\
  objimpl/db.query/db_query_QueryBuffer.cpp\
  objimpl/db.query/db_query_Editor.cpp\
  objimpl/db.query/db_query_EditableResultset.cpp\
	grtui/grtdb_connect_panel.cpp\
	grtui/grtdb_connect_dialog.cpp\
	grtui/confirm_save_dialog.cpp\
	grtui/binary_data_editor.cpp\
	grtui/grtdb_connection_editor.cpp\
	grtui/grtdb_object_filter.cpp\
	grtui/string_list_editor.cpp\
	grtui/grt_wizard_form.cpp\
	grtui/grt_wizard_plugin.cpp\
	grtui/wizard_progress_page.cpp\
	grtui/wizard_finished_page.cpp\
	grtui/wizard_schema_filter_page.cpp\
	grtui/wizard_object_filter_page.cpp\
	grtui/wizard_view_text_page.cpp\
	grtui/db_conn_be.cpp\
	grtui/gui_plugin_base.cpp\
	grtui/text_input_dialog.cpp\
	grtui/checkbox_list_control.cpp\
	grtui/file_charset_dialog.cpp\
	grtui/inserts_export_form.cpp\
	grtui/eol_format_dialog.cpp

#BUILT_SOURCES=stdafx.h.gch
#stdafx.h.gch: stdafx.h
#	$(CXXCOMPILE) $<

libwbpublic_la_LIBADD=../../library/canvas/src/libmdcanvas.la ../../library/forms/libmforms.la ../../library/dbc/libcdbc.la ../../ext/vsqlite++/src/sqlite/libvsqlitepp.la @CTEMPLATE_LIBS@
