# =========================================================================
#     This makefile was generated by
#     Bakefile 0.2.11 (http://www.bakefile.org)
#     Do not modify, all changes will be overwritten!
# =========================================================================


@MAKE_SET@

prefix = @prefix@
exec_prefix = @exec_prefix@
datarootdir = @datarootdir@
INSTALL = @INSTALL@
SHARED_LD_CXX = @SHARED_LD_CXX@
LIBEXT = @LIBEXT@
LIBPREFIX = @LIBPREFIX@
SO_SUFFIX = @SO_SUFFIX@
DLLIMP_SUFFIX = @DLLIMP_SUFFIX@
EXEEXT = @EXEEXT@
LN_S = @LN_S@
PIC_FLAG = @PIC_FLAG@
SONAME_FLAG = @SONAME_FLAG@
STRIP = @STRIP@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_DIR = @INSTALL_DIR@
BK_DEPS = @BK_DEPS@
srcdir = @srcdir@
libdir = @libdir@
DLLPREFIX = @DLLPREFIX@
LIBS = @LIBS@
AR = @AR@
AROPTIONS = @AROPTIONS@
RANLIB = @RANLIB@
CXX = @CXX@
CXXFLAGS = @CXXFLAGS@
CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@

### Variables: ###

DESTDIR = 
MYSQLPP_CXXFLAGS = -I. -I@MYSQL_C_INC_DIR@ $(PIC_FLAG) @PTHREAD_CFLAGS@ \
	$(CPPFLAGS) $(CXXFLAGS)
MYSQLPP_OBJECTS =  \
	mysqlpp_beemutex.o \
	mysqlpp_cmdline.o \
	mysqlpp_connection.o \
	mysqlpp_cpool.o \
	mysqlpp_datetime.o \
	mysqlpp_dbdriver.o \
	mysqlpp_field_names.o \
	mysqlpp_field_types.o \
	mysqlpp_manip.o \
	mysqlpp_myset.o \
	mysqlpp_mysql++.o \
	mysqlpp_mystring.o \
	mysqlpp_null.o \
	mysqlpp_options.o \
	mysqlpp_qparms.o \
	mysqlpp_query.o \
	mysqlpp_result.o \
	mysqlpp_row.o \
	mysqlpp_scopedconnection.o \
	mysqlpp_sql_buffer.o \
	mysqlpp_sqlstream.o \
	mysqlpp_ssqls2.o \
	mysqlpp_stadapter.o \
	mysqlpp_tcp_connection.o \
	mysqlpp_transaction.o \
	mysqlpp_type_info.o \
	mysqlpp_uds_connection.o \
	mysqlpp_utility.o \
	mysqlpp_vallist.o \
	mysqlpp_wnp_connection.o
SSQLS2PARSE_CXXFLAGS = -Ilib -I@MYSQL_C_INC_DIR@ -I. @PTHREAD_CFLAGS@ \
	$(CPPFLAGS) $(CXXFLAGS)
SSQLS2PARSE_OBJECTS =  \
	ssqls2parse_parsev2.o
SSQLSXLAT_CXXFLAGS = -Ilib -I@MYSQL_C_INC_DIR@ @PTHREAD_CFLAGS@ $(CPPFLAGS) \
	$(CXXFLAGS)
SSQLSXLAT_OBJECTS =  \
	ssqlsxlat_genv2.o \
	ssqlsxlat_main.o
TEST_ARRAY_INDEX_CXXFLAGS = -Ilib -I@MYSQL_C_INC_DIR@ @PTHREAD_CFLAGS@ \
	$(CPPFLAGS) $(CXXFLAGS)
TEST_ARRAY_INDEX_OBJECTS =  \
	test_array_index_array_index.o
TEST_CPOOL_CXXFLAGS = -Ilib -I@MYSQL_C_INC_DIR@ @PTHREAD_CFLAGS@ $(CPPFLAGS) \
	$(CXXFLAGS)
TEST_CPOOL_OBJECTS =  \
	test_cpool_cpool.o
TEST_DATETIME_CXXFLAGS = -Ilib -I@MYSQL_C_INC_DIR@ @PTHREAD_CFLAGS@ $(CPPFLAGS) \
	$(CXXFLAGS)
TEST_DATETIME_OBJECTS =  \
	test_datetime_datetime.o
TEST_INTTYPES_CXXFLAGS = -Ilib -I@MYSQL_C_INC_DIR@ @PTHREAD_CFLAGS@ $(CPPFLAGS) \
	$(CXXFLAGS)
TEST_INTTYPES_OBJECTS =  \
	test_inttypes_inttypes.o
TEST_INSERTPOLICY_CXXFLAGS = -Ilib -I@MYSQL_C_INC_DIR@ @PTHREAD_CFLAGS@ \
	$(CPPFLAGS) $(CXXFLAGS)
TEST_INSERTPOLICY_OBJECTS =  \
	test_insertpolicy_insertpolicy.o
TEST_MANIP_CXXFLAGS = -Ilib -I@MYSQL_C_INC_DIR@ @PTHREAD_CFLAGS@ $(CPPFLAGS) \
	$(CXXFLAGS)
TEST_MANIP_OBJECTS =  \
	test_manip_manip.o
TEST_NULL_COMPARISON_CXXFLAGS = -Ilib -I@MYSQL_C_INC_DIR@ @PTHREAD_CFLAGS@ \
	$(CPPFLAGS) $(CXXFLAGS)
TEST_NULL_COMPARISON_OBJECTS =  \
	test_null_comparison_null_comparison.o
TEST_QUERY_COPY_CXXFLAGS = -Ilib -I@MYSQL_C_INC_DIR@ @PTHREAD_CFLAGS@ \
	$(CPPFLAGS) $(CXXFLAGS)
TEST_QUERY_COPY_OBJECTS =  \
	test_query_copy_query_copy.o
TEST_QSSQLS_CXXFLAGS = -Ilib -I@MYSQL_C_INC_DIR@ @PTHREAD_CFLAGS@ $(CPPFLAGS) \
	$(CXXFLAGS)
TEST_QSSQLS_OBJECTS =  \
	test_qssqls_qssqls.o
TEST_QSTREAM_CXXFLAGS = -Ilib -I@MYSQL_C_INC_DIR@ @PTHREAD_CFLAGS@ $(CPPFLAGS) \
	$(CXXFLAGS)
TEST_QSTREAM_OBJECTS =  \
	test_qstream_qstream.o
TEST_SQLSTREAM_CXXFLAGS = -Ilib -I@MYSQL_C_INC_DIR@ @PTHREAD_CFLAGS@ \
	$(CPPFLAGS) $(CXXFLAGS)
TEST_SQLSTREAM_OBJECTS =  \
	test_sqlstream_sqlstream.o
TEST_SSQLS2_CXXFLAGS = -Ilib -I@MYSQL_C_INC_DIR@ @PTHREAD_CFLAGS@ $(CPPFLAGS) \
	$(CXXFLAGS)
TEST_SSQLS2_OBJECTS =  \
	test_ssqls2_ssqls2.o
TEST_STRING_CXXFLAGS = -Ilib -I@MYSQL_C_INC_DIR@ @PTHREAD_CFLAGS@ $(CPPFLAGS) \
	$(CXXFLAGS)
TEST_STRING_OBJECTS =  \
	test_string_string.o
TEST_TCP_CXXFLAGS = -Ilib -I@MYSQL_C_INC_DIR@ @PTHREAD_CFLAGS@ $(CPPFLAGS) \
	$(CXXFLAGS)
TEST_TCP_OBJECTS =  \
	test_tcp_tcp.o
TEST_UDS_CXXFLAGS = -Ilib -I@MYSQL_C_INC_DIR@ @PTHREAD_CFLAGS@ $(CPPFLAGS) \
	$(CXXFLAGS)
TEST_UDS_OBJECTS =  \
	test_uds_uds.o
TEST_WNP_CXXFLAGS = -Ilib -I@MYSQL_C_INC_DIR@ @PTHREAD_CFLAGS@ $(CPPFLAGS) \
	$(CXXFLAGS)
TEST_WNP_OBJECTS =  \
	test_wnp_wnp.o
EXCOMMON_CXXFLAGS = -Ilib -I@MYSQL_C_INC_DIR@ @PTHREAD_CFLAGS@ $(CPPFLAGS) \
	$(CXXFLAGS)
EXCOMMON_OBJECTS =  \
	excommon_printdata.o
CGI_JPEG_CXXFLAGS = -Ilib -I@MYSQL_C_INC_DIR@ @PTHREAD_CFLAGS@ $(CPPFLAGS) \
	$(CXXFLAGS)
