DELETED Makefile.mingw Index: Makefile.mingw ================================================================== --- Makefile.mingw +++ /dev/null @@ -1,377 +0,0 @@ -# ========================================================================= -# This makefile was generated by -# Bakefile 0.2.2 (http://www.bakefile.org) -# Do not modify, all changes will be overwritten! -# ========================================================================= - - - -# ------------------------------------------------------------------------- -# These are configurable options: -# ------------------------------------------------------------------------- - -# Compiler flags to link shared library -LINK_DLL_FLAGS := -shared - -# C++ compiler -CXX := g++ - -# Standard flags for C++ -CXXFLAGS := - -# Standard preprocessor flags (common for CC and CXX) -CPPFLAGS := - -# Standard linker flags -LDFLAGS := - -# Type of compiled binaries [debug,release] -BUILD := debug - - - -# ------------------------------------------------------------------------- -# Do not modify the rest of this file! -# ------------------------------------------------------------------------- - -### Variables: ### - -CPPDEPS = -MT$@ -MF$@.d -MD -MYSQLPP_CXXFLAGS = $(__DEBUGINFO) -mthreads -D_UNICODE -DMYSQLPP_NO_DLL \ - -DHAVE_MYSQL_SSL_SET -I"C:\Program Files\MySQL\MySQL Server 5.0\include" \ - $(CPPFLAGS) $(CXXFLAGS) -MYSQLPP_OBJECTS = \ - mysqlpp_coldata.o \ - mysqlpp_connection.o \ - mysqlpp_datetime.o \ - mysqlpp_field_names.o \ - mysqlpp_fields.o \ - mysqlpp_field_types.o \ - mysqlpp_manip.o \ - mysqlpp_myset.o \ - mysqlpp_mysql++.o \ - mysqlpp_qparms.o \ - mysqlpp_query.o \ - mysqlpp_result.o \ - mysqlpp_row.o \ - mysqlpp_sql_string.o \ - mysqlpp_string_util.o \ - mysqlpp_transaction.o \ - mysqlpp_type_info.o \ - mysqlpp_vallist.o -UTIL_CXXFLAGS = -mthreads $(__DEBUGINFO) -Ilib -D_UNICODE -DMYSQLPP_NO_DLL \ - -I"C:\Program Files\MySQL\MySQL Server 5.0\include" $(CPPFLAGS) $(CXXFLAGS) -UTIL_OBJECTS = \ - util_util.o -RESETDB_CXXFLAGS = -mthreads $(__DEBUGINFO) -Ilib -D_UNICODE -DMYSQLPP_NO_DLL \ - -I"C:\Program Files\MySQL\MySQL Server 5.0\include" $(CPPFLAGS) $(CXXFLAGS) -RESETDB_OBJECTS = \ - resetdb_resetdb.o -SIMPLE1_CXXFLAGS = -mthreads $(__DEBUGINFO) -Ilib -D_UNICODE -DMYSQLPP_NO_DLL \ - -I"C:\Program Files\MySQL\MySQL Server 5.0\include" $(CPPFLAGS) $(CXXFLAGS) -SIMPLE1_OBJECTS = \ - simple1_simple1.o -SIMPLE2_CXXFLAGS = -mthreads $(__DEBUGINFO) -Ilib -D_UNICODE -DMYSQLPP_NO_DLL \ - -I"C:\Program Files\MySQL\MySQL Server 5.0\include" $(CPPFLAGS) $(CXXFLAGS) -SIMPLE2_OBJECTS = \ - simple2_simple2.o -SIMPLE3_CXXFLAGS = -mthreads $(__DEBUGINFO) -Ilib -D_UNICODE -DMYSQLPP_NO_DLL \ - -I"C:\Program Files\MySQL\MySQL Server 5.0\include" $(CPPFLAGS) $(CXXFLAGS) -SIMPLE3_OBJECTS = \ - simple3_simple3.o -MULTIQUERY_CXXFLAGS = -mthreads $(__DEBUGINFO) -Ilib -D_UNICODE -DMYSQLPP_NO_DLL \ - -I"C:\Program Files\MySQL\MySQL Server 5.0\include" $(CPPFLAGS) $(CXXFLAGS) -MULTIQUERY_OBJECTS = \ - multiquery_multiquery.o -TQUERY_CXXFLAGS = -mthreads $(__DEBUGINFO) -Ilib -D_UNICODE -DMYSQLPP_NO_DLL \ - -I"C:\Program Files\MySQL\MySQL Server 5.0\include" $(CPPFLAGS) $(CXXFLAGS) -TQUERY_OBJECTS = \ - tquery_tquery.o -USEQUERY_CXXFLAGS = -mthreads $(__DEBUGINFO) -Ilib -D_UNICODE -DMYSQLPP_NO_DLL \ - -I"C:\Program Files\MySQL\MySQL Server 5.0\include" $(CPPFLAGS) $(CXXFLAGS) -USEQUERY_OBJECTS = \ - usequery_usequery.o -CUSTOM1_CXXFLAGS = -mthreads $(__DEBUGINFO) -Ilib -D_UNICODE -DMYSQLPP_NO_DLL \ - -I"C:\Program Files\MySQL\MySQL Server 5.0\include" $(CPPFLAGS) $(CXXFLAGS) -CUSTOM1_OBJECTS = \ - custom1_custom1.o -CUSTOM2_CXXFLAGS = -mthreads $(__DEBUGINFO) -Ilib -D_UNICODE -DMYSQLPP_NO_DLL \ - -I"C:\Program Files\MySQL\MySQL Server 5.0\include" $(CPPFLAGS) $(CXXFLAGS) -CUSTOM2_OBJECTS = \ - custom2_custom2.o -CUSTOM3_CXXFLAGS = -mthreads $(__DEBUGINFO) -Ilib -D_UNICODE -DMYSQLPP_NO_DLL \ - -I"C:\Program Files\MySQL\MySQL Server 5.0\include" $(CPPFLAGS) $(CXXFLAGS) -CUSTOM3_OBJECTS = \ - custom3_custom3.o -CUSTOM4_CXXFLAGS = -mthreads $(__DEBUGINFO) -Ilib -D_UNICODE -DMYSQLPP_NO_DLL \ - -I"C:\Program Files\MySQL\MySQL Server 5.0\include" $(CPPFLAGS) $(CXXFLAGS) -CUSTOM4_OBJECTS = \ - custom4_custom4.o -CUSTOM5_CXXFLAGS = -mthreads $(__DEBUGINFO) -Ilib -D_UNICODE -DMYSQLPP_NO_DLL \ - -I"C:\Program Files\MySQL\MySQL Server 5.0\include" $(CPPFLAGS) $(CXXFLAGS) -CUSTOM5_OBJECTS = \ - custom5_custom5.o -CUSTOM6_CXXFLAGS = -mthreads $(__DEBUGINFO) -Ilib -D_UNICODE -DMYSQLPP_NO_DLL \ - -I"C:\Program Files\MySQL\MySQL Server 5.0\include" $(CPPFLAGS) $(CXXFLAGS) -CUSTOM6_OBJECTS = \ - custom6_custom6.o -DBINFO_CXXFLAGS = -mthreads $(__DEBUGINFO) -Ilib -D_UNICODE -DMYSQLPP_NO_DLL \ - -I"C:\Program Files\MySQL\MySQL Server 5.0\include" $(CPPFLAGS) $(CXXFLAGS) -DBINFO_OBJECTS = \ - dbinfo_dbinfo.o -FIELDINF1_CXXFLAGS = -mthreads $(__DEBUGINFO) -Ilib -D_UNICODE -DMYSQLPP_NO_DLL \ - -I"C:\Program Files\MySQL\MySQL Server 5.0\include" $(CPPFLAGS) $(CXXFLAGS) -FIELDINF1_OBJECTS = \ - fieldinf1_fieldinf1.o -LOAD_JPEG_CXXFLAGS = -mthreads $(__DEBUGINFO) -Ilib -D_UNICODE -DMYSQLPP_NO_DLL \ - -I"C:\Program Files\MySQL\MySQL Server 5.0\include" $(CPPFLAGS) $(CXXFLAGS) -LOAD_JPEG_OBJECTS = \ - load_jpeg_load_jpeg.o -XACTION_CXXFLAGS = -mthreads $(__DEBUGINFO) -Ilib -D_UNICODE -DMYSQLPP_NO_DLL \ - -I"C:\Program Files\MySQL\MySQL Server 5.0\include" $(CPPFLAGS) $(CXXFLAGS) -XACTION_OBJECTS = \ - xaction_xaction.o -STORE_IF_CXXFLAGS = -mthreads $(__DEBUGINFO) -Ilib -D_UNICODE -DMYSQLPP_NO_DLL \ - -I"C:\Program Files\MySQL\MySQL Server 5.0\include" $(CPPFLAGS) $(CXXFLAGS) -STORE_IF_OBJECTS = \ - store_if_store_if.o -FOR_EACH_CXXFLAGS = -mthreads $(__DEBUGINFO) -Ilib -D_UNICODE -DMYSQLPP_NO_DLL \ - -I"C:\Program Files\MySQL\MySQL Server 5.0\include" $(CPPFLAGS) $(CXXFLAGS) -FOR_EACH_OBJECTS = \ - for_each_for_each.o -CGI_JPEG_CXXFLAGS = -mthreads $(__DEBUGINFO) -Ilib -D_UNICODE -DMYSQLPP_NO_DLL \ - -I"C:\Program Files\MySQL\MySQL Server 5.0\include" $(CPPFLAGS) $(CXXFLAGS) -CGI_JPEG_OBJECTS = \ - cgi_jpeg_cgi_jpeg.o - -### Conditionally set variables: ### - -ifeq ($(BUILD),debug) -__DEBUGINFO = -g -endif -ifeq ($(BUILD),release) -__DEBUGINFO = -endif - - -### Targets: ### - -all: mysqlpp.dll libmysqlpp_util.a resetdb.exe simple1.exe simple2.exe simple3.exe multiquery.exe tquery.exe usequery.exe custom1.exe custom2.exe custom3.exe custom4.exe custom5.exe custom6.exe dbinfo.exe fieldinf1.exe load_jpeg.exe xaction.exe store_if.exe for_each.exe cgi_jpeg.exe - -clean: - -if exist .\*.o del .\*.o - -if exist .\*.d del .\*.d - -if exist mysqlpp.dll del mysqlpp.dll - -if exist libmysqlpp.a del libmysqlpp.a - -if exist libmysqlpp_util.a del libmysqlpp_util.a - -if exist resetdb.exe del resetdb.exe - -if exist simple1.exe del simple1.exe - -if exist simple2.exe del simple2.exe - -if exist simple3.exe del simple3.exe - -if exist multiquery.exe del multiquery.exe - -if exist tquery.exe del tquery.exe - -if exist usequery.exe del usequery.exe - -if exist custom1.exe del custom1.exe - -if exist custom2.exe del custom2.exe - -if exist custom3.exe del custom3.exe - -if exist custom4.exe del custom4.exe - -if exist custom5.exe del custom5.exe - -if exist custom6.exe del custom6.exe - -if exist dbinfo.exe del dbinfo.exe - -if exist fieldinf1.exe del fieldinf1.exe - -if exist load_jpeg.exe del load_jpeg.exe - -if exist xaction.exe del xaction.exe - -if exist store_if.exe del store_if.exe - -if exist for_each.exe del for_each.exe - -if exist cgi_jpeg.exe del cgi_jpeg.exe - -mysqlpp.dll: $(MYSQLPP_OBJECTS) - $(CXX) $(LINK_DLL_FLAGS) -fPIC -o $@ $(MYSQLPP_OBJECTS) $(LDFLAGS) -Wl,--out-implib=libmysqlpp.a $(__DEBUGINFO) -mthreads -L"C:\Program Files\MySQL\MySQL Server 5.0\lib\opt" -lmysqlclient - -libmysqlpp_util.a: $(UTIL_OBJECTS) mysqlpp.dll - if exist $@ del $@ - ar rcu $@ $(UTIL_OBJECTS) - ranlib $@ - -resetdb.exe: $(RESETDB_OBJECTS) libmysqlpp_util.a mysqlpp.dll - $(CXX) -o $@ $(RESETDB_OBJECTS) $(LDFLAGS) -mthreads $(__DEBUGINFO) -L. -Wl,--enable-auto-import -Wl,--enable-runtime-pseudo-reloc -L..\lib -L"C:\Program Files\MySQL\MySQL Server 5.0\lib\opt" -lmysqlpp_util -lmysqlclient -lmysqlpp - -simple1.exe: $(SIMPLE1_OBJECTS) libmysqlpp_util.a mysqlpp.dll - $(CXX) -o $@ $(SIMPLE1_OBJECTS) $(LDFLAGS) -mthreads $(__DEBUGINFO) -L. -Wl,--enable-auto-import -Wl,--enable-runtime-pseudo-reloc -L..\lib -L"C:\Program Files\MySQL\MySQL Server 5.0\lib\opt" -lmysqlpp_util -lmysqlclient -lmysqlpp - -simple2.exe: $(SIMPLE2_OBJECTS) libmysqlpp_util.a mysqlpp.dll - $(CXX) -o $@ $(SIMPLE2_OBJECTS) $(LDFLAGS) -mthreads $(__DEBUGINFO) -L. -Wl,--enable-auto-import -Wl,--enable-runtime-pseudo-reloc -L..\lib -L"C:\Program Files\MySQL\MySQL Server 5.0\lib\opt" -lmysqlpp_util -lmysqlclient -lmysqlpp - -simple3.exe: $(SIMPLE3_OBJECTS) libmysqlpp_util.a mysqlpp.dll - $(CXX) -o $@ $(SIMPLE3_OBJECTS) $(LDFLAGS) -mthreads $(__DEBUGINFO) -L. -Wl,--enable-auto-import -Wl,--enable-runtime-pseudo-reloc -L..\lib -L"C:\Program Files\MySQL\MySQL Server 5.0\lib\opt" -lmysqlpp_util -lmysqlclient -lmysqlpp - -multiquery.exe: $(MULTIQUERY_OBJECTS) libmysqlpp_util.a mysqlpp.dll - $(CXX) -o $@ $(MULTIQUERY_OBJECTS) $(LDFLAGS) -mthreads $(__DEBUGINFO) -L. -Wl,--enable-auto-import -Wl,--enable-runtime-pseudo-reloc -L..\lib -L"C:\Program Files\MySQL\MySQL Server 5.0\lib\opt" -lmysqlpp_util -lmysqlclient -lmysqlpp - -tquery.exe: $(TQUERY_OBJECTS) libmysqlpp_util.a mysqlpp.dll - $(CXX) -o $@ $(TQUERY_OBJECTS) $(LDFLAGS) -mthreads $(__DEBUGINFO) -L. -Wl,--enable-auto-import -Wl,--enable-runtime-pseudo-reloc -L..\lib -L"C:\Program Files\MySQL\MySQL Server 5.0\lib\opt" -lmysqlpp_util -lmysqlclient -lmysqlpp - -usequery.exe: $(USEQUERY_OBJECTS) libmysqlpp_util.a mysqlpp.dll - $(CXX) -o $@ $(USEQUERY_OBJECTS) $(LDFLAGS) -mthreads $(__DEBUGINFO) -L. -Wl,--enable-auto-import -Wl,--enable-runtime-pseudo-reloc -L..\lib -L"C:\Program Files\MySQL\MySQL Server 5.0\lib\opt" -lmysqlpp_util -lmysqlclient -lmysqlpp - -custom1.exe: $(CUSTOM1_OBJECTS) libmysqlpp_util.a mysqlpp.dll - $(CXX) -o $@ $(CUSTOM1_OBJECTS) $(LDFLAGS) -mthreads $(__DEBUGINFO) -L. -Wl,--enable-auto-import -Wl,--enable-runtime-pseudo-reloc -L..\lib -L"C:\Program Files\MySQL\MySQL Server 5.0\lib\opt" -lmysqlpp_util -lmysqlclient -lmysqlpp - -custom2.exe: $(CUSTOM2_OBJECTS) libmysqlpp_util.a mysqlpp.dll - $(CXX) -o $@ $(CUSTOM2_OBJECTS) $(LDFLAGS) -mthreads $(__DEBUGINFO) -L. -Wl,--enable-auto-import -Wl,--enable-runtime-pseudo-reloc -L..\lib -L"C:\Program Files\MySQL\MySQL Server 5.0\lib\opt" -lmysqlpp_util -lmysqlclient -lmysqlpp - -custom3.exe: $(CUSTOM3_OBJECTS) libmysqlpp_util.a mysqlpp.dll - $(CXX) -o $@ $(CUSTOM3_OBJECTS) $(LDFLAGS) -mthreads $(__DEBUGINFO) -L. -Wl,--enable-auto-import -Wl,--enable-runtime-pseudo-reloc -L..\lib -L"C:\Program Files\MySQL\MySQL Server 5.0\lib\opt" -lmysqlpp_util -lmysqlclient -lmysqlpp - -custom4.exe: $(CUSTOM4_OBJECTS) libmysqlpp_util.a mysqlpp.dll - $(CXX) -o $@ $(CUSTOM4_OBJECTS) $(LDFLAGS) -mthreads $(__DEBUGINFO) -L. -Wl,--enable-auto-import -Wl,--enable-runtime-pseudo-reloc -L..\lib -L"C:\Program Files\MySQL\MySQL Server 5.0\lib\opt" -lmysqlpp_util -lmysqlclient -lmysqlpp - -custom5.exe: $(CUSTOM5_OBJECTS) libmysqlpp_util.a mysqlpp.dll - $(CXX) -o $@ $(CUSTOM5_OBJECTS) $(LDFLAGS) -mthreads $(__DEBUGINFO) -L. -Wl,--enable-auto-import -Wl,--enable-runtime-pseudo-reloc -L..\lib -L"C:\Program Files\MySQL\MySQL Server 5.0\lib\opt" -lmysqlpp_util -lmysqlclient -lmysqlpp - -custom6.exe: $(CUSTOM6_OBJECTS) libmysqlpp_util.a mysqlpp.dll - $(CXX) -o $@ $(CUSTOM6_OBJECTS) $(LDFLAGS) -mthreads $(__DEBUGINFO) -L. -Wl,--enable-auto-import -Wl,--enable-runtime-pseudo-reloc -L..\lib -L"C:\Program Files\MySQL\MySQL Server 5.0\lib\opt" -lmysqlpp_util -lmysqlclient -lmysqlpp - -dbinfo.exe: $(DBINFO_OBJECTS) libmysqlpp_util.a mysqlpp.dll - $(CXX) -o $@ $(DBINFO_OBJECTS) $(LDFLAGS) -mthreads $(__DEBUGINFO) -L. -Wl,--enable-auto-import -Wl,--enable-runtime-pseudo-reloc -L..\lib -L"C:\Program Files\MySQL\MySQL Server 5.0\lib\opt" -lmysqlpp_util -lmysqlclient -lmysqlpp - -fieldinf1.exe: $(FIELDINF1_OBJECTS) libmysqlpp_util.a mysqlpp.dll - $(CXX) -o $@ $(FIELDINF1_OBJECTS) $(LDFLAGS) -mthreads $(__DEBUGINFO) -L. -Wl,--enable-auto-import -Wl,--enable-runtime-pseudo-reloc -L..\lib -L"C:\Program Files\MySQL\MySQL Server 5.0\lib\opt" -lmysqlpp_util -lmysqlclient -lmysqlpp - -load_jpeg.exe: $(LOAD_JPEG_OBJECTS) libmysqlpp_util.a mysqlpp.dll - $(CXX) -o $@ $(LOAD_JPEG_OBJECTS) $(LDFLAGS) -mthreads $(__DEBUGINFO) -L. -Wl,--enable-auto-import -Wl,--enable-runtime-pseudo-reloc -L..\lib -L"C:\Program Files\MySQL\MySQL Server 5.0\lib\opt" -lmysqlpp_util -lmysqlclient -lmysqlpp - -xaction.exe: $(XACTION_OBJECTS) libmysqlpp_util.a mysqlpp.dll - $(CXX) -o $@ $(XACTION_OBJECTS) $(LDFLAGS) -mthreads $(__DEBUGINFO) -L. -Wl,--enable-auto-import -Wl,--enable-runtime-pseudo-reloc -L..\lib -L"C:\Program Files\MySQL\MySQL Server 5.0\lib\opt" -lmysqlpp_util -lmysqlclient -lmysqlpp - -store_if.exe: $(STORE_IF_OBJECTS) libmysqlpp_util.a mysqlpp.dll - $(CXX) -o $@ $(STORE_IF_OBJECTS) $(LDFLAGS) -mthreads $(__DEBUGINFO) -L. -Wl,--enable-auto-import -Wl,--enable-runtime-pseudo-reloc -L..\lib -L"C:\Program Files\MySQL\MySQL Server 5.0\lib\opt" -lmysqlpp_util -lmysqlclient -lmysqlpp - -for_each.exe: $(FOR_EACH_OBJECTS) libmysqlpp_util.a mysqlpp.dll - $(CXX) -o $@ $(FOR_EACH_OBJECTS) $(LDFLAGS) -mthreads $(__DEBUGINFO) -L. -Wl,--enable-auto-import -Wl,--enable-runtime-pseudo-reloc -L..\lib -L"C:\Program Files\MySQL\MySQL Server 5.0\lib\opt" -lmysqlpp_util -lmysqlclient -lmysqlpp - -cgi_jpeg.exe: $(CGI_JPEG_OBJECTS) libmysqlpp_util.a mysqlpp.dll - $(CXX) -o $@ $(CGI_JPEG_OBJECTS) $(LDFLAGS) -mthreads $(__DEBUGINFO) -L. -Wl,--enable-auto-import -Wl,--enable-runtime-pseudo-reloc -L..\lib -L"C:\Program Files\MySQL\MySQL Server 5.0\lib\opt" -lmysqlpp_util -lmysqlclient -lmysqlpp - -mysqlpp_coldata.o: ./lib/coldata.cpp - $(CXX) -c -o $@ $(MYSQLPP_CXXFLAGS) $(CPPDEPS) $< - -mysqlpp_connection.o: ./lib/connection.cpp - $(CXX) -c -o $@ $(MYSQLPP_CXXFLAGS) $(CPPDEPS) $< - -mysqlpp_datetime.o: ./lib/datetime.cpp - $(CXX) -c -o $@ $(MYSQLPP_CXXFLAGS) $(CPPDEPS) $< - -mysqlpp_field_names.o: ./lib/field_names.cpp - $(CXX) -c -o $@ $(MYSQLPP_CXXFLAGS) $(CPPDEPS) $< - -mysqlpp_fields.o: ./lib/fields.cpp - $(CXX) -c -o $@ $(MYSQLPP_CXXFLAGS) $(CPPDEPS) $< - -mysqlpp_field_types.o: ./lib/field_types.cpp - $(CXX) -c -o $@ $(MYSQLPP_CXXFLAGS) $(CPPDEPS) $< - -mysqlpp_manip.o: ./lib/manip.cpp - $(CXX) -c -o $@ $(MYSQLPP_CXXFLAGS) $(CPPDEPS) $< - -mysqlpp_myset.o: ./lib/myset.cpp - $(CXX) -c -o $@ $(MYSQLPP_CXXFLAGS) $(CPPDEPS) $< - -mysqlpp_mysql++.o: ./lib/mysql++.cpp - $(CXX) -c -o $@ $(MYSQLPP_CXXFLAGS) $(CPPDEPS) $< - -mysqlpp_qparms.o: ./lib/qparms.cpp - $(CXX) -c -o $@ $(MYSQLPP_CXXFLAGS) $(CPPDEPS) $< - -mysqlpp_query.o: ./lib/query.cpp - $(CXX) -c -o $@ $(MYSQLPP_CXXFLAGS) $(CPPDEPS) $< - -mysqlpp_result.o: ./lib/result.cpp - $(CXX) -c -o $@ $(MYSQLPP_CXXFLAGS) $(CPPDEPS) $< - -mysqlpp_row.o: ./lib/row.cpp - $(CXX) -c -o $@ $(MYSQLPP_CXXFLAGS) $(CPPDEPS) $< - -mysqlpp_sql_string.o: ./lib/sql_string.cpp - $(CXX) -c -o $@ $(MYSQLPP_CXXFLAGS) $(CPPDEPS) $< - -mysqlpp_string_util.o: ./lib/string_util.cpp - $(CXX) -c -o $@ $(MYSQLPP_CXXFLAGS) $(CPPDEPS) $< - -mysqlpp_transaction.o: ./lib/transaction.cpp - $(CXX) -c -o $@ $(MYSQLPP_CXXFLAGS) $(CPPDEPS) $< - -mysqlpp_type_info.o: ./lib/type_info.cpp - $(CXX) -c -o $@ $(MYSQLPP_CXXFLAGS) $(CPPDEPS) $< - -mysqlpp_vallist.o: ./lib/vallist.cpp - $(CXX) -c -o $@ $(MYSQLPP_CXXFLAGS) $(CPPDEPS) $< - -util_util.o: ./examples/util.cpp - $(CXX) -c -o $@ $(UTIL_CXXFLAGS) $(CPPDEPS) $< - -resetdb_resetdb.o: ./examples/resetdb.cpp - $(CXX) -c -o $@ $(RESETDB_CXXFLAGS) $(CPPDEPS) $< - -simple1_simple1.o: ./examples/simple1.cpp - $(CXX) -c -o $@ $(SIMPLE1_CXXFLAGS) $(CPPDEPS) $< - -simple2_simple2.o: ./examples/simple2.cpp - $(CXX) -c -o $@ $(SIMPLE2_CXXFLAGS) $(CPPDEPS) $< - -simple3_simple3.o: ./examples/simple3.cpp - $(CXX) -c -o $@ $(SIMPLE3_CXXFLAGS) $(CPPDEPS) $< - -multiquery_multiquery.o: ./examples/multiquery.cpp - $(CXX) -c -o $@ $(MULTIQUERY_CXXFLAGS) $(CPPDEPS) $< - -tquery_tquery.o: ./examples/tquery.cpp - $(CXX) -c -o $@ $(TQUERY_CXXFLAGS) $(CPPDEPS) $< - -usequery_usequery.o: ./examples/usequery.cpp - $(CXX) -c -o $@ $(USEQUERY_CXXFLAGS) $(CPPDEPS) $< - -custom1_custom1.o: ./examples/custom1.cpp - $(CXX) -c -o $@ $(CUSTOM1_CXXFLAGS) $(CPPDEPS) $< - -custom2_custom2.o: ./examples/custom2.cpp - $(CXX) -c -o $@ $(CUSTOM2_CXXFLAGS) $(CPPDEPS) $< - -custom3_custom3.o: ./examples/custom3.cpp - $(CXX) -c -o $@ $(CUSTOM3_CXXFLAGS) $(CPPDEPS) $< - -custom4_custom4.o: ./examples/custom4.cpp - $(CXX) -c -o $@ $(CUSTOM4_CXXFLAGS) $(CPPDEPS) $< - -custom5_custom5.o: ./examples/custom5.cpp - $(CXX) -c -o $@ $(CUSTOM5_CXXFLAGS) $(CPPDEPS) $< - -custom6_custom6.o: ./examples/custom6.cpp - $(CXX) -c -o $@ $(CUSTOM6_CXXFLAGS) $(CPPDEPS) $< - -dbinfo_dbinfo.o: ./examples/dbinfo.cpp - $(CXX) -c -o $@ $(DBINFO_CXXFLAGS) $(CPPDEPS) $< - -fieldinf1_fieldinf1.o: ./examples/fieldinf1.cpp - $(CXX) -c -o $@ $(FIELDINF1_CXXFLAGS) $(CPPDEPS) $< - -load_jpeg_load_jpeg.o: ./examples/load_jpeg.cpp - $(CXX) -c -o $@ $(LOAD_JPEG_CXXFLAGS) $(CPPDEPS) $< - -xaction_xaction.o: ./examples/xaction.cpp - $(CXX) -c -o $@ $(XACTION_CXXFLAGS) $(CPPDEPS) $< - -store_if_store_if.o: ./examples/store_if.cpp - $(CXX) -c -o $@ $(STORE_IF_CXXFLAGS) $(CPPDEPS) $< - -for_each_for_each.o: ./examples/for_each.cpp - $(CXX) -c -o $@ $(FOR_EACH_CXXFLAGS) $(CPPDEPS) $< - -cgi_jpeg_cgi_jpeg.o: ./examples/cgi_jpeg.cpp - $(CXX) -c -o $@ $(CGI_JPEG_CXXFLAGS) $(CPPDEPS) $< - -.PHONY: all clean - - -# Dependencies tracking: --include ./*.d DELETED Makefile.simple Index: Makefile.simple ================================================================== --- Makefile.simple +++ /dev/null @@ -1,303 +0,0 @@ -# ========================================================================= -# This makefile was generated by -# Bakefile 0.2.2 (http://www.bakefile.org) -# Do not modify, all changes will be overwritten! -# ========================================================================= - - - -# ------------------------------------------------------------------------- -# These are configurable options: -# ------------------------------------------------------------------------- - -# -AR := ar - -# -RANLIB := ranlib - -# C++ compiler -CXX := g++ - -# Standard flags for C++ -CXXFLAGS := - -# Standard preprocessor flags (common for CC and CXX) -CPPFLAGS := - -# Standard linker flags -LDFLAGS := - -# Type of compiled binaries [debug,release] -BUILD := debug - - - -# ------------------------------------------------------------------------- -# Do not modify the rest of this file! -# ------------------------------------------------------------------------- - -### Variables: ### - -CPPDEPS = -MT$@ -MF`echo $@ | sed -e 's,\.o$$,.d,'` -MD -UTIL_CXXFLAGS = $(__DEBUGINFO) -Ilib -I/usr/include/mysql \ - -I/usr/include/mysql++ $(CPPFLAGS) $(CXXFLAGS) -UTIL_OBJECTS = \ - util_util.o -RESETDB_CXXFLAGS = $(__DEBUGINFO) -Ilib -I/usr/include/mysql \ - -I/usr/include/mysql++ $(CPPFLAGS) $(CXXFLAGS) -RESETDB_OBJECTS = \ - resetdb_resetdb.o -SIMPLE1_CXXFLAGS = $(__DEBUGINFO) -Ilib -I/usr/include/mysql \ - -I/usr/include/mysql++ $(CPPFLAGS) $(CXXFLAGS) -SIMPLE1_OBJECTS = \ - simple1_simple1.o -SIMPLE2_CXXFLAGS = $(__DEBUGINFO) -Ilib -I/usr/include/mysql \ - -I/usr/include/mysql++ $(CPPFLAGS) $(CXXFLAGS) -SIMPLE2_OBJECTS = \ - simple2_simple2.o -SIMPLE3_CXXFLAGS = $(__DEBUGINFO) -Ilib -I/usr/include/mysql \ - -I/usr/include/mysql++ $(CPPFLAGS) $(CXXFLAGS) -SIMPLE3_OBJECTS = \ - simple3_simple3.o -MULTIQUERY_CXXFLAGS = $(__DEBUGINFO) -Ilib -I/usr/include/mysql \ - -I/usr/include/mysql++ $(CPPFLAGS) $(CXXFLAGS) -MULTIQUERY_OBJECTS = \ - multiquery_multiquery.o -TQUERY_CXXFLAGS = $(__DEBUGINFO) -Ilib -I/usr/include/mysql \ - -I/usr/include/mysql++ $(CPPFLAGS) $(CXXFLAGS) -TQUERY_OBJECTS = \ - tquery_tquery.o -USEQUERY_CXXFLAGS = $(__DEBUGINFO) -Ilib -I/usr/include/mysql \ - -I/usr/include/mysql++ $(CPPFLAGS) $(CXXFLAGS) -USEQUERY_OBJECTS = \ - usequery_usequery.o -CUSTOM1_CXXFLAGS = $(__DEBUGINFO) -Ilib -I/usr/include/mysql \ - -I/usr/include/mysql++ $(CPPFLAGS) $(CXXFLAGS) -CUSTOM1_OBJECTS = \ - custom1_custom1.o -CUSTOM2_CXXFLAGS = $(__DEBUGINFO) -Ilib -I/usr/include/mysql \ - -I/usr/include/mysql++ $(CPPFLAGS) $(CXXFLAGS) -CUSTOM2_OBJECTS = \ - custom2_custom2.o -CUSTOM3_CXXFLAGS = $(__DEBUGINFO) -Ilib -I/usr/include/mysql \ - -I/usr/include/mysql++ $(CPPFLAGS) $(CXXFLAGS) -CUSTOM3_OBJECTS = \ - custom3_custom3.o -CUSTOM4_CXXFLAGS = $(__DEBUGINFO) -Ilib -I/usr/include/mysql \ - -I/usr/include/mysql++ $(CPPFLAGS) $(CXXFLAGS) -CUSTOM4_OBJECTS = \ - custom4_custom4.o -CUSTOM5_CXXFLAGS = $(__DEBUGINFO) -Ilib -I/usr/include/mysql \ - -I/usr/include/mysql++ $(CPPFLAGS) $(CXXFLAGS) -CUSTOM5_OBJECTS = \ - custom5_custom5.o -CUSTOM6_CXXFLAGS = $(__DEBUGINFO) -Ilib -I/usr/include/mysql \ - -I/usr/include/mysql++ $(CPPFLAGS) $(CXXFLAGS) -CUSTOM6_OBJECTS = \ - custom6_custom6.o -DBINFO_CXXFLAGS = $(__DEBUGINFO) -Ilib -I/usr/include/mysql \ - -I/usr/include/mysql++ $(CPPFLAGS) $(CXXFLAGS) -DBINFO_OBJECTS = \ - dbinfo_dbinfo.o -FIELDINF1_CXXFLAGS = $(__DEBUGINFO) -Ilib -I/usr/include/mysql \ - -I/usr/include/mysql++ $(CPPFLAGS) $(CXXFLAGS) -FIELDINF1_OBJECTS = \ - fieldinf1_fieldinf1.o -LOAD_JPEG_CXXFLAGS = $(__DEBUGINFO) -Ilib -I/usr/include/mysql \ - -I/usr/include/mysql++ $(CPPFLAGS) $(CXXFLAGS) -LOAD_JPEG_OBJECTS = \ - load_jpeg_load_jpeg.o -XACTION_CXXFLAGS = $(__DEBUGINFO) -Ilib -I/usr/include/mysql \ - -I/usr/include/mysql++ $(CPPFLAGS) $(CXXFLAGS) -XACTION_OBJECTS = \ - xaction_xaction.o -STORE_IF_CXXFLAGS = $(__DEBUGINFO) -Ilib -I/usr/include/mysql \ - -I/usr/include/mysql++ $(CPPFLAGS) $(CXXFLAGS) -STORE_IF_OBJECTS = \ - store_if_store_if.o -FOR_EACH_CXXFLAGS = $(__DEBUGINFO) -Ilib -I/usr/include/mysql \ - -I/usr/include/mysql++ $(CPPFLAGS) $(CXXFLAGS) -FOR_EACH_OBJECTS = \ - for_each_for_each.o -CGI_JPEG_CXXFLAGS = $(__DEBUGINFO) -Ilib -I/usr/include/mysql \ - -I/usr/include/mysql++ $(CPPFLAGS) $(CXXFLAGS) -CGI_JPEG_OBJECTS = \ - cgi_jpeg_cgi_jpeg.o - -### Conditionally set variables: ### - -ifeq ($(BUILD),debug) -__DEBUGINFO = -g -endif -ifeq ($(BUILD),release) -__DEBUGINFO = -endif - - -### Targets: ### - -all: libmysqlpp_util.a resetdb simple1 simple2 simple3 multiquery tquery usequery custom1 custom2 custom3 custom4 custom5 custom6 dbinfo fieldinf1 load_jpeg xaction store_if for_each cgi_jpeg - -install: all - -uninstall: - -clean: - rm -f ./*.o - rm -f ./*.d - rm -f libmysqlpp_util.a - rm -f resetdb - rm -f simple1 - rm -f simple2 - rm -f simple3 - rm -f multiquery - rm -f tquery - rm -f usequery - rm -f custom1 - rm -f custom2 - rm -f custom3 - rm -f custom4 - rm -f custom5 - rm -f custom6 - rm -f dbinfo - rm -f fieldinf1 - rm -f load_jpeg - rm -f xaction - rm -f store_if - rm -f for_each - rm -f cgi_jpeg - -libmysqlpp_util.a: $(UTIL_OBJECTS) - rm -f $@ - $(AR) rcu $@ $(UTIL_OBJECTS) - $(RANLIB) $@ - -resetdb: $(RESETDB_OBJECTS) libmysqlpp_util.a - $(CXX) -o $@ $(RESETDB_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -L. -lmysqlpp_util -lmysqlpp -lmysqlclient - -simple1: $(SIMPLE1_OBJECTS) libmysqlpp_util.a - $(CXX) -o $@ $(SIMPLE1_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -L. -lmysqlpp_util -lmysqlpp -lmysqlclient - -simple2: $(SIMPLE2_OBJECTS) libmysqlpp_util.a - $(CXX) -o $@ $(SIMPLE2_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -L. -lmysqlpp_util -lmysqlpp -lmysqlclient - -simple3: $(SIMPLE3_OBJECTS) libmysqlpp_util.a - $(CXX) -o $@ $(SIMPLE3_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -L. -lmysqlpp_util -lmysqlpp -lmysqlclient - -multiquery: $(MULTIQUERY_OBJECTS) libmysqlpp_util.a - $(CXX) -o $@ $(MULTIQUERY_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -L. -lmysqlpp_util -lmysqlpp -lmysqlclient - -tquery: $(TQUERY_OBJECTS) libmysqlpp_util.a - $(CXX) -o $@ $(TQUERY_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -L. -lmysqlpp_util -lmysqlpp -lmysqlclient - -usequery: $(USEQUERY_OBJECTS) libmysqlpp_util.a - $(CXX) -o $@ $(USEQUERY_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -L. -lmysqlpp_util -lmysqlpp -lmysqlclient - -custom1: $(CUSTOM1_OBJECTS) libmysqlpp_util.a - $(CXX) -o $@ $(CUSTOM1_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -L. -lmysqlpp_util -lmysqlpp -lmysqlclient - -custom2: $(CUSTOM2_OBJECTS) libmysqlpp_util.a - $(CXX) -o $@ $(CUSTOM2_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -L. -lmysqlpp_util -lmysqlpp -lmysqlclient - -custom3: $(CUSTOM3_OBJECTS) libmysqlpp_util.a - $(CXX) -o $@ $(CUSTOM3_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -L. -lmysqlpp_util -lmysqlpp -lmysqlclient - -custom4: $(CUSTOM4_OBJECTS) libmysqlpp_util.a - $(CXX) -o $@ $(CUSTOM4_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -L. -lmysqlpp_util -lmysqlpp -lmysqlclient - -custom5: $(CUSTOM5_OBJECTS) libmysqlpp_util.a - $(CXX) -o $@ $(CUSTOM5_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -L. -lmysqlpp_util -lmysqlpp -lmysqlclient - -custom6: $(CUSTOM6_OBJECTS) libmysqlpp_util.a - $(CXX) -o $@ $(CUSTOM6_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -L. -lmysqlpp_util -lmysqlpp -lmysqlclient - -dbinfo: $(DBINFO_OBJECTS) libmysqlpp_util.a - $(CXX) -o $@ $(DBINFO_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -L. -lmysqlpp_util -lmysqlpp -lmysqlclient - -fieldinf1: $(FIELDINF1_OBJECTS) libmysqlpp_util.a - $(CXX) -o $@ $(FIELDINF1_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -L. -lmysqlpp_util -lmysqlpp -lmysqlclient - -load_jpeg: $(LOAD_JPEG_OBJECTS) libmysqlpp_util.a - $(CXX) -o $@ $(LOAD_JPEG_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -L. -lmysqlpp_util -lmysqlpp -lmysqlclient - -xaction: $(XACTION_OBJECTS) libmysqlpp_util.a - $(CXX) -o $@ $(XACTION_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -L. -lmysqlpp_util -lmysqlpp -lmysqlclient - -store_if: $(STORE_IF_OBJECTS) libmysqlpp_util.a - $(CXX) -o $@ $(STORE_IF_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -L. -lmysqlpp_util -lmysqlpp -lmysqlclient - -for_each: $(FOR_EACH_OBJECTS) libmysqlpp_util.a - $(CXX) -o $@ $(FOR_EACH_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -L. -lmysqlpp_util -lmysqlpp -lmysqlclient - -cgi_jpeg: $(CGI_JPEG_OBJECTS) libmysqlpp_util.a - $(CXX) -o $@ $(CGI_JPEG_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -L. -lmysqlpp_util -lmysqlpp -lmysqlclient - -util_util.o: ./examples/util.cpp - $(CXX) -c -o $@ $(UTIL_CXXFLAGS) $(CPPDEPS) $< - -resetdb_resetdb.o: ./examples/resetdb.cpp - $(CXX) -c -o $@ $(RESETDB_CXXFLAGS) $(CPPDEPS) $< - -simple1_simple1.o: ./examples/simple1.cpp - $(CXX) -c -o $@ $(SIMPLE1_CXXFLAGS) $(CPPDEPS) $< - -simple2_simple2.o: ./examples/simple2.cpp - $(CXX) -c -o $@ $(SIMPLE2_CXXFLAGS) $(CPPDEPS) $< - -simple3_simple3.o: ./examples/simple3.cpp - $(CXX) -c -o $@ $(SIMPLE3_CXXFLAGS) $(CPPDEPS) $< - -multiquery_multiquery.o: ./examples/multiquery.cpp - $(CXX) -c -o $@ $(MULTIQUERY_CXXFLAGS) $(CPPDEPS) $< - -tquery_tquery.o: ./examples/tquery.cpp - $(CXX) -c -o $@ $(TQUERY_CXXFLAGS) $(CPPDEPS) $< - -usequery_usequery.o: ./examples/usequery.cpp - $(CXX) -c -o $@ $(USEQUERY_CXXFLAGS) $(CPPDEPS) $< - -custom1_custom1.o: ./examples/custom1.cpp - $(CXX) -c -o $@ $(CUSTOM1_CXXFLAGS) $(CPPDEPS) $< - -custom2_custom2.o: ./examples/custom2.cpp - $(CXX) -c -o $@ $(CUSTOM2_CXXFLAGS) $(CPPDEPS) $< - -custom3_custom3.o: ./examples/custom3.cpp - $(CXX) -c -o $@ $(CUSTOM3_CXXFLAGS) $(CPPDEPS) $< - -custom4_custom4.o: ./examples/custom4.cpp - $(CXX) -c -o $@ $(CUSTOM4_CXXFLAGS) $(CPPDEPS) $< - -custom5_custom5.o: ./examples/custom5.cpp - $(CXX) -c -o $@ $(CUSTOM5_CXXFLAGS) $(CPPDEPS) $< - -custom6_custom6.o: ./examples/custom6.cpp - $(CXX) -c -o $@ $(CUSTOM6_CXXFLAGS) $(CPPDEPS) $< - -dbinfo_dbinfo.o: ./examples/dbinfo.cpp - $(CXX) -c -o $@ $(DBINFO_CXXFLAGS) $(CPPDEPS) $< - -fieldinf1_fieldinf1.o: ./examples/fieldinf1.cpp - $(CXX) -c -o $@ $(FIELDINF1_CXXFLAGS) $(CPPDEPS) $< - -load_jpeg_load_jpeg.o: ./examples/load_jpeg.cpp - $(CXX) -c -o $@ $(LOAD_JPEG_CXXFLAGS) $(CPPDEPS) $< - -xaction_xaction.o: ./examples/xaction.cpp - $(CXX) -c -o $@ $(XACTION_CXXFLAGS) $(CPPDEPS) $< - -store_if_store_if.o: ./examples/store_if.cpp - $(CXX) -c -o $@ $(STORE_IF_CXXFLAGS) $(CPPDEPS) $< - -for_each_for_each.o: ./examples/for_each.cpp - $(CXX) -c -o $@ $(FOR_EACH_CXXFLAGS) $(CPPDEPS) $< - -cgi_jpeg_cgi_jpeg.o: ./examples/cgi_jpeg.cpp - $(CXX) -c -o $@ $(CGI_JPEG_CXXFLAGS) $(CPPDEPS) $< - -.PHONY: all install uninstall clean - - -# Dependencies tracking: --include ./*.d DELETED config.h.in Index: config.h.in ================================================================== --- config.h.in +++ /dev/null @@ -1,77 +0,0 @@ -/* config.h.in. Generated from configure.ac by autoheader. */ - -/* Define if you have __gnu_cxx:slist container in */ -#undef HAVE_EXT_SLIST - -/* Define if you have ::slist container in */ -#undef HAVE_GLOBAL_SLIST - -/* Define to 1 if you have the header file. */ -#undef HAVE_INTTYPES_H - -/* Define to 1 if you have the `intl' library (-lintl). */ -#undef HAVE_LIBINTL - -/* Define to 1 if you have the `z' library (-lz). */ -#undef HAVE_LIBZ - -/* Define if you have the localtime_r() facility */ -#undef HAVE_LOCALTIME_R - -/* Define to 1 if you have the header file. */ -#undef HAVE_MEMORY_H - -/* Define if your MySQL library has SSL functions */ -#undef HAVE_MYSQL_SSL_SET - -/* Define if you have POSIX threads libraries and header files. */ -#undef HAVE_PTHREAD - -/* Define to 1 if you have the header file. */ -#undef HAVE_STDINT_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_STDLIB_H - -/* Define if you have std::slist container in */ -#undef HAVE_STD_SLIST - -/* Define to 1 if you have the header file. */ -#undef HAVE_STRINGS_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_STRING_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_STAT_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_TYPES_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_UNISTD_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_ZLIB_H - -/* Define to the address where bug reports for this package should be sent. */ -#undef PACKAGE_BUGREPORT - -/* Define to the full name of this package. */ -#undef PACKAGE_NAME - -/* Define to the full name and version of this package. */ -#undef PACKAGE_STRING - -/* Define to the one symbol short name of this package. */ -#undef PACKAGE_TARNAME - -/* Define to the version of this package. */ -#undef PACKAGE_VERSION - -/* Define to necessary symbol if this constant uses a non-standard name on - your system. */ -#undef PTHREAD_CREATE_JOINABLE - -/* Define to 1 if you have the ANSI C header files. */ -#undef STDC_HEADERS DELETED config/autoconf_inc.m4 Index: config/autoconf_inc.m4 ================================================================== --- config/autoconf_inc.m4 +++ /dev/null @@ -1,104 +0,0 @@ -dnl ### begin block 00_header[./mysql++.bkl] ### -dnl -dnl This macro was generated by -dnl Bakefile 0.2.2 (http://www.bakefile.org) -dnl Do not modify, all changes will be overwritten! - -BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2" - -dnl ### begin block 20_COND_BUILD_DEBUG[./mysql++.bkl] ### - COND_BUILD_DEBUG="#" - if test "x$BUILD" = "xdebug" ; then - COND_BUILD_DEBUG="" - fi - AC_SUBST(COND_BUILD_DEBUG) -dnl ### begin block 20_COND_BUILD_RELEASE[./mysql++.bkl] ### - COND_BUILD_RELEASE="#" - if test "x$BUILD" = "xrelease" ; then - COND_BUILD_RELEASE="" - fi - AC_SUBST(COND_BUILD_RELEASE) -dnl ### begin block 20_COND_DEPS_TRACKING_0[./mysql++.bkl] ### - COND_DEPS_TRACKING_0="#" - if test "x$DEPS_TRACKING" = "x0" ; then - COND_DEPS_TRACKING_0="" - fi - AC_SUBST(COND_DEPS_TRACKING_0) -dnl ### begin block 20_COND_DEPS_TRACKING_1[./mysql++.bkl] ### - COND_DEPS_TRACKING_1="#" - if test "x$DEPS_TRACKING" = "x1" ; then - COND_DEPS_TRACKING_1="" - fi - AC_SUBST(COND_DEPS_TRACKING_1) -dnl ### begin block 20_COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1[./mysql++.bkl] ### - COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#" - if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then - COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="" - fi - AC_SUBST(COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1) -dnl ### begin block 20_COND_PLATFORM_MACOSX_0_USE_SOVERSION_1[./mysql++.bkl] ### - COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#" - if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then - COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="" - fi - AC_SUBST(COND_PLATFORM_MACOSX_0_USE_SOVERSION_1) -dnl ### begin block 20_COND_PLATFORM_MACOSX_1[./mysql++.bkl] ### - COND_PLATFORM_MACOSX_1="#" - if test "x$PLATFORM_MACOSX" = "x1" ; then - COND_PLATFORM_MACOSX_1="" - fi - AC_SUBST(COND_PLATFORM_MACOSX_1) -dnl ### begin block 20_COND_PLATFORM_MACOSX_1_USE_SOVERSION_1[./mysql++.bkl] ### - COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#" - if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then - COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="" - fi - AC_SUBST(COND_PLATFORM_MACOSX_1_USE_SOVERSION_1) -dnl ### begin block 20_COND_PLATFORM_MAC_1[./mysql++.bkl] ### - COND_PLATFORM_MAC_1="#" - if test "x$PLATFORM_MAC" = "x1" ; then - COND_PLATFORM_MAC_1="" - fi - AC_SUBST(COND_PLATFORM_MAC_1) -dnl ### begin block 20_COND_PLATFORM_OS2_1[./mysql++.bkl] ### - COND_PLATFORM_OS2_1="#" - if test "x$PLATFORM_OS2" = "x1" ; then - COND_PLATFORM_OS2_1="" - fi - AC_SUBST(COND_PLATFORM_OS2_1) -dnl ### begin block 20_COND_USE_SOSYMLINKS_1[./mysql++.bkl] ### - COND_USE_SOSYMLINKS_1="#" - if test "x$USE_SOSYMLINKS" = "x1" ; then - COND_USE_SOSYMLINKS_1="" - fi - AC_SUBST(COND_USE_SOSYMLINKS_1) -dnl ### begin block 20_COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1[./mysql++.bkl] ### - COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#" - if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then - COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="" - fi - AC_SUBST(COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1) -dnl ### begin block 20_COND_USE_SOVERLINUX_1[./mysql++.bkl] ### - COND_USE_SOVERLINUX_1="#" - if test "x$USE_SOVERLINUX" = "x1" ; then - COND_USE_SOVERLINUX_1="" - fi - AC_SUBST(COND_USE_SOVERLINUX_1) -dnl ### begin block 20_COND_USE_SOVERSION_0[./mysql++.bkl] ### - COND_USE_SOVERSION_0="#" - if test "x$USE_SOVERSION" = "x0" ; then - COND_USE_SOVERSION_0="" - fi - AC_SUBST(COND_USE_SOVERSION_0) -dnl ### begin block 20_COND_USE_SOVERSOLARIS_1[./mysql++.bkl] ### - COND_USE_SOVERSOLARIS_1="#" - if test "x$USE_SOVERSOLARIS" = "x1" ; then - COND_USE_SOVERSOLARIS_1="" - fi - AC_SUBST(COND_USE_SOVERSOLARIS_1) -dnl ### begin block 20_COND_WINDOWS_IMPLIB_1[./mysql++.bkl] ### - COND_WINDOWS_IMPLIB_1="#" - if test "x$WINDOWS_IMPLIB" = "x1" ; then - COND_WINDOWS_IMPLIB_1="" - fi - AC_SUBST(COND_WINDOWS_IMPLIB_1) Index: config/mysql_loc.m4 ================================================================== --- config/mysql_loc.m4 +++ config/mysql_loc.m4 @@ -20,11 +20,11 @@ # AC_ARG_WITH(mysql, [ --with-mysql= root directory path of MySQL installation], [MYSQL_lib_check="$with_mysql/lib/mysql $with_mysql/lib" MYSQL_inc_check="$with_mysql/include $with_mysql/include/mysql"], - [MYSQL_lib_check="/usr/lib64 /usr/lib /usr/lib64/mysql /usr/lib/mysql /usr/local/lib64 /usr/local/lib /usr/local/lib/mysql /usr/local/mysql/lib /usr/local/mysql/lib/mysql /opt/mysql/lib /opt/mysql/lib/mysql" + [MYSQL_lib_check="/usr/lib64 /usr/lib/x86_64-linux-gnu /usr/lib /usr/lib64/mysql /usr/lib/mysql /usr/local/lib64 /usr/local/lib /usr/local/lib/mysql /usr/local/mysql/lib /usr/local/mysql/lib/mysql /opt/mysql/lib /opt/mysql/lib/mysql" MYSQL_inc_check="/usr/include/mysql /usr/local/include/mysql /usr/local/mysql/include/mysql /opt/mysql/include/mysql"]) AC_ARG_WITH(mysql-lib, [ --with-mysql-lib= directory path of MySQL library installation], [MYSQL_lib_check="$with_mysql_lib $with_mysql_lib/lib64 $with_mysql_lib/lib $with_mysql_lib/lib64/mysql $with_mysql_lib/lib/mysql"]) AC_ARG_WITH(mysql-include, Index: configure.ac ================================================================== --- configure.ac +++ configure.ac @@ -16,10 +16,12 @@ # Standard autotools stuff AC_INIT(mysql++, 2.3.2, plusplus@lists.mysql.com, mysql++) AC_CONFIG_HEADER(config.h) AC_DISABLE_STATIC AC_CANONICAL_SYSTEM +AC_PROG_CC +AC_PROG_CXX # Break package version up into major, minor and bugfix components. MYSQLPP_VERSION_MAJOR=`echo $PACKAGE_VERSION | cut -f1 -d.` AC_SUBST(MYSQLPP_VERSION_MAJOR) @@ -32,11 +34,10 @@ # Include Bakefile macros AC_BAKEFILE([m4_include(config/autoconf_inc.m4)]) # Check for Standard C support -AC_PROG_CC AC_HEADER_STDC # Figure out whether/how to handle threading support, if available. AC_ARG_ENABLE(thread-check, @@ -71,15 +72,14 @@ # Check for Standard C++ support, and extensions. This must be near # the end, because the CPLUSPLUS directive makes autoconf use C++ # compiler for all subsequent tests! -AC_PROG_CXX AC_LANG_CPLUSPLUS STL_SLIST_EXTENSION # # Configure process complete; write out files generated from *.in. # AC_OUTPUT([Makefile mysql++.spec lib/Doxyfile lib/mysql++.h]) ADDED doc/html/refman/_header.html Index: doc/html/refman/_header.html ================================================================== --- /dev/null +++ doc/html/refman/_header.html @@ -0,0 +1,9 @@ + + + + MySQL++ Reference Manual + + + + + ADDED examples/vstudio/mfc/mfc.vcproj Index: examples/vstudio/mfc/mfc.vcproj ================================================================== --- /dev/null +++ examples/vstudio/mfc/mfc.vcproj @@ -0,0 +1,250 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ADDED examples/vstudio/wforms/wforms.vcproj Index: examples/vstudio/wforms/wforms.vcproj ================================================================== --- /dev/null +++ examples/vstudio/wforms/wforms.vcproj @@ -0,0 +1,234 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Index: lib/Doxyfile.in ================================================================== --- lib/Doxyfile.in +++ lib/Doxyfile.in @@ -1,6 +1,6 @@ -# Doxyfile 1.5.2-1 +# Doxyfile 1.4.7 # This file describes the settings to be used by the documentation system # doxygen (www.doxygen.org) for a project # # All text after a hash (#) is considered a comment and will be ignored @@ -12,18 +12,10 @@ #--------------------------------------------------------------------------- # Project related configuration options #--------------------------------------------------------------------------- -# This tag specifies the encoding used for all characters in the config file that -# follow. The default is UTF-8 which is also the encoding used for all text before -# the first occurrence of this tag. Doxygen uses libiconv (or the iconv built into -# libc) for the transcoding. See http://www.gnu.org/software/libiconv for the list of -# possible encodings. - -DOXYFILE_ENCODING = UTF-8 - # The PROJECT_NAME tag is a single word (or a sequence of words surrounded # by quotes) that should identify the project. PROJECT_NAME = MySQL++ @@ -51,17 +43,27 @@ # The OUTPUT_LANGUAGE tag is used to specify the language in which all # documentation generated by doxygen is written. Doxygen will use this # information to generate all constant output in the proper language. # The default language is English, other supported languages are: -# Afrikaans, Arabic, Brazilian, Catalan, Chinese, Chinese-Traditional, -# Croatian, Czech, Danish, Dutch, Finnish, French, German, Greek, Hungarian, -# Italian, Japanese, Japanese-en (Japanese with English messages), Korean, -# Korean-en, Lithuanian, Norwegian, Polish, Portuguese, Romanian, Russian, -# Serbian, Slovak, Slovene, Spanish, Swedish, and Ukrainian. +# Brazilian, Catalan, Chinese, Chinese-Traditional, Croatian, Czech, Danish, +# Dutch, Finnish, French, German, Greek, Hungarian, Italian, Japanese, +# Japanese-en (Japanese with English messages), Korean, Korean-en, Norwegian, +# Polish, Portuguese, Romanian, Russian, Serbian, Slovak, Slovene, Spanish, +# Swedish, and Ukrainian. OUTPUT_LANGUAGE = English + +# This tag can be used to specify the encoding used in the generated output. +# The encoding is not always determined by the language that is chosen, +# but also whether or not the output is meant for Windows or non-Windows users. +# In case there is a difference, setting the USE_WINDOWS_ENCODING tag to YES +# forces the Windows encoding (this is the default for the Windows binary), +# whereas setting the tag to NO uses a Unix-style encoding (the default for +# all platforms other than Windows). + +USE_WINDOWS_ENCODING = NO # If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will # include brief member descriptions after the members that are listed in # the file and class documentation (similar to JavaDoc). # Set to NO to disable this. @@ -200,15 +202,10 @@ # func(std::string) {}). This also make the inheritance and collaboration # diagrams that involve STL classes more complete and accurate. BUILTIN_STL_SUPPORT = YES -# If you use Microsoft's C++/CLI language, you should set this option to YES to -# enable parsing support. - -CPP_CLI_SUPPORT = NO - # If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC # tag is set to YES, then doxygen will reuse the documentation of the first # member in the group (if any) for the other members of the group. By default # all members of a group must be documented explicitly. @@ -462,17 +459,10 @@ # directories like "/usr/src/myproject". Separate the files or directories # with spaces. INPUT = -# This tag can be used to specify the character encoding of the source files that -# doxygen parses. Internally doxygen uses the UTF-8 encoding, which is also the default -# input encoding. Doxygen uses libiconv (or the iconv built into libc) for the transcoding. -# See http://www.gnu.org/software/libiconv for the list of possible encodings. - -INPUT_ENCODING = UTF-8 - # If the value of the INPUT tag contains directories, you can use the # FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp # and *.h) to filter out the source-files in the directories. If left # blank the following patterns are tested: # *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx @@ -505,17 +495,10 @@ # against the file with absolute path, so to exclude all test directories # for example use the pattern */test/* EXCLUDE_PATTERNS = -# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names -# (namespaces, classes, functions, etc.) that should be excluded from the output. -# The symbol name can be a fully qualified name, a word, or if the wildcard * is used, -# a substring. Examples: ANamespace, AClass, AClass::ANamespace, ANamespace::*Test - -EXCLUDE_SYMBOLS = - # The EXAMPLE_PATH tag can be used to specify one or more files or # directories that contain example code fragments that are included (see # the \include command). EXAMPLE_PATH = @@ -673,10 +656,15 @@ # The HTML_FOOTER tag can be used to specify a personal HTML footer for # each generated HTML page. If it is left blank doxygen will generate a # standard footer. HTML_FOOTER = + +# If the HTML_TIMESTAMP tag is set to YES then the generated HTML +# documentation will contain the timesstamp. + +HTML_TIMESTAMP = NO # The HTML_STYLESHEET tag can be used to specify a user-defined cascading # style sheet that is used by each HTML page. It can be used to # fine-tune the look of the HTML output. If the tag is left blank doxygen # will generate a default style sheet. Note that doxygen will try to copy @@ -1101,18 +1089,10 @@ # fallback. It is recommended to install and use dot, since it yields more # powerful graphs. CLASS_DIAGRAMS = YES -# You can define message sequence charts within doxygen comments using the \msc -# command. Doxygen will then run the mscgen tool (see http://www.mcternan.me.uk/mscgen/) to -# produce the chart and insert it in the documentation. The MSCGEN_PATH tag allows you to -# specify the directory where the mscgen tool resides. If left empty the tool is assumed to -# be found in the default search path. - -MSCGEN_PATH = - # If set to YES, the inheritance and collaboration graphs will hide # inheritance and usage relations if the target is undocumented # or is not a class. HIDE_UNDOC_RELATIONS = YES @@ -1120,11 +1100,11 @@ # If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is # available from the path. This tool is part of Graphviz, a graph visualization # toolkit from AT&T and Lucent Bell Labs. The other options in this section # have no effect if this option is set to NO (the default) -HAVE_DOT = YES +HAVE_DOT = NO # If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen # will generate a graph for each documented class showing the direct and # indirect inheritance relations. Setting this tag to YES will force the # the CLASS_DIAGRAMS tag to NO. @@ -1211,17 +1191,37 @@ # contain dot files that are included in the documentation (see the # \dotfile command). DOTFILE_DIRS = -# The MAX_DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of -# nodes that will be shown in the graph. If the number of nodes in a graph -# becomes larger than this value, doxygen will truncate the graph, which is -# visualized by representing a node as a red box. Note that doxygen will always -# show the root nodes and its direct children regardless of this setting. +# The MAX_DOT_GRAPH_WIDTH tag can be used to set the maximum allowed width +# (in pixels) of the graphs generated by dot. If a graph becomes larger than +# this value, doxygen will try to truncate the graph, so that it fits within +# the specified constraint. Beware that most browsers cannot cope with very +# large images. + +MAX_DOT_GRAPH_WIDTH = 1024 + +# The MAX_DOT_GRAPH_HEIGHT tag can be used to set the maximum allows height +# (in pixels) of the graphs generated by dot. If a graph becomes larger than +# this value, doxygen will try to truncate the graph, so that it fits within +# the specified constraint. Beware that most browsers cannot cope with very +# large images. + +MAX_DOT_GRAPH_HEIGHT = 1024 + +# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the +# graphs generated by dot. A depth value of 3 means that only nodes reachable +# from the root by following a path via at most 3 edges will be shown. Nodes +# that lay further from the root node will be omitted. Note that setting this +# option to 1 or 2 may greatly reduce the computation time needed for large +# code bases. Also note that a graph may be further truncated if the graph's +# image dimensions are not sufficient to fit the graph (see MAX_DOT_GRAPH_WIDTH +# and MAX_DOT_GRAPH_HEIGHT). If 0 is used for the depth value (the default), +# the graph is not depth-constrained. -DOT_GRAPH_MAX_NODES = 50 +MAX_DOT_GRAPH_DEPTH = 0 # Set the DOT_TRANSPARENT tag to YES to generate images with a transparent # background. This is disabled by default, which results in a white background. # Warning: Depending on the platform used, enabling this option may lead to # badly anti-aliased labels on the edges of a graph (i.e. they become hard to Index: lib/const_string.h ================================================================== --- lib/const_string.h +++ lib/const_string.h @@ -1,12 +1,12 @@ /// \file const_string.h /// \brief Declares a wrapper for const char* which behaves /// in a way more useful to MySQL++. /*********************************************************************** - Copyright (c) 1998 by Kevin Atkinson, (c) 1999, 2000 and 2001 by - MySQL AB, and (c) 2004, 2005 by Educational Technology Resources, Inc. + Copyright © 1998 by Kevin Atkinson, © 1999, 2000 and 2001 by MySQL AB, + and © 2004-2005, 2007, 2017 by Educational Technology Resources, Inc. Others may also hold copyrights on code in this file. See the CREDITS file in the top directory of the distribution for details. This file is part of MySQL++. @@ -30,10 +30,11 @@ #define MYSQLPP_CONST_STRING_H #include "common.h" #include +#include #include #include #include namespace mysqlpp { Index: mysql++.spec.in ================================================================== --- mysql++.spec.in +++ mysql++.spec.in @@ -16,11 +16,11 @@ programs, you also need to install the -devel package. %package devel Summary: MySQL++ developer files (headers, examples, etc.) Group: Development/Libraries -Requires: mysql++=%{version}-%{release} mysql-devel +Requires: mysql++ = %{version}-%{release}, mysql-devel %description devel These are the files needed to compile MySQL++ based programs, plus some sample code to get you started. If you aren't building your own programs, you probably don't need to install this package. DELETED pretty.pl Index: pretty.pl ================================================================== --- pretty.pl +++ /dev/null @@ -1,1 +0,0 @@ -sql++pretty