
if BUILD_CTEMPLATE
else
ctemplate_dirs=ctemplate 
endif

SUBDIRS=scintilla/gtk cppconn vsqlite++ $(ctemplate_dirs)

if BUNDLE_UTILITIES
all-am:
	(cd mysql-utilities;python setup.py build)
	(cd connector-python;python setup.py build)

install-utils:
	(cd mysql-utilities; mkdir -p $(pkgdatadir)/python; python setup.py install --skip-profile --root=$(DESTDIR) $(EXTRA_ARGS) --install-lib=$(pkgdatadir)/python --install-scripts=$(pkgdatadir)/python)

install-connector:
	(cd connector-python; mkdir -p $(pkgdatadir)/python; python setup.py install --root=$(DESTDIR) $(EXTRA_ARGS) --install-lib=$(pkgdatadir)/python)
endif