CGI_JPEG_OBJECTS =  \
	cgi_jpeg_cgi_jpeg.o
CPOOL_CXXFLAGS = -Ilib -I@MYSQL_C_INC_DIR@ @PTHREAD_CFLAGS@ $(CPPFLAGS) \
	$(CXXFLAGS)
CPOOL_OBJECTS =  \
	cpool_cpool.o
DBINFO_CXXFLAGS = -Ilib -I@MYSQL_C_INC_DIR@ @PTHREAD_CFLAGS@ $(CPPFLAGS) \
	$(CXXFLAGS)
DBINFO_OBJECTS =  \
	dbinfo_dbinfo.o
DEADLOCK_CXXFLAGS = -Ilib -I@MYSQL_C_INC_DIR@ @PTHREAD_CFLAGS@ $(CPPFLAGS) \
	$(CXXFLAGS)
DEADLOCK_OBJECTS =  \
	deadlock_deadlock.o
FIELDINF_CXXFLAGS = -Ilib -I@MYSQL_C_INC_DIR@ @PTHREAD_CFLAGS@ $(CPPFLAGS) \
	$(CXXFLAGS)
FIELDINF_OBJECTS =  \
	fieldinf_fieldinf.o
FOR_EACH_CXXFLAGS = -Ilib -I@MYSQL_C_INC_DIR@ @PTHREAD_CFLAGS@ $(CPPFLAGS) \
	$(CXXFLAGS)
FOR_EACH_OBJECTS =  \
	for_each_for_each.o
LOAD_JPEG_CXXFLAGS = -Ilib -I@MYSQL_C_INC_DIR@ @PTHREAD_CFLAGS@ $(CPPFLAGS) \
	$(CXXFLAGS)
LOAD_JPEG_OBJECTS =  \
	load_jpeg_load_jpeg.o
MULTIQUERY_CXXFLAGS = -Ilib -I@MYSQL_C_INC_DIR@ @PTHREAD_CFLAGS@ $(CPPFLAGS) \
	$(CXXFLAGS)
MULTIQUERY_OBJECTS =  \
	multiquery_multiquery.o
RESETDB_CXXFLAGS = -Ilib -I@MYSQL_C_INC_DIR@ @PTHREAD_CFLAGS@ $(CPPFLAGS) \
	$(CXXFLAGS)
RESETDB_OBJECTS =  \
	resetdb_resetdb.o
SIMPLE1_CXXFLAGS = -Ilib -I@MYSQL_C_INC_DIR@ @PTHREAD_CFLAGS@ $(CPPFLAGS) \
	$(CXXFLAGS)
SIMPLE1_OBJECTS =  \
	simple1_simple1.o
SIMPLE2_CXXFLAGS = -Ilib -I@MYSQL_C_INC_DIR@ @PTHREAD_CFLAGS@ $(CPPFLAGS) \
	$(CXXFLAGS)
SIMPLE2_OBJECTS =  \
	simple2_simple2.o
SIMPLE3_CXXFLAGS = -Ilib -I@MYSQL_C_INC_DIR@ @PTHREAD_CFLAGS@ $(CPPFLAGS) \
	$(CXXFLAGS)
SIMPLE3_OBJECTS =  \
	simple3_simple3.o
SSQLS1_CXXFLAGS = -Ilib -I@MYSQL_C_INC_DIR@ @PTHREAD_CFLAGS@ $(CPPFLAGS) \
	$(CXXFLAGS)
SSQLS1_OBJECTS =  \
	ssqls1_ssqls1.o
SSQLS2_CXXFLAGS = -Ilib -I@MYSQL_C_INC_DIR@ @PTHREAD_CFLAGS@ $(CPPFLAGS) \
	$(CXXFLAGS)
SSQLS2_OBJECTS =  \
	ssqls2_ssqls2.o
SSQLS3_CXXFLAGS = -Ilib -I@MYSQL_C_INC_DIR@ @PTHREAD_CFLAGS@ $(CPPFLAGS) \
	$(CXXFLAGS)
SSQLS3_OBJECTS =  \
	ssqls3_ssqls3.o
SSQLS4_CXXFLAGS = -Ilib -I@MYSQL_C_INC_DIR@ @PTHREAD_CFLAGS@ $(CPPFLAGS) \
	$(CXXFLAGS)
SSQLS4_OBJECTS =  \
	ssqls4_ssqls4.o
SSQLS5_CXXFLAGS = -Ilib -I@MYSQL_C_INC_DIR@ @PTHREAD_CFLAGS@ $(CPPFLAGS) \
	$(CXXFLAGS)
SSQLS5_OBJECTS =  \
	ssqls5_ssqls5.o
SSQLS6_CXXFLAGS = -Ilib -I@MYSQL_C_INC_DIR@ @PTHREAD_CFLAGS@ $(CPPFLAGS) \
	$(CXXFLAGS)
SSQLS6_OBJECTS =  \
	ssqls6_ssqls6.o
STORE_IF_CXXFLAGS = -Ilib -I@MYSQL_C_INC_DIR@ @PTHREAD_CFLAGS@ $(CPPFLAGS) \
	$(CXXFLAGS)
STORE_IF_OBJECTS =  \
	store_if_store_if.o
TQUERY1_CXXFLAGS = -Ilib -I@MYSQL_C_INC_DIR@ @PTHREAD_CFLAGS@ $(CPPFLAGS) \
	$(CXXFLAGS)
TQUERY1_OBJECTS =  \
	tquery1_tquery1.o
TQUERY2_CXXFLAGS = -Ilib -I@MYSQL_C_INC_DIR@ @PTHREAD_CFLAGS@ $(CPPFLAGS) \
	$(CXXFLAGS)
TQUERY2_OBJECTS =  \
	tquery2_tquery2.o
TQUERY3_CXXFLAGS = -Ilib -I@MYSQL_C_INC_DIR@ @PTHREAD_CFLAGS@ $(CPPFLAGS) \
	$(CXXFLAGS)
TQUERY3_OBJECTS =  \
	tquery3_tquery3.o
TQUERY4_CXXFLAGS = -Ilib -I@MYSQL_C_INC_DIR@ @PTHREAD_CFLAGS@ $(CPPFLAGS) \
	$(CXXFLAGS)
TQUERY4_OBJECTS =  \
	tquery4_tquery4.o
TRANSACTION_CXXFLAGS = -Ilib -I@MYSQL_C_INC_DIR@ @PTHREAD_CFLAGS@ $(CPPFLAGS) \
	$(CXXFLAGS)
TRANSACTION_OBJECTS =  \
	transaction_transaction.o

### Conditionally set variables: ###

@COND_DEPS_TRACKING_0@CXXC = $(CXX)
@COND_DEPS_TRACKING_1@CXXC = $(BK_DEPS) $(CXX)
@COND_PLATFORM_OS2_1@__mysqlpp___importlib = -import \
@COND_PLATFORM_OS2_1@	$(LIBPREFIX)mysqlpp.$(DLLIMP_SUFFIX)
@COND_WINDOWS_IMPLIB_1@__mysqlpp___importlib = \
@COND_WINDOWS_IMPLIB_1@	-Wl,--out-implib=$(LIBPREFIX)mysqlpp.$(DLLIMP_SUFFIX)
@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@__mysqlpp___targetsuf2 \
@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@	= .$(SO_SUFFIX).3
@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@__mysqlpp___targetsuf2 \
@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@	= .3.$(SO_SUFFIX)
@COND_USE_SOVERSION_0@__mysqlpp___targetsuf2 = .$(SO_SUFFIX)
@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@__mysqlpp___targetsuf3 \
@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@	= \
@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@	.$(SO_SUFFIX).3.3.0
@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@__mysqlpp___targetsuf3 \
@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@	= .3.3.0.$(SO_SUFFIX)
@COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1@__mysqlpp___targetsuf3 \
@COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1@	= .$(SO_SUFFIX).3
@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@__mysqlpp___targetsuf3 \
@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@	= -3.$(SO_SUFFIX)
@COND_USE_SOVERSION_0@__mysqlpp___targetsuf3 = .$(SO_SUFFIX)
@COND_USE_SOVERLINUX_1@__mysqlpp___soname_flags = \
@COND_USE_SOVERLINUX_1@	$(SONAME_FLAG)$(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf2)
@COND_USE_SOVERSOLARIS_1@__mysqlpp___soname_flags \
@COND_USE_SOVERSOLARIS_1@	= \
@COND_USE_SOVERSOLARIS_1@	$(SONAME_FLAG)$(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3)
COND_USE_SOTWOSYMLINKS_1___mysqlpp___so_symlinks_cmd = (cd .; rm -f \
	$(LIBPREFIX)mysqlpp.$(DLLIMP_SUFFIX) \
	$(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf2); $(LN_S) \
	$(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3) \
	$(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf2); $(LN_S) \
	$(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf2) \
	$(LIBPREFIX)mysqlpp.$(DLLIMP_SUFFIX))
@COND_USE_SOTWOSYMLINKS_1@__mysqlpp___so_symlinks_cmd = $(COND_USE_SOTWOSYMLINKS_1___mysqlpp___so_symlinks_cmd)
COND_USE_SOVERSOLARIS_1___mysqlpp___so_symlinks_cmd = (cd .; rm -f \
	$(LIBPREFIX)mysqlpp.$(DLLIMP_SUFFIX); $(LN_S) \
	$(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3) \
	$(LIBPREFIX)mysqlpp.$(DLLIMP_SUFFIX))
@COND_USE_SOVERSOLARIS_1@__mysqlpp___so_symlinks_cmd = $(COND_USE_SOVERSOLARIS_1___mysqlpp___so_symlinks_cmd)
COND_USE_SOTWOSYMLINKS_1___mysqlpp___so_symlinks_inst_cmd = rm -f \
	$(LIBPREFIX)mysqlpp.$(DLLIMP_SUFFIX) \
	$(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf2); $(LN_S) \
	$(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3) \
	$(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf2); $(LN_S) \
	$(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf2) \
	$(LIBPREFIX)mysqlpp.$(DLLIMP_SUFFIX)
@COND_USE_SOTWOSYMLINKS_1@__mysqlpp___so_symlinks_inst_cmd = $(COND_USE_SOTWOSYMLINKS_1___mysqlpp___so_symlinks_inst_cmd)
COND_USE_SOVERSOLARIS_1___mysqlpp___so_symlinks_inst_cmd = rm -f \
	$(LIBPREFIX)mysqlpp.$(DLLIMP_SUFFIX); $(LN_S) \
	$(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3) \
	$(LIBPREFIX)mysqlpp.$(DLLIMP_SUFFIX);
@COND_USE_SOVERSOLARIS_1@__mysqlpp___so_symlinks_inst_cmd = $(COND_USE_SOVERSOLARIS_1___mysqlpp___so_symlinks_inst_cmd)
COND_USE_SOTWOSYMLINKS_1___mysqlpp___so_symlinks_uninst_cmd = rm -f \
	$(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf2) \
	$(LIBPREFIX)mysqlpp.$(DLLIMP_SUFFIX)
@COND_USE_SOTWOSYMLINKS_1@__mysqlpp___so_symlinks_uninst_cmd = $(COND_USE_SOTWOSYMLINKS_1___mysqlpp___so_symlinks_uninst_cmd)
@COND_USE_SOVERSOLARIS_1@__mysqlpp___so_symlinks_uninst_cmd \
@COND_USE_SOVERSOLARIS_1@	= rm -f $(LIBPREFIX)mysqlpp.$(DLLIMP_SUFFIX)
@COND_PLATFORM_MACOSX_1@__mysqlpp___macinstnamecmd \
@COND_PLATFORM_MACOSX_1@	= -install_name \
@COND_PLATFORM_MACOSX_1@	$(libdir)/$(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf2)

### Targets: ###

all: $(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3) $(LIBPREFIX)mysqlpp_ssqls2parse$(LIBEXT) ssqlsxlat$(EXEEXT) test_array_index$(EXEEXT) test_cpool$(EXEEXT) test_datetime$(EXEEXT) test_inttypes$(EXEEXT) test_insertpolicy$(EXEEXT) test_manip$(EXEEXT) test_null_comparison$(EXEEXT) test_query_copy$(EXEEXT) test_qssqls$(EXEEXT) test_qstream$(EXEEXT) test_sqlstream$(EXEEXT) test_ssqls2$(EXEEXT) test_string$(EXEEXT) test_tcp$(EXEEXT) test_uds$(EXEEXT) test_wnp$(EXEEXT) $(LIBPREFIX)mysqlpp_excommon$(LIBEXT) cgi_jpeg$(EXEEXT) cpool$(EXEEXT) dbinfo$(EXEEXT) deadlock$(EXEEXT) fieldinf$(EXEEXT) for_each$(EXEEXT) load_jpeg$(EXEEXT) multiquery$(EXEEXT) resetdb$(EXEEXT) simple1$(EXEEXT) simple2$(EXEEXT) simple3$(EXEEXT) ssqls1$(EXEEXT) ssqls2$(EXEEXT) ssqls3$(EXEEXT) ssqls4$(EXEEXT) ssqls5$(EXEEXT) ssqls6$(EXEEXT) store_if$(EXEEXT) tquery1$(EXEEXT) tquery2$(EXEEXT) tquery3$(EXEEXT) tquery4$(EXEEXT) transaction$(EXEEXT)

install: install_mysqlpp
	$(INSTALL_DIR) $(DESTDIR)$(prefix)/include/mysql++
	(cd $(srcdir) ; $(INSTALL_DATA)  lib/*.h $(DESTDIR)$(prefix)/include/mysql++)

uninstall: uninstall_mysqlpp
	(cd $(DESTDIR)$(prefix)/include/mysql++ ; rm -f *.h)
	-rmdir $(prefix)/include/mysql++
	rm -f $(DESTDIR)$(libdir)/$(DLLPREFIX)mysqlpp.$(SO_SUFFIX)

install-strip: install
	$(STRIP) $(DESTDIR)$(libdir)/$(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3)

clean: 
	rm -rf ./.deps ./.pch
	rm -f ./*.o
	rm -f $(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3)
	rm -f $(LIBPREFIX)mysqlpp.$(DLLIMP_SUFFIX)
	rm -f $(LIBPREFIX)mysqlpp.$(DLLIMP_SUFFIX) $(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf2)
	rm -f $(LIBPREFIX)mysqlpp_ssqls2parse$(LIBEXT)
	rm -f ssqlsxlat$(EXEEXT)
	rm -f test_array_index$(EXEEXT)
	rm -f test_cpool$(EXEEXT)
	rm -f test_datetime$(EXEEXT)
	rm -f test_inttypes$(EXEEXT)
	rm -f test_insertpolicy$(EXEEXT)
	rm -f test_manip$(EXEEXT)
	rm -f test_null_comparison$(EXEEXT)
	rm -f test_query_copy$(EXEEXT)
	rm -f test_qssqls$(EXEEXT)
	rm -f test_qstream$(EXEEXT)
	rm -f test_sqlstream$(EXEEXT)
	rm -f test_ssqls2$(EXEEXT)
	rm -f test_string$(EXEEXT)
	rm -f test_tcp$(EXEEXT)
	rm -f test_uds$(EXEEXT)
	rm -f test_wnp$(EXEEXT)
	rm -f $(LIBPREFIX)mysqlpp_excommon$(LIBEXT)
	rm -f cgi_jpeg$(EXEEXT)
	rm -f cpool$(EXEEXT)
	rm -f dbinfo$(EXEEXT)
	rm -f deadlock$(EXEEXT)
	rm -f fieldinf$(EXEEXT)
	rm -f for_each$(EXEEXT)
	rm -f load_jpeg$(EXEEXT)
	rm -f multiquery$(EXEEXT)
	rm -f resetdb$(EXEEXT)
	rm -f simple1$(EXEEXT)
	rm -f simple2$(EXEEXT)
	rm -f simple3$(EXEEXT)
	rm -f ssqls1$(EXEEXT)
	rm -f ssqls2$(EXEEXT)
	rm -f ssqls3$(EXEEXT)
	rm -f ssqls4$(EXEEXT)
	rm -f ssqls5$(EXEEXT)
	rm -f ssqls6$(EXEEXT)
	rm -f store_if$(EXEEXT)
	rm -f tquery1$(EXEEXT)
	rm -f tquery2$(EXEEXT)
	rm -f tquery3$(EXEEXT)
	rm -f tquery4$(EXEEXT)
	rm -f transaction$(EXEEXT)
	rm -rf doc/latex doc/pdf ; \
	cd doc/html/refman ; \
	rm -f doxygen.css ; \
	for e in dot html js map md5 png ; \
	do \
	rm -f [a-z]*.$$e ; \
	done

distclean: clean
	rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile

$(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3): $(MYSQLPP_OBJECTS) lib/ssqls.h lib/querydef.h
	$(SHARED_LD_CXX) $@ $(MYSQLPP_OBJECTS)  $(__mysqlpp___importlib) $(__mysqlpp___soname_flags)   $(__mysqlpp___macinstnamecmd) -L@MYSQL_C_LIB_DIR@ -l@MYSQL_C_LIB_NAME@ @PTHREAD_LIBS@ @MYSQLPP_EXTRA_LIBS@ $(LDFLAGS)  $(LIBS)
	
	$(__mysqlpp___so_symlinks_cmd)

install_mysqlpp: $(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3)
	$(INSTALL_DIR) $(DESTDIR)$(libdir)
	$(INSTALL_DATA) $(LIBPREFIX)mysqlpp.$(DLLIMP_SUFFIX) $(DESTDIR)$(libdir)
	$(INSTALL_PROGRAM) $(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3) $(DESTDIR)$(libdir)
	(cd $(DESTDIR)$(libdir) ; $(__mysqlpp___so_symlinks_inst_cmd))

uninstall_mysqlpp: 
	rm -f $(DESTDIR)$(libdir)/$(LIBPREFIX)mysqlpp.$(DLLIMP_SUFFIX)
	rm -f $(DESTDIR)$(libdir)/$(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3)
	(cd $(DESTDIR)$(libdir) ; $(__mysqlpp___so_symlinks_uninst_cmd))

$(LIBPREFIX)mysqlpp_ssqls2parse$(LIBEXT): $(SSQLS2PARSE_OBJECTS) $(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3) $(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3)
	rm -f $@
	$(AR) $(AROPTIONS) $@ $(SSQLS2PARSE_OBJECTS)
	$(RANLIB) $@

ssqlsxlat$(EXEEXT): $(SSQLSXLAT_OBJECTS) $(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3) $(LIBPREFIX)mysqlpp_ssqls2parse$(LIBEXT) $(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3)
	$(CXX) -o $@ $(SSQLSXLAT_OBJECTS)    -L. -L@MYSQL_C_LIB_DIR@ -l@MYSQL_C_LIB_NAME@ @PTHREAD_LIBS@ @MYSQLPP_EXTRA_LIBS@ $(LDFLAGS)  -lmysqlpp -lmysqlpp_ssqls2parse -lmysqlpp $(LIBS)

test_array_index$(EXEEXT): $(TEST_ARRAY_INDEX_OBJECTS) $(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3)
	$(CXX) -o $@ $(TEST_ARRAY_INDEX_OBJECTS)    -L. -L@MYSQL_C_LIB_DIR@ -l@MYSQL_C_LIB_NAME@ @PTHREAD_LIBS@ @MYSQLPP_EXTRA_LIBS@ $(LDFLAGS)  -lmysqlpp $(LIBS)

test_cpool$(EXEEXT): $(TEST_CPOOL_OBJECTS) $(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3)
	$(CXX) -o $@ $(TEST_CPOOL_OBJECTS)    -L. -L@MYSQL_C_LIB_DIR@ -l@MYSQL_C_LIB_NAME@ @PTHREAD_LIBS@ @MYSQLPP_EXTRA_LIBS@ $(LDFLAGS)  -lmysqlpp $(LIBS)

test_datetime$(EXEEXT): $(TEST_DATETIME_OBJECTS) $(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3)
	$(CXX) -o $@ $(TEST_DATETIME_OBJECTS)    -L. -L@MYSQL_C_LIB_DIR@ -l@MYSQL_C_LIB_NAME@ @PTHREAD_LIBS@ @MYSQLPP_EXTRA_LIBS@ $(LDFLAGS)  -lmysqlpp $(LIBS)

test_inttypes$(EXEEXT): $(TEST_INTTYPES_OBJECTS) $(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3)
	$(CXX) -o $@ $(TEST_INTTYPES_OBJECTS)    -L. -L@MYSQL_C_LIB_DIR@ -l@MYSQL_C_LIB_NAME@ @PTHREAD_LIBS@ @MYSQLPP_EXTRA_LIBS@ $(LDFLAGS)  -lmysqlpp $(LIBS)

test_insertpolicy$(EXEEXT): $(TEST_INSERTPOLICY_OBJECTS) $(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3)
	$(CXX) -o $@ $(TEST_INSERTPOLICY_OBJECTS)    -L. -L@MYSQL_C_LIB_DIR@ -l@MYSQL_C_LIB_NAME@ @PTHREAD_LIBS@ @MYSQLPP_EXTRA_LIBS@ $(LDFLAGS)  -lmysqlpp $(LIBS)

test_manip$(EXEEXT): $(TEST_MANIP_OBJECTS) $(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3)
	$(CXX) -o $@ $(TEST_MANIP_OBJECTS)    -L. -L@MYSQL_C_LIB_DIR@ -l@MYSQL_C_LIB_NAME@ @PTHREAD_LIBS@ @MYSQLPP_EXTRA_LIBS@ $(LDFLAGS)  -lmysqlpp $(LIBS)

test_null_comparison$(EXEEXT): $(TEST_NULL_COMPARISON_OBJECTS) $(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3)
	$(CXX) -o $@ $(TEST_NULL_COMPARISON_OBJECTS)    -L. -L@MYSQL_C_LIB_DIR@ -l@MYSQL_C_LIB_NAME@ @PTHREAD_LIBS@ @MYSQLPP_EXTRA_LIBS@ $(LDFLAGS)  -lmysqlpp $(LIBS)

test_query_copy$(EXEEXT): $(TEST_QUERY_COPY_OBJECTS) $(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3)
	$(CXX) -o $@ $(TEST_QUERY_COPY_OBJECTS)    -L. -L@MYSQL_C_LIB_DIR@ -l@MYSQL_C_LIB_NAME@ @PTHREAD_LIBS@ @MYSQLPP_EXTRA_LIBS@ $(LDFLAGS)  -lmysqlpp $(LIBS)

test_qssqls$(EXEEXT): $(TEST_QSSQLS_OBJECTS) $(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3)
	$(CXX) -o $@ $(TEST_QSSQLS_OBJECTS)    -L. -L@MYSQL_C_LIB_DIR@ -l@MYSQL_C_LIB_NAME@ @PTHREAD_LIBS@ @MYSQLPP_EXTRA_LIBS@ $(LDFLAGS)  -lmysqlpp $(LIBS)

test_qstream$(EXEEXT): $(TEST_QSTREAM_OBJECTS) $(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3)
	$(CXX) -o $@ $(TEST_QSTREAM_OBJECTS)    -L. -L@MYSQL_C_LIB_DIR@ -l@MYSQL_C_LIB_NAME@ @PTHREAD_LIBS@ @MYSQLPP_EXTRA_LIBS@ $(LDFLAGS)  -lmysqlpp $(LIBS)

test_sqlstream$(EXEEXT): $(TEST_SQLSTREAM_OBJECTS) $(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3)
	$(CXX) -o $@ $(TEST_SQLSTREAM_OBJECTS)    -L. -L@MYSQL_C_LIB_DIR@ -l@MYSQL_C_LIB_NAME@ @PTHREAD_LIBS@ @MYSQLPP_EXTRA_LIBS@ $(LDFLAGS)  -lmysqlpp $(LIBS)

test_ssqls2$(EXEEXT): $(TEST_SSQLS2_OBJECTS) $(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3) $(LIBPREFIX)mysqlpp_ssqls2parse$(LIBEXT) $(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3) $(LIBPREFIX)mysqlpp_ssqls2parse$(LIBEXT)
	$(CXX) -o $@ $(TEST_SSQLS2_OBJECTS)    -L. -L@MYSQL_C_LIB_DIR@ -l@MYSQL_C_LIB_NAME@ @PTHREAD_LIBS@ @MYSQLPP_EXTRA_LIBS@ $(LDFLAGS)  -lmysqlpp -lmysqlpp_ssqls2parse -lmysqlpp -lmysqlpp_ssqls2parse $(LIBS)

test_string$(EXEEXT): $(TEST_STRING_OBJECTS) $(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3)
	$(CXX) -o $@ $(TEST_STRING_OBJECTS)    -L. -L@MYSQL_C_LIB_DIR@ -l@MYSQL_C_LIB_NAME@ @PTHREAD_LIBS@ @MYSQLPP_EXTRA_LIBS@ $(LDFLAGS)  -lmysqlpp $(LIBS)

test_tcp$(EXEEXT): $(TEST_TCP_OBJECTS) $(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3)
	$(CXX) -o $@ $(TEST_TCP_OBJECTS)    -L. -L@MYSQL_C_LIB_DIR@ -l@MYSQL_C_LIB_NAME@ @PTHREAD_LIBS@ @MYSQLPP_EXTRA_LIBS@ $(LDFLAGS)  -lmysqlpp $(LIBS)

test_uds$(EXEEXT): $(TEST_UDS_OBJECTS) $(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3)
	$(CXX) -o $@ $(TEST_UDS_OBJECTS)    -L. -L@MYSQL_C_LIB_DIR@ -l@MYSQL_C_LIB_NAME@ @PTHREAD_LIBS@ @MYSQLPP_EXTRA_LIBS@ $(LDFLAGS)  -lmysqlpp $(LIBS)

test_wnp$(EXEEXT): $(TEST_WNP_OBJECTS) $(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3)
	$(CXX) -o $@ $(TEST_WNP_OBJECTS)    -L. -L@MYSQL_C_LIB_DIR@ -l@MYSQL_C_LIB_NAME@ @PTHREAD_LIBS@ @MYSQLPP_EXTRA_LIBS@ $(LDFLAGS)  -lmysqlpp $(LIBS)

$(LIBPREFIX)mysqlpp_excommon$(LIBEXT): $(EXCOMMON_OBJECTS) $(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3)
	rm -f $@
	$(AR) $(AROPTIONS) $@ $(EXCOMMON_OBJECTS)
	$(RANLIB) $@

cgi_jpeg$(EXEEXT): $(CGI_JPEG_OBJECTS) $(LIBPREFIX)mysqlpp_excommon$(LIBEXT) $(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3)
	$(CXX) -o $@ $(CGI_JPEG_OBJECTS)    -L. -L@MYSQL_C_LIB_DIR@ -l@MYSQL_C_LIB_NAME@ @PTHREAD_LIBS@ @MYSQLPP_EXTRA_LIBS@ $(LDFLAGS)  -lmysqlpp_excommon -lmysqlpp $(LIBS)

cpool$(EXEEXT): $(CPOOL_OBJECTS) $(LIBPREFIX)mysqlpp_excommon$(LIBEXT) $(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3)
	$(CXX) -o $@ $(CPOOL_OBJECTS)    -L. -L@MYSQL_C_LIB_DIR@ -l@MYSQL_C_LIB_NAME@ @PTHREAD_LIBS@ @MYSQLPP_EXTRA_LIBS@ $(LDFLAGS)  -lmysqlpp_excommon -lmysqlpp $(LIBS)

dbinfo$(EXEEXT): $(DBINFO_OBJECTS) $(LIBPREFIX)mysqlpp_excommon$(LIBEXT) $(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3)
	$(CXX) -o $@ $(DBINFO_OBJECTS)    -L. -L@MYSQL_C_LIB_DIR@ -l@MYSQL_C_LIB_NAME@ @PTHREAD_LIBS@ @MYSQLPP_EXTRA_LIBS@ $(LDFLAGS)  -lmysqlpp_excommon -lmysqlpp $(LIBS)

deadlock$(EXEEXT): $(DEADLOCK_OBJECTS) $(LIBPREFIX)mysqlpp_excommon$(LIBEXT) $(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3)
	$(CXX) -o $@ $(DEADLOCK_OBJECTS)    -L. -L@MYSQL_C_LIB_DIR@ -l@MYSQL_C_LIB_NAME@ @PTHREAD_LIBS@ @MYSQLPP_EXTRA_LIBS@ $(LDFLAGS)  -lmysqlpp_excommon -lmysqlpp $(LIBS)

fieldinf$(EXEEXT): $(FIELDINF_OBJECTS) $(LIBPREFIX)mysqlpp_excommon$(LIBEXT) $(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3)
	$(CXX) -o $@ $(FIELDINF_OBJECTS)    -L. -L@MYSQL_C_LIB_DIR@ -l@MYSQL_C_LIB_NAME@ @PTHREAD_LIBS@ @MYSQLPP_EXTRA_LIBS@ $(LDFLAGS)  -lmysqlpp_excommon -lmysqlpp $(LIBS)

for_each$(EXEEXT): $(FOR_EACH_OBJECTS) $(LIBPREFIX)mysqlpp_excommon$(LIBEXT) $(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3)
	$(CXX) -o $@ $(FOR_EACH_OBJECTS)    -L. -L@MYSQL_C_LIB_DIR@ -l@MYSQL_C_LIB_NAME@ @PTHREAD_LIBS@ @MYSQLPP_EXTRA_LIBS@ $(LDFLAGS)  -lmysqlpp_excommon -lmysqlpp $(LIBS)

load_jpeg$(EXEEXT): $(LOAD_JPEG_OBJECTS) $(LIBPREFIX)mysqlpp_excommon$(LIBEXT) $(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3)
	$(CXX) -o $@ $(LOAD_JPEG_OBJECTS)    -L. -L@MYSQL_C_LIB_DIR@ -l@MYSQL_C_LIB_NAME@ @PTHREAD_LIBS@ @MYSQLPP_EXTRA_LIBS@ $(LDFLAGS)  -lmysqlpp_excommon -lmysqlpp $(LIBS)

multiquery$(EXEEXT): $(MULTIQUERY_OBJECTS) $(LIBPREFIX)mysqlpp_excommon$(LIBEXT) $(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3)
	$(CXX) -o $@ $(MULTIQUERY_OBJECTS)    -L. -L@MYSQL_C_LIB_DIR@ -l@MYSQL_C_LIB_NAME@ @PTHREAD_LIBS@ @MYSQLPP_EXTRA_LIBS@ $(LDFLAGS)  -lmysqlpp_excommon -lmysqlpp $(LIBS)

resetdb$(EXEEXT): $(RESETDB_OBJECTS) $(LIBPREFIX)mysqlpp_excommon$(LIBEXT) $(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3)
	$(CXX) -o $@ $(RESETDB_OBJECTS)    -L. -L@MYSQL_C_LIB_DIR@ -l@MYSQL_C_LIB_NAME@ @PTHREAD_LIBS@ @MYSQLPP_EXTRA_LIBS@ $(LDFLAGS)  -lmysqlpp_excommon -lmysqlpp $(LIBS)

simple1$(EXEEXT): $(SIMPLE1_OBJECTS) $(LIBPREFIX)mysqlpp_excommon$(LIBEXT) $(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3)
	$(CXX) -o $@ $(SIMPLE1_OBJECTS)    -L. -L@MYSQL_C_LIB_DIR@ -l@MYSQL_C_LIB_NAME@ @PTHREAD_LIBS@ @MYSQLPP_EXTRA_LIBS@ $(LDFLAGS)  -lmysqlpp_excommon -lmysqlpp $(LIBS)

simple2$(EXEEXT): $(SIMPLE2_OBJECTS) $(LIBPREFIX)mysqlpp_excommon$(LIBEXT) $(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3)
	$(CXX) -o $@ $(SIMPLE2_OBJECTS)    -L. -L@MYSQL_C_LIB_DIR@ -l@MYSQL_C_LIB_NAME@ @PTHREAD_LIBS@ @MYSQLPP_EXTRA_LIBS@ $(LDFLAGS)  -lmysqlpp_excommon -lmysqlpp $(LIBS)

simple3$(EXEEXT): $(SIMPLE3_OBJECTS) $(LIBPREFIX)mysqlpp_excommon$(LIBEXT) $(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3)
	$(CXX) -o $@ $(SIMPLE3_OBJECTS)    -L. -L@MYSQL_C_LIB_DIR@ -l@MYSQL_C_LIB_NAME@ @PTHREAD_LIBS@ @MYSQLPP_EXTRA_LIBS@ $(LDFLAGS)  -lmysqlpp_excommon -lmysqlpp $(LIBS)

ssqls1$(EXEEXT): $(SSQLS1_OBJECTS) $(LIBPREFIX)mysqlpp_excommon$(LIBEXT) $(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3)
	$(CXX) -o $@ $(SSQLS1_OBJECTS)    -L. -L@MYSQL_C_LIB_DIR@ -l@MYSQL_C_LIB_NAME@ @PTHREAD_LIBS@ @MYSQLPP_EXTRA_LIBS@ $(LDFLAGS)  -lmysqlpp_excommon -lmysqlpp $(LIBS)

ssqls2$(EXEEXT): $(SSQLS2_OBJECTS) $(LIBPREFIX)mysqlpp_excommon$(LIBEXT) $(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3)
	$(CXX) -o $@ $(SSQLS2_OBJECTS)    -L. -L@MYSQL_C_LIB_DIR@ -l@MYSQL_C_LIB_NAME@ @PTHREAD_LIBS@ @MYSQLPP_EXTRA_LIBS@ $(LDFLAGS)  -lmysqlpp_excommon -lmysqlpp $(LIBS)

ssqls3$(EXEEXT): $(SSQLS3_OBJECTS) $(LIBPREFIX)mysqlpp_excommon$(LIBEXT) $(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3)
	$(CXX) -o $@ $(SSQLS3_OBJECTS)    -L. -L@MYSQL_C_LIB_DIR@ -l@MYSQL_C_LIB_NAME@ @PTHREAD_LIBS@ @MYSQLPP_EXTRA_LIBS@ $(LDFLAGS)  -lmysqlpp_excommon -lmysqlpp $(LIBS)

ssqls4$(EXEEXT): $(SSQLS4_OBJECTS) $(LIBPREFIX)mysqlpp_excommon$(LIBEXT) $(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3)
	$(CXX) -o $@ $(SSQLS4_OBJECTS)    -L. -L@MYSQL_C_LIB_DIR@ -l@MYSQL_C_LIB_NAME@ @PTHREAD_LIBS@ @MYSQLPP_EXTRA_LIBS@ $(LDFLAGS)  -lmysqlpp_excommon -lmysqlpp $(LIBS)

ssqls5$(EXEEXT): $(SSQLS5_OBJECTS) $(LIBPREFIX)mysqlpp_excommon$(LIBEXT) $(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3)
	$(CXX) -o $@ $(SSQLS5_OBJECTS)    -L. -L@MYSQL_C_LIB_DIR@ -l@MYSQL_C_LIB_NAME@ @PTHREAD_LIBS@ @MYSQLPP_EXTRA_LIBS@ $(LDFLAGS)  -lmysqlpp_excommon -lmysqlpp $(LIBS)

ssqls6$(EXEEXT): $(SSQLS6_OBJECTS) $(LIBPREFIX)mysqlpp_excommon$(LIBEXT) $(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3)
	$(CXX) -o $@ $(SSQLS6_OBJECTS)    -L. -L@MYSQL_C_LIB_DIR@ -l@MYSQL_C_LIB_NAME@ @PTHREAD_LIBS@ @MYSQLPP_EXTRA_LIBS@ $(LDFLAGS)  -lmysqlpp_excommon -lmysqlpp $(LIBS)

store_if$(EXEEXT): $(STORE_IF_OBJECTS) $(LIBPREFIX)mysqlpp_excommon$(LIBEXT) $(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3)
	$(CXX) -o $@ $(STORE_IF_OBJECTS)    -L. -L@MYSQL_C_LIB_DIR@ -l@MYSQL_C_LIB_NAME@ @PTHREAD_LIBS@ @MYSQLPP_EXTRA_LIBS@ $(LDFLAGS)  -lmysqlpp_excommon -lmysqlpp $(LIBS)

tquery1$(EXEEXT): $(TQUERY1_OBJECTS) $(LIBPREFIX)mysqlpp_excommon$(LIBEXT) $(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3)
	$(CXX) -o $@ $(TQUERY1_OBJECTS)    -L. -L@MYSQL_C_LIB_DIR@ -l@MYSQL_C_LIB_NAME@ @PTHREAD_LIBS@ @MYSQLPP_EXTRA_LIBS@ $(LDFLAGS)  -lmysqlpp_excommon -lmysqlpp $(LIBS)

tquery2$(EXEEXT): $(TQUERY2_OBJECTS) $(LIBPREFIX)mysqlpp_excommon$(LIBEXT) $(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3)
	$(CXX) -o $@ $(TQUERY2_OBJECTS)    -L. -L@MYSQL_C_LIB_DIR@ -l@MYSQL_C_LIB_NAME@ @PTHREAD_LIBS@ @MYSQLPP_EXTRA_LIBS@ $(LDFLAGS)  -lmysqlpp_excommon -lmysqlpp $(LIBS)

tquery3$(EXEEXT): $(TQUERY3_OBJECTS) $(LIBPREFIX)mysqlpp_excommon$(LIBEXT) $(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3)
	$(CXX) -o $@ $(TQUERY3_OBJECTS)    -L. -L@MYSQL_C_LIB_DIR@ -l@MYSQL_C_LIB_NAME@ @PTHREAD_LIBS@ @MYSQLPP_EXTRA_LIBS@ $(LDFLAGS)  -lmysqlpp_excommon -lmysqlpp $(LIBS)

tquery4$(EXEEXT): $(TQUERY4_OBJECTS) $(LIBPREFIX)mysqlpp_excommon$(LIBEXT) $(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3)
	$(CXX) -o $@ $(TQUERY4_OBJECTS)    -L. -L@MYSQL_C_LIB_DIR@ -l@MYSQL_C_LIB_NAME@ @PTHREAD_LIBS@ @MYSQLPP_EXTRA_LIBS@ $(LDFLAGS)  -lmysqlpp_excommon -lmysqlpp $(LIBS)

transaction$(EXEEXT): $(TRANSACTION_OBJECTS) $(LIBPREFIX)mysqlpp_excommon$(LIBEXT) $(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3)
	$(CXX) -o $@ $(TRANSACTION_OBJECTS)    -L. -L@MYSQL_C_LIB_DIR@ -l@MYSQL_C_LIB_NAME@ @PTHREAD_LIBS@ @MYSQLPP_EXTRA_LIBS@ $(LDFLAGS)  -lmysqlpp_excommon -lmysqlpp $(LIBS)

Makefile: configure.ac install.hta.in mysql++.bkl mysql++.spec.in doc/userman/userman.dbx.in lib/Doxyfile.in lib/mysql++.h.in ssx/Doxyfile.in
	bakefile_gen
	./config.status

lib/ssqls.h: lib/ssqls.pl
	cd lib ; ./ssqls.pl

lib/querydef.h: lib/querydef.pl
	cd lib ; ./querydef.pl

tags: 
	ctags --recurse=yes .

ctags: tags

doc/html/refman/index.html: lib/Doxyfile lib/*.cpp lib/*.h
	cd lib ; doxygen > /dev/null

doc/html/refman/ssx/index.html: ssx/Doxyfile ssx/*.cpp ssx/*.h
	cd ssx ; doxygen > /dev/null

doc/html/userman/index.html: doc/userman/*.dbx doc/userman/userman.dbx.in
	cd doc/userman ; make html pdf

doc: doc/html/refman/index.html doc/html/refman/ssx/index.html doc/html/userman/index.html

@PACKAGE_NAME@-@PACKAGE_VERSION@: 
	for d in config \
	doc/html/refman/search \
	doc/html/refman/ssx \
	doc/html/userman \
	doc/refman/search \
	doc/userman \
	examples \
	lib \
	ssx \
	test ; \
	do \
	mkdir -p @PACKAGE_NAME@-@PACKAGE_VERSION@/$$d ; \
	done
	cp -RL *.bat *.in *.md *.txt abi.xml aclocal.m4 \
	Bakefiles.bkgen bootstrap cleanmf config.guess config.h \
	config.sub configure* dtest exrun install* Makefile.* \
	mysql++.* osver @PACKAGE_NAME@-@PACKAGE_VERSION@
	for d in vc200? ; do \
	mkdir -p @PACKAGE_NAME@-@PACKAGE_VERSION@/$$d ; \
	cp $$d/*.sln $$d/*.vcproj @PACKAGE_NAME@-@PACKAGE_VERSION@/$$d ; \
	done
	cp config/*.m4 @PACKAGE_NAME@-@PACKAGE_VERSION@/config
	cp doc/userman/userman.dbx.in @PACKAGE_NAME@-@PACKAGE_VERSION@/doc/userman
	for e in cpp h jpg txt ; \
	do \
	cp examples/*.$$e @PACKAGE_NAME@-@PACKAGE_VERSION@/examples ; \
	done
	for d in mfc wforms ; \
	do \
	mkdir -p @PACKAGE_NAME@-@PACKAGE_VERSION@/examples/vstudio/$$d ; \
	cp examples/vstudio/$$d/* @PACKAGE_NAME@-@PACKAGE_VERSION@/examples/vstudio/$$d ; \
	done
	cp lib/*.cpp lib/*.h lib/*.in lib/*.pl @PACKAGE_NAME@-@PACKAGE_VERSION@/lib
	cp test/*.cpp @PACKAGE_NAME@-@PACKAGE_VERSION@/test
	cp ssx/*.cpp ssx/*.h ssx/*.in @PACKAGE_NAME@-@PACKAGE_VERSION@/ssx
	cd @PACKAGE_NAME@-@PACKAGE_VERSION@ ; ./bootstrap nodoc nomaint
	rm -f @PACKAGE_NAME@-@PACKAGE_VERSION@/Makefile
	rm -f @PACKAGE_NAME@-@PACKAGE_VERSION@/config.log
	rm -f @PACKAGE_NAME@-@PACKAGE_VERSION@/config.status
	rm -fr @PACKAGE_NAME@-@PACKAGE_VERSION@/autom4te.cache

abicheck: 
	abi-compliance-checker -lib mysqlpp -dump abi.xml
	abi-compliance-checker -lib mysqlpp \
	-old ../3.1.0/abi_dumps/mysqlpp/mysqlpp_3.1.0.abi.tar.gz \
	-new ./abi_dumps/mysqlpp/mysqlpp_@PACKAGE_VERSION@.abi.tar.gz
	mv compat_reports/mysqlpp/*/compat_report.html ~/Desktop
	find compat_reports -empty -delete

dist: doc @PACKAGE_NAME@-@PACKAGE_VERSION@
	tar -chz -f @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz @PACKAGE_NAME@-@PACKAGE_VERSION@
	rm -rf @PACKAGE_NAME@-@PACKAGE_VERSION@

rpm-prep: dist
	cp @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz ~/rpmbuild/SOURCES
	cd ~/rpmbuild/SPECS

rpm: rpm-prep
	rpmbuild -ba mysql++.spec

srpm: rpm-prep
	rpmbuild -bs mysql++.spec

ebuild: dist
	cp @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz /usr/portage/distfiles
	cp mysql++.ebuild /usr/portage/dev-db/mysql++/@PACKAGE_NAME@-@PACKAGE_VERSION@.ebuild
	ebuild /usr/portage/dev-db/mysql++/@PACKAGE_NAME@-@PACKAGE_VERSION@.ebuild digest

mysqlpp_beemutex.o: $(srcdir)/lib/beemutex.cpp
	$(CXXC) -c -o $@ $(MYSQLPP_CXXFLAGS) $(srcdir)/lib/beemutex.cpp

mysqlpp_cmdline.o: $(srcdir)/lib/cmdline.cpp
	$(CXXC) -c -o $@ $(MYSQLPP_CXXFLAGS) $(srcdir)/lib/cmdline.cpp

mysqlpp_connection.o: $(srcdir)/lib/connection.cpp
	$(CXXC) -c -o $@ $(MYSQLPP_CXXFLAGS) $(srcdir)/lib/connection.cpp

mysqlpp_cpool.o: $(srcdir)/lib/cpool.cpp
	$(CXXC) -c -o $@ $(MYSQLPP_CXXFLAGS) $(srcdir)/lib/cpool.cpp

mysqlpp_datetime.o: $(srcdir)/lib/datetime.cpp
	$(CXXC) -c -o $@ $(MYSQLPP_CXXFLAGS) $(srcdir)/lib/datetime.cpp

mysqlpp_dbdriver.o: $(srcdir)/lib/dbdriver.cpp
	$(CXXC) -c -o $@ $(MYSQLPP_CXXFLAGS) $(srcdir)/lib/dbdriver.cpp

mysqlpp_field_names.o: $(srcdir)/lib/field_names.cpp
	$(CXXC) -c -o $@ $(MYSQLPP_CXXFLAGS) $(srcdir)/lib/field_names.cpp

mysqlpp_field_types.o: $(srcdir)/lib/field_types.cpp
	$(CXXC) -c -o $@ $(MYSQLPP_CXXFLAGS) $(srcdir)/lib/field_types.cpp

mysqlpp_manip.o: $(srcdir)/lib/manip.cpp
	$(CXXC) -c -o $@ $(MYSQLPP_CXXFLAGS) $(srcdir)/lib/manip.cpp

mysqlpp_myset.o: $(srcdir)/lib/myset.cpp
	$(CXXC) -c -o $@ $(MYSQLPP_CXXFLAGS) $(srcdir)/lib/myset.cpp

mysqlpp_mysql++.o: $(srcdir)/lib/mysql++.cpp
	$(CXXC) -c -o $@ $(MYSQLPP_CXXFLAGS) $(srcdir)/lib/mysql++.cpp

mysqlpp_mystring.o: $(srcdir)/lib/mystring.cpp
	$(CXXC) -c -o $@ $(MYSQLPP_CXXFLAGS) $(srcdir)/lib/mystring.cpp

mysqlpp_null.o: $(srcdir)/lib/null.cpp
	$(CXXC) -c -o $@ $(MYSQLPP_CXXFLAGS) $(srcdir)/lib/null.cpp

mysqlpp_options.o: $(srcdir)/lib/options.cpp
	$(CXXC) -c -o $@ $(MYSQLPP_CXXFLAGS) $(srcdir)/lib/options.cpp

mysqlpp_qparms.o: $(srcdir)/lib/qparms.cpp
	$(CXXC) -c -o $@ $(MYSQLPP_CXXFLAGS) $(srcdir)/lib/qparms.cpp

mysqlpp_query.o: $(srcdir)/lib/query.cpp
	$(CXXC) -c -o $@ $(MYSQLPP_CXXFLAGS) $(srcdir)/lib/query.cpp

mysqlpp_result.o: $(srcdir)/lib/result.cpp
	$(CXXC) -c -o $@ $(MYSQLPP_CXXFLAGS) $(srcdir)/lib/result.cpp

mysqlpp_row.o: $(srcdir)/lib/row.cpp
	$(CXXC) -c -o $@ $(MYSQLPP_CXXFLAGS) $(srcdir)/lib/row.cpp

mysqlpp_scopedconnection.o: $(srcdir)/lib/scopedconnection.cpp
	$(CXXC) -c -o $@ $(MYSQLPP_CXXFLAGS) $(srcdir)/lib/scopedconnection.cpp

mysqlpp_sql_buffer.o: $(srcdir)/lib/sql_buffer.cpp
	$(CXXC) -c -o $@ $(MYSQLPP_CXXFLAGS) $(srcdir)/lib/sql_buffer.cpp

mysqlpp_sqlstream.o: $(srcdir)/lib/sqlstream.cpp
	$(CXXC) -c -o $@ $(MYSQLPP_CXXFLAGS) $(srcdir)/lib/sqlstream.cpp

mysqlpp_ssqls2.o: $(srcdir)/lib/ssqls2.cpp
	$(CXXC) -c -o $@ $(MYSQLPP_CXXFLAGS) $(srcdir)/lib/ssqls2.cpp

mysqlpp_stadapter.o: $(srcdir)/lib/stadapter.cpp
	$(CXXC) -c -o $@ $(MYSQLPP_CXXFLAGS) $(srcdir)/lib/stadapter.cpp

mysqlpp_tcp_connection.o: $(srcdir)/lib/tcp_connection.cpp
	$(CXXC) -c -o $@ $(MYSQLPP_CXXFLAGS) $(srcdir)/lib/tcp_connection.cpp

mysqlpp_transaction.o: $(srcdir)/lib/transaction.cpp
	$(CXXC) -c -o $@ $(MYSQLPP_CXXFLAGS) $(srcdir)/lib/transaction.cpp

mysqlpp_type_info.o: $(srcdir)/lib/type_info.cpp
	$(CXXC) -c -o $@ $(MYSQLPP_CXXFLAGS) $(srcdir)/lib/type_info.cpp

mysqlpp_uds_connection.o: $(srcdir)/lib/uds_connection.cpp
	$(CXXC) -c -o $@ $(MYSQLPP_CXXFLAGS) $(srcdir)/lib/uds_connection.cpp

mysqlpp_utility.o: $(srcdir)/lib/utility.cpp
	$(CXXC) -c -o $@ $(MYSQLPP_CXXFLAGS) $(srcdir)/lib/utility.cpp

mysqlpp_vallist.o: $(srcdir)/lib/vallist.cpp
	$(CXXC) -c -o $@ $(MYSQLPP_CXXFLAGS) $(srcdir)/lib/vallist.cpp

mysqlpp_wnp_connection.o: $(srcdir)/lib/wnp_connection.cpp
	$(CXXC) -c -o $@ $(MYSQLPP_CXXFLAGS) $(srcdir)/lib/wnp_connection.cpp

ssqls2parse_parsev2.o: $(srcdir)/ssx/parsev2.cpp
	$(CXXC) -c -o $@ $(SSQLS2PARSE_CXXFLAGS) $(srcdir)/ssx/parsev2.cpp

ssqlsxlat_genv2.o: $(srcdir)/ssx/genv2.cpp
	$(CXXC) -c -o $@ $(SSQLSXLAT_CXXFLAGS) $(srcdir)/ssx/genv2.cpp

ssqlsxlat_main.o: $(srcdir)/ssx/main.cpp
	$(CXXC) -c -o $@ $(SSQLSXLAT_CXXFLAGS) $(srcdir)/ssx/main.cpp

test_array_index_array_index.o: $(srcdir)/test/array_index.cpp
	$(CXXC) -c -o $@ $(TEST_ARRAY_INDEX_CXXFLAGS) $(srcdir)/test/array_index.cpp

test_cpool_cpool.o: $(srcdir)/test/cpool.cpp
	$(CXXC) -c -o $@ $(TEST_CPOOL_CXXFLAGS) $(srcdir)/test/cpool.cpp

test_datetime_datetime.o: $(srcdir)/test/datetime.cpp
	$(CXXC) -c -o $@ $(TEST_DATETIME_CXXFLAGS) $(srcdir)/test/datetime.cpp

test_inttypes_inttypes.o: $(srcdir)/test/inttypes.cpp
	$(CXXC) -c -o $@ $(TEST_INTTYPES_CXXFLAGS) $(srcdir)/test/inttypes.cpp

test_insertpolicy_insertpolicy.o: $(srcdir)/test/insertpolicy.cpp
	$(CXXC) -c -o $@ $(TEST_INSERTPOLICY_CXXFLAGS) $(srcdir)/test/insertpolicy.cpp

test_manip_manip.o: $(srcdir)/test/manip.cpp
	$(CXXC) -c -o $@ $(TEST_MANIP_CXXFLAGS) $(srcdir)/test/manip.cpp

test_null_comparison_null_comparison.o: $(srcdir)/test/null_comparison.cpp
	$(CXXC) -c -o $@ $(TEST_NULL_COMPARISON_CXXFLAGS) $(srcdir)/test/null_comparison.cpp

test_query_copy_query_copy.o: $(srcdir)/test/query_copy.cpp
	$(CXXC) -c -o $@ $(TEST_QUERY_COPY_CXXFLAGS) $(srcdir)/test/query_copy.cpp

test_qssqls_qssqls.o: $(srcdir)/test/qssqls.cpp
	$(CXXC) -c -o $@ $(TEST_QSSQLS_CXXFLAGS) $(srcdir)/test/qssqls.cpp

test_qstream_qstream.o: $(srcdir)/test/qstream.cpp
	$(CXXC) -c -o $@ $(TEST_QSTREAM_CXXFLAGS) $(srcdir)/test/qstream.cpp

test_sqlstream_sqlstream.o: $(srcdir)/test/sqlstream.cpp
	$(CXXC) -c -o $@ $(TEST_SQLSTREAM_CXXFLAGS) $(srcdir)/test/sqlstream.cpp

test_ssqls2_ssqls2.o: $(srcdir)/test/ssqls2.cpp
	$(CXXC) -c -o $@ $(TEST_SSQLS2_CXXFLAGS) $(srcdir)/test/ssqls2.cpp

test_string_string.o: $(srcdir)/test/string.cpp
	$(CXXC) -c -o $@ $(TEST_STRING_CXXFLAGS) $(srcdir)/test/string.cpp

test_tcp_tcp.o: $(srcdir)/test/tcp.cpp
	$(CXXC) -c -o $@ $(TEST_TCP_CXXFLAGS) $(srcdir)/test/tcp.cpp

test_uds_uds.o: $(srcdir)/test/uds.cpp
	$(CXXC) -c -o $@ $(TEST_UDS_CXXFLAGS) $(srcdir)/test/uds.cpp

test_wnp_wnp.o: $(srcdir)/test/wnp.cpp
	$(CXXC) -c -o $@ $(TEST_WNP_CXXFLAGS) $(srcdir)/test/wnp.cpp

excommon_printdata.o: $(srcdir)/examples/printdata.cpp
	$(CXXC) -c -o $@ $(EXCOMMON_CXXFLAGS) $(srcdir)/examples/printdata.cpp

cgi_jpeg_cgi_jpeg.o: $(srcdir)/examples/cgi_jpeg.cpp
	$(CXXC) -c -o $@ $(CGI_JPEG_CXXFLAGS) $(srcdir)/examples/cgi_jpeg.cpp

cpool_cpool.o: $(srcdir)/examples/cpool.cpp
	$(CXXC) -c -o $@ $(CPOOL_CXXFLAGS) $(srcdir)/examples/cpool.cpp

dbinfo_dbinfo.o: $(srcdir)/examples/dbinfo.cpp
	$(CXXC) -c -o $@ $(DBINFO_CXXFLAGS) $(srcdir)/examples/dbinfo.cpp

deadlock_deadlock.o: $(srcdir)/examples/deadlock.cpp
	$(CXXC) -c -o $@ $(DEADLOCK_CXXFLAGS) $(srcdir)/examples/deadlock.cpp

fieldinf_fieldinf.o: $(srcdir)/examples/fieldinf.cpp
	$(CXXC) -c -o $@ $(FIELDINF_CXXFLAGS) $(srcdir)/examples/fieldinf.cpp

for_each_for_each.o: $(srcdir)/examples/for_each.cpp
	$(CXXC) -c -o $@ $(FOR_EACH_CXXFLAGS) $(srcdir)/examples/for_each.cpp

load_jpeg_load_jpeg.o: $(srcdir)/examples/load_jpeg.cpp
	$(CXXC) -c -o $@ $(LOAD_JPEG_CXXFLAGS) $(srcdir)/examples/load_jpeg.cpp

multiquery_multiquery.o: $(srcdir)/examples/multiquery.cpp
	$(CXXC) -c -o $@ $(MULTIQUERY_CXXFLAGS) $(srcdir)/examples/multiquery.cpp

resetdb_resetdb.o: $(srcdir)/examples/resetdb.cpp
	$(CXXC) -c -o $@ $(RESETDB_CXXFLAGS) $(srcdir)/examples/resetdb.cpp

simple1_simple1.o: $(srcdir)/examples/simple1.cpp
	$(CXXC) -c -o $@ $(SIMPLE1_CXXFLAGS) $(srcdir)/examples/simple1.cpp

simple2_simple2.o: $(srcdir)/examples/simple2.cpp
	$(CXXC) -c -o $@ $(SIMPLE2_CXXFLAGS) $(srcdir)/examples/simple2.cpp

simple3_simple3.o: $(srcdir)/examples/simple3.cpp
	$(CXXC) -c -o $@ $(SIMPLE3_CXXFLAGS) $(srcdir)/examples/simple3.cpp

ssqls1_ssqls1.o: $(srcdir)/examples/ssqls1.cpp
	$(CXXC) -c -o $@ $(SSQLS1_CXXFLAGS) $(srcdir)/examples/ssqls1.cpp

ssqls2_ssqls2.o: $(srcdir)/examples/ssqls2.cpp
	$(CXXC) -c -o $@ $(SSQLS2_CXXFLAGS) $(srcdir)/examples/ssqls2.cpp

ssqls3_ssqls3.o: $(srcdir)/examples/ssqls3.cpp
	$(CXXC) -c -o $@ $(SSQLS3_CXXFLAGS) $(srcdir)/examples/ssqls3.cpp

ssqls4_ssqls4.o: $(srcdir)/examples/ssqls4.cpp
	$(CXXC) -c -o $@ $(SSQLS4_CXXFLAGS) $(srcdir)/examples/ssqls4.cpp

ssqls5_ssqls5.o: $(srcdir)/examples/ssqls5.cpp
	$(CXXC) -c -o $@ $(SSQLS5_CXXFLAGS) $(srcdir)/examples/ssqls5.cpp

ssqls6_ssqls6.o: $(srcdir)/examples/ssqls6.cpp
	$(CXXC) -c -o $@ $(SSQLS6_CXXFLAGS) $(srcdir)/examples/ssqls6.cpp

store_if_store_if.o: $(srcdir)/examples/store_if.cpp
	$(CXXC) -c -o $@ $(STORE_IF_CXXFLAGS) $(srcdir)/examples/store_if.cpp

tquery1_tquery1.o: $(srcdir)/examples/tquery1.cpp
	$(CXXC) -c -o $@ $(TQUERY1_CXXFLAGS) $(srcdir)/examples/tquery1.cpp

tquery2_tquery2.o: $(srcdir)/examples/tquery2.cpp
	$(CXXC) -c -o $@ $(TQUERY2_CXXFLAGS) $(srcdir)/examples/tquery2.cpp

tquery3_tquery3.o: $(srcdir)/examples/tquery3.cpp
	$(CXXC) -c -o $@ $(TQUERY3_CXXFLAGS) $(srcdir)/examples/tquery3.cpp

tquery4_tquery4.o: $(srcdir)/examples/tquery4.cpp
	$(CXXC) -c -o $@ $(TQUERY4_CXXFLAGS) $(srcdir)/examples/tquery4.cpp

transaction_transaction.o: $(srcdir)/examples/transaction.cpp
	$(CXXC) -c -o $@ $(TRANSACTION_CXXFLAGS) $(srcdir)/examples/transaction.cpp


# Include dependency info, if present:
@IF_GNU_MAKE@-include ./.deps/*.d

.PHONY: all install uninstall clean distclean install_mysqlpp uninstall_mysqlpp \
	tags
