mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Some changes to make it possible to build for Windows with CMake from
a normal 'make dist' source .tar.gz. libmysql/mytest.c: bk cp VC++Files/libmysqltest/mytest.c libmysql/mytest.c sql/message.mc: bk cp VC++Files/sql/message.mc sql/message.mc Makefile.am: Add Windows CMake stuff. client/Makefile.am: Add extra files needed for CMake Windows build. cmakelists.txt: Fix subdir order to make CMake dependency calculations happy. configure.in: Add extra files needed for CMake Windows build. extra/Makefile.am: Add extra files needed for CMake Windows build. extra/yassl/Makefile.am: Add extra files needed for CMake Windows build. libmysql/Makefile.am: Add extra files needed for CMake Windows build. libmysql/cmakelists.txt: Move mytest.c to a more sensible location. libmysqld/Makefile.am: Add extra files needed for CMake Windows build. mysys/Makefile.am: Add extra files needed for CMake Windows build. regex/Makefile.am: Add extra files needed for CMake Windows build. server-tools/instance-manager/Makefile.am: Add extra files needed for CMake Windows build. sql/Makefile.am: Add extra files needed for CMake Windows build. sql/cmakelists.txt: Move message.mc to a more sensible location. Add some dependencies to avoid a stale handlerton.cc. storage/archive/Makefile.am: Add extra files needed for CMake Windows build. storage/bdb/Makefile.in: Add extra files needed for CMake Windows build. storage/example/Makefile.am: Add extra files needed for CMake Windows build. storage/heap/Makefile.am: Add extra files needed for CMake Windows build. storage/innobase/Makefile.am: Add extra files needed for CMake Windows build. storage/innobase/include/univ.i: Avoid including Unix config in Windows build. storage/myisam/Makefile.am: Add extra files needed for CMake Windows build. storage/myisammrg/Makefile.am: Add extra files needed for CMake Windows build. strings/Makefile.am: Add extra files needed for CMake Windows build. tests/Makefile.am: Add extra files needed for CMake Windows build. vio/Makefile.am: Add extra files needed for CMake Windows build. zlib/Makefile.am: Add extra files needed for CMake Windows build.
This commit is contained in:
@ -20,7 +20,7 @@ AUTOMAKE_OPTIONS = foreign
|
|||||||
|
|
||||||
# These are built from source in the Docs directory
|
# These are built from source in the Docs directory
|
||||||
EXTRA_DIST = INSTALL-SOURCE INSTALL-WIN-SOURCE \
|
EXTRA_DIST = INSTALL-SOURCE INSTALL-WIN-SOURCE \
|
||||||
README COPYING EXCEPTIONS-CLIENT
|
README COPYING EXCEPTIONS-CLIENT cmakelists.txt
|
||||||
SUBDIRS = . include @docs_dirs@ @zlib_dir@ @yassl_dir@ \
|
SUBDIRS = . include @docs_dirs@ @zlib_dir@ @yassl_dir@ \
|
||||||
@readline_topdir@ sql-common \
|
@readline_topdir@ sql-common \
|
||||||
@thread_dirs@ pstack \
|
@thread_dirs@ pstack \
|
||||||
@ -29,7 +29,7 @@ SUBDIRS = . include @docs_dirs@ @zlib_dir@ @yassl_dir@ \
|
|||||||
@mysql_se_plugins@ \
|
@mysql_se_plugins@ \
|
||||||
netware @libmysqld_dirs@ \
|
netware @libmysqld_dirs@ \
|
||||||
@bench_dirs@ support-files @tools_dirs@ \
|
@bench_dirs@ support-files @tools_dirs@ \
|
||||||
plugin
|
plugin win
|
||||||
|
|
||||||
DIST_SUBDIRS = . include @docs_dirs@ zlib \
|
DIST_SUBDIRS = . include @docs_dirs@ zlib \
|
||||||
@readline_topdir@ sql-common \
|
@readline_topdir@ sql-common \
|
||||||
@ -39,7 +39,7 @@ DIST_SUBDIRS = . include @docs_dirs@ zlib \
|
|||||||
@man_dirs@ tests SSL\
|
@man_dirs@ tests SSL\
|
||||||
BUILD netware os2 @libmysqld_dirs@\
|
BUILD netware os2 @libmysqld_dirs@\
|
||||||
@bench_dirs@ support-files server-tools tools \
|
@bench_dirs@ support-files server-tools tools \
|
||||||
plugin
|
plugin win
|
||||||
|
|
||||||
# Run these targets before any others, also make part of clean target,
|
# Run these targets before any others, also make part of clean target,
|
||||||
# to make sure we create new links after a clean.
|
# to make sure we create new links after a clean.
|
||||||
|
@ -77,6 +77,7 @@ strings_src=decimal.c
|
|||||||
|
|
||||||
# Fix for mit-threads
|
# Fix for mit-threads
|
||||||
DEFS = -DUNDEF_THREADS_HACK
|
DEFS = -DUNDEF_THREADS_HACK
|
||||||
|
EXTRA_DIST = get_password.c cmakelists.txt
|
||||||
|
|
||||||
link_sources:
|
link_sources:
|
||||||
for f in $(sql_src) ; do \
|
for f in $(sql_src) ; do \
|
||||||
|
@ -42,6 +42,5 @@ ENDIF(CMAKE_GENERATOR MATCHES "Visual Studio 7" OR CMAKE_GENERATOR MATCHES "Visu
|
|||||||
ADD_DEFINITIONS("-D_WINDOWS -D__WIN__")
|
ADD_DEFINITIONS("-D_WINDOWS -D__WIN__")
|
||||||
|
|
||||||
SUBDIRS(vio dbug strings regex mysys extra/yassl extra/yassl/taocrypt extra
|
SUBDIRS(vio dbug strings regex mysys extra/yassl extra/yassl/taocrypt extra
|
||||||
zlib storage/heap storage/myisam storage/myisammrg client sql
|
zlib storage/heap storage/myisam storage/myisammrg client
|
||||||
server-tools/instance-manager libmysql tests
|
${se_subdirs} sql server-tools/instance-manager libmysql tests)
|
||||||
${se_subdirs})
|
|
||||||
|
@ -2602,7 +2602,8 @@ AC_CONFIG_FILES(Makefile extra/Makefile mysys/Makefile dnl
|
|||||||
zlib/Makefile dnl
|
zlib/Makefile dnl
|
||||||
cmd-line-utils/readline/Makefile dnl
|
cmd-line-utils/readline/Makefile dnl
|
||||||
plugin/Makefile dnl
|
plugin/Makefile dnl
|
||||||
plugin/fulltext/Makefile)
|
plugin/fulltext/Makefile dnl
|
||||||
|
win/Makefile)
|
||||||
AC_CONFIG_COMMANDS([default], , test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h)
|
AC_CONFIG_COMMANDS([default], , test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h)
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
|
||||||
|
@ -43,6 +43,7 @@ $(top_builddir)/include/sql_state.h: $(top_builddir)/include/mysqld_error.h
|
|||||||
bin_PROGRAMS = replace comp_err perror resolveip my_print_defaults \
|
bin_PROGRAMS = replace comp_err perror resolveip my_print_defaults \
|
||||||
resolve_stack_dump mysql_waitpid innochecksum
|
resolve_stack_dump mysql_waitpid innochecksum
|
||||||
noinst_PROGRAMS = charset2html
|
noinst_PROGRAMS = charset2html
|
||||||
|
EXTRA_DIST = cmakelists.txt
|
||||||
|
|
||||||
perror.o: perror.c
|
perror.o: perror.c
|
||||||
$(COMPILE) @ndbcluster_includes@ $(LM_CFLAGS) -c $<
|
$(COMPILE) @ndbcluster_includes@ $(LM_CFLAGS) -c $<
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
SUBDIRS = taocrypt src
|
SUBDIRS = taocrypt src
|
||||||
EXTRA_DIST = yassl.dsp yassl.dsw yassl.vcproj $(wildcard mySTL/*.hpp)
|
EXTRA_DIST = yassl.dsp yassl.dsw yassl.vcproj $(wildcard mySTL/*.hpp) \
|
||||||
|
cmakelists.txt
|
||||||
|
@ -31,7 +31,7 @@ include $(srcdir)/Makefile.shared
|
|||||||
libmysqlclient_la_SOURCES = $(target_sources)
|
libmysqlclient_la_SOURCES = $(target_sources)
|
||||||
libmysqlclient_la_LIBADD = $(target_libadd) $(yassl_libs_with_path)
|
libmysqlclient_la_LIBADD = $(target_libadd) $(yassl_libs_with_path)
|
||||||
libmysqlclient_la_LDFLAGS = $(target_ldflags)
|
libmysqlclient_la_LDFLAGS = $(target_ldflags)
|
||||||
EXTRA_DIST = Makefile.shared libmysql.def
|
EXTRA_DIST = Makefile.shared libmysql.def dll.c mytest.c cmakelists.txt
|
||||||
noinst_HEADERS = client_settings.h
|
noinst_HEADERS = client_settings.h
|
||||||
|
|
||||||
# This is called from the toplevel makefile
|
# This is called from the toplevel makefile
|
||||||
|
@ -50,6 +50,5 @@ ADD_LIBRARY(libmysql MODULE dll.c libmysql.def
|
|||||||
ADD_DEPENDENCIES(libmysql dbug vio mysys strings GenError zlib yassl taocrypt)
|
ADD_DEPENDENCIES(libmysql dbug vio mysys strings GenError zlib yassl taocrypt)
|
||||||
TARGET_LINK_LIBRARIES(libmysql mysys strings wsock32)
|
TARGET_LINK_LIBRARIES(libmysql mysys strings wsock32)
|
||||||
|
|
||||||
# ToDo: We should move the mytest.c program out in libmysql/
|
ADD_EXECUTABLE(myTest mytest.c)
|
||||||
ADD_EXECUTABLE(myTest ../VC++Files/libmysqltest/mytest.c)
|
|
||||||
TARGET_LINK_LIBRARIES(myTest libmysql)
|
TARGET_LINK_LIBRARIES(myTest libmysql)
|
||||||
|
175
libmysql/mytest.c
Normal file
175
libmysql/mytest.c
Normal file
@ -0,0 +1,175 @@
|
|||||||
|
/*C4*/
|
||||||
|
/****************************************************************/
|
||||||
|
/* Author: Jethro Wright, III TS : 3/ 4/1998 9:15 */
|
||||||
|
/* Date: 02/18/1998 */
|
||||||
|
/* mytest.c : do some testing of the libmySQL.DLL.... */
|
||||||
|
/* */
|
||||||
|
/* History: */
|
||||||
|
/* 02/18/1998 jw3 also sprach zarathustra.... */
|
||||||
|
/****************************************************************/
|
||||||
|
|
||||||
|
|
||||||
|
#include <windows.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
|
#include <mysql.h>
|
||||||
|
|
||||||
|
#define DEFALT_SQL_STMT "SELECT * FROM db"
|
||||||
|
#ifndef offsetof
|
||||||
|
#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
/********************************************************
|
||||||
|
**
|
||||||
|
** main :-
|
||||||
|
**
|
||||||
|
********************************************************/
|
||||||
|
|
||||||
|
int
|
||||||
|
main( int argc, char * argv[] )
|
||||||
|
{
|
||||||
|
|
||||||
|
char szSQL[ 200 ], aszFlds[ 25 ][ 25 ], szDB[ 50 ] ;
|
||||||
|
const char *pszT;
|
||||||
|
int i, j, k, l, x ;
|
||||||
|
MYSQL * myData ;
|
||||||
|
MYSQL_RES * res ;
|
||||||
|
MYSQL_FIELD * fd ;
|
||||||
|
MYSQL_ROW row ;
|
||||||
|
|
||||||
|
//....just curious....
|
||||||
|
printf( "sizeof( MYSQL ) == %d\n", (int) sizeof( MYSQL ) ) ;
|
||||||
|
if ( argc == 2 )
|
||||||
|
{
|
||||||
|
strcpy( szDB, argv[ 1 ] ) ;
|
||||||
|
strcpy( szSQL, DEFALT_SQL_STMT ) ;
|
||||||
|
if (!strcmp(szDB,"--debug"))
|
||||||
|
{
|
||||||
|
strcpy( szDB, "mysql" ) ;
|
||||||
|
printf("Some mysql struct information (size and offset):\n");
|
||||||
|
printf("net:\t%3d %3d\n",(int) sizeof(myData->net),
|
||||||
|
(int) offsetof(MYSQL,net));
|
||||||
|
printf("host:\t%3d %3d\n",(int) sizeof(myData->host),
|
||||||
|
(int) offsetof(MYSQL,host));
|
||||||
|
printf("port:\t%3d %3d\n", (int) sizeof(myData->port),
|
||||||
|
(int) offsetof(MYSQL,port));
|
||||||
|
printf("protocol_version:\t%3d %3d\n",
|
||||||
|
(int) sizeof(myData->protocol_version),
|
||||||
|
(int) offsetof(MYSQL,protocol_version));
|
||||||
|
printf("thread_id:\t%3d %3d\n",(int) sizeof(myData->thread_id),
|
||||||
|
(int) offsetof(MYSQL,thread_id));
|
||||||
|
printf("affected_rows:\t%3d %3d\n",(int) sizeof(myData->affected_rows),
|
||||||
|
(int) offsetof(MYSQL,affected_rows));
|
||||||
|
printf("packet_length:\t%3d %3d\n",(int) sizeof(myData->packet_length),
|
||||||
|
(int) offsetof(MYSQL,packet_length));
|
||||||
|
printf("status:\t%3d %3d\n",(int) sizeof(myData->status),
|
||||||
|
(int) offsetof(MYSQL,status));
|
||||||
|
printf("fields:\t%3d %3d\n",(int) sizeof(myData->fields),
|
||||||
|
(int) offsetof(MYSQL,fields));
|
||||||
|
printf("field_alloc:\t%3d %3d\n",(int) sizeof(myData->field_alloc),
|
||||||
|
(int) offsetof(MYSQL,field_alloc));
|
||||||
|
printf("free_me:\t%3d %3d\n",(int) sizeof(myData->free_me),
|
||||||
|
(int) offsetof(MYSQL,free_me));
|
||||||
|
printf("options:\t%3d %3d\n",(int) sizeof(myData->options),
|
||||||
|
(int) offsetof(MYSQL,options));
|
||||||
|
puts("");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if ( argc > 2 ) {
|
||||||
|
strcpy( szDB, argv[ 1 ] ) ;
|
||||||
|
strcpy( szSQL, argv[ 2 ] ) ;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
strcpy( szDB, "mysql" ) ;
|
||||||
|
strcpy( szSQL, DEFALT_SQL_STMT ) ;
|
||||||
|
}
|
||||||
|
//....
|
||||||
|
|
||||||
|
if ( (myData = mysql_init((MYSQL*) 0)) &&
|
||||||
|
mysql_real_connect( myData, NULL, NULL, NULL, NULL, MYSQL_PORT,
|
||||||
|
NULL, 0 ) )
|
||||||
|
{
|
||||||
|
myData->reconnect= 1;
|
||||||
|
if ( mysql_select_db( myData, szDB ) < 0 ) {
|
||||||
|
printf( "Can't select the %s database !\n", szDB ) ;
|
||||||
|
mysql_close( myData ) ;
|
||||||
|
return 2 ;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
printf( "Can't connect to the mysql server on port %d !\n",
|
||||||
|
MYSQL_PORT ) ;
|
||||||
|
mysql_close( myData ) ;
|
||||||
|
return 1 ;
|
||||||
|
}
|
||||||
|
//....
|
||||||
|
if ( ! mysql_query( myData, szSQL ) ) {
|
||||||
|
res = mysql_store_result( myData ) ;
|
||||||
|
i = (int) mysql_num_rows( res ) ; l = 1 ;
|
||||||
|
printf( "Query: %s\nNumber of records found: %ld\n", szSQL, i ) ;
|
||||||
|
//....we can get the field-specific characteristics here....
|
||||||
|
for ( x = 0 ; fd = mysql_fetch_field( res ) ; x++ )
|
||||||
|
strcpy( aszFlds[ x ], fd->name ) ;
|
||||||
|
//....
|
||||||
|
while ( row = mysql_fetch_row( res ) ) {
|
||||||
|
j = mysql_num_fields( res ) ;
|
||||||
|
printf( "Record #%ld:-\n", l++ ) ;
|
||||||
|
for ( k = 0 ; k < j ; k++ )
|
||||||
|
printf( " Fld #%d (%s): %s\n", k + 1, aszFlds[ k ],
|
||||||
|
(((row[k]==NULL)||(!strlen(row[k])))?"NULL":row[k])) ;
|
||||||
|
puts( "==============================\n" ) ;
|
||||||
|
}
|
||||||
|
mysql_free_result( res ) ;
|
||||||
|
}
|
||||||
|
else printf( "Couldn't execute %s on the server !\n", szSQL ) ;
|
||||||
|
//....
|
||||||
|
puts( "==== Diagnostic info ====" ) ;
|
||||||
|
pszT = mysql_get_client_info() ;
|
||||||
|
printf( "Client info: %s\n", pszT ) ;
|
||||||
|
//....
|
||||||
|
pszT = mysql_get_host_info( myData ) ;
|
||||||
|
printf( "Host info: %s\n", pszT ) ;
|
||||||
|
//....
|
||||||
|
pszT = mysql_get_server_info( myData ) ;
|
||||||
|
printf( "Server info: %s\n", pszT ) ;
|
||||||
|
//....
|
||||||
|
res = mysql_list_processes( myData ) ; l = 1 ;
|
||||||
|
if (res)
|
||||||
|
{
|
||||||
|
for ( x = 0 ; fd = mysql_fetch_field( res ) ; x++ )
|
||||||
|
strcpy( aszFlds[ x ], fd->name ) ;
|
||||||
|
while ( row = mysql_fetch_row( res ) ) {
|
||||||
|
j = mysql_num_fields( res ) ;
|
||||||
|
printf( "Process #%ld:-\n", l++ ) ;
|
||||||
|
for ( k = 0 ; k < j ; k++ )
|
||||||
|
printf( " Fld #%d (%s): %s\n", k + 1, aszFlds[ k ],
|
||||||
|
(((row[k]==NULL)||(!strlen(row[k])))?"NULL":row[k])) ;
|
||||||
|
puts( "==============================\n" ) ;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
printf("Got error %s when retreiving processlist\n",mysql_error(myData));
|
||||||
|
}
|
||||||
|
//....
|
||||||
|
res = mysql_list_tables( myData, "%" ) ; l = 1 ;
|
||||||
|
for ( x = 0 ; fd = mysql_fetch_field( res ) ; x++ )
|
||||||
|
strcpy( aszFlds[ x ], fd->name ) ;
|
||||||
|
while ( row = mysql_fetch_row( res ) ) {
|
||||||
|
j = mysql_num_fields( res ) ;
|
||||||
|
printf( "Table #%ld:-\n", l++ ) ;
|
||||||
|
for ( k = 0 ; k < j ; k++ )
|
||||||
|
printf( " Fld #%d (%s): %s\n", k + 1, aszFlds[ k ],
|
||||||
|
(((row[k]==NULL)||(!strlen(row[k])))?"NULL":row[k])) ;
|
||||||
|
puts( "==============================\n" ) ;
|
||||||
|
}
|
||||||
|
//....
|
||||||
|
pszT = mysql_stat( myData ) ;
|
||||||
|
puts( pszT ) ;
|
||||||
|
//....
|
||||||
|
mysql_close( myData ) ;
|
||||||
|
return 0 ;
|
||||||
|
|
||||||
|
}
|
@ -22,6 +22,7 @@ MYSQLSHAREdir = $(pkgdatadir)
|
|||||||
MYSQLBASEdir= $(prefix)
|
MYSQLBASEdir= $(prefix)
|
||||||
MYSQLLIBdir= $(libdir)
|
MYSQLLIBdir= $(libdir)
|
||||||
|
|
||||||
|
EXTRA_DIST = libmysqld.def
|
||||||
DEFS = -DEMBEDDED_LIBRARY -DMYSQL_SERVER \
|
DEFS = -DEMBEDDED_LIBRARY -DMYSQL_SERVER \
|
||||||
-DDEFAULT_MYSQL_HOME="\"$(MYSQLBASEdir)\"" \
|
-DDEFAULT_MYSQL_HOME="\"$(MYSQLBASEdir)\"" \
|
||||||
-DDATADIR="\"$(MYSQLDATAdir)\"" \
|
-DDATADIR="\"$(MYSQLDATAdir)\"" \
|
||||||
|
@ -58,7 +58,9 @@ libmysys_a_SOURCES = my_init.c my_getwd.c mf_getdate.c my_mmap.c \
|
|||||||
my_handler.c my_netware.c my_largepage.c \
|
my_handler.c my_netware.c my_largepage.c \
|
||||||
my_windac.c my_access.c base64.c
|
my_windac.c my_access.c base64.c
|
||||||
EXTRA_DIST = thr_alarm.c thr_lock.c my_pthread.c my_thr_init.c \
|
EXTRA_DIST = thr_alarm.c thr_lock.c my_pthread.c my_thr_init.c \
|
||||||
thr_mutex.c thr_rwlock.c
|
thr_mutex.c thr_rwlock.c \
|
||||||
|
cmakelists.txt mf_soundex.c \
|
||||||
|
my_conio.c my_wincond.c my_winsem.c my_winthread.c
|
||||||
libmysys_a_LIBADD = @THREAD_LOBJECTS@
|
libmysys_a_LIBADD = @THREAD_LOBJECTS@
|
||||||
# test_dir_DEPENDENCIES= $(LIBRARIES)
|
# test_dir_DEPENDENCIES= $(LIBRARIES)
|
||||||
# testhash_DEPENDENCIES= $(LIBRARIES)
|
# testhash_DEPENDENCIES= $(LIBRARIES)
|
||||||
|
@ -25,7 +25,7 @@ re_SOURCES = split.c debug.c main.c
|
|||||||
re_LDFLAGS= @NOINST_LDFLAGS@
|
re_LDFLAGS= @NOINST_LDFLAGS@
|
||||||
EXTRA_DIST = tests CHANGES COPYRIGHT WHATSNEW regexp.c \
|
EXTRA_DIST = tests CHANGES COPYRIGHT WHATSNEW regexp.c \
|
||||||
debug.ih engine.ih main.ih regcomp.ih regerror.ih \
|
debug.ih engine.ih main.ih regcomp.ih regerror.ih \
|
||||||
regex.3 regex.7
|
regex.3 regex.7 cmakelists.txt
|
||||||
|
|
||||||
test: re tests
|
test: re tests
|
||||||
./re < tests
|
./re < tests
|
||||||
|
@ -87,6 +87,8 @@ mysqlmanager_LDADD= @CLIENT_EXTRA_LDFLAGS@ \
|
|||||||
$(top_builddir)/dbug/libdbug.a \
|
$(top_builddir)/dbug/libdbug.a \
|
||||||
@openssl_libs@ @yassl_libs@ @ZLIB_LIBS@
|
@openssl_libs@ @yassl_libs@ @ZLIB_LIBS@
|
||||||
|
|
||||||
|
EXTRA_DIST = WindowsService.cpp WindowsService.h IMService.cpp \
|
||||||
|
IMService.h cmakelists.txt
|
||||||
|
|
||||||
tags:
|
tags:
|
||||||
ctags -R *.h *.cc
|
ctags -R *.h *.cc
|
||||||
|
@ -124,7 +124,8 @@ DEFS = -DMYSQL_SERVER \
|
|||||||
@DEFS@
|
@DEFS@
|
||||||
|
|
||||||
BUILT_SOURCES = sql_yacc.cc sql_yacc.h lex_hash.h
|
BUILT_SOURCES = sql_yacc.cc sql_yacc.h lex_hash.h
|
||||||
EXTRA_DIST = udf_example.cc handlerton-win.cc $(BUILT_SOURCES)
|
EXTRA_DIST = udf_example.cc handlerton-win.cc $(BUILT_SOURCES) \
|
||||||
|
nt_servc.cc nt_servc.h message.mc cmakelists.txt
|
||||||
CLEANFILES = lex_hash.h sql_yacc.cc sql_yacc.h
|
CLEANFILES = lex_hash.h sql_yacc.cc sql_yacc.h
|
||||||
AM_YFLAGS = -d
|
AM_YFLAGS = -d
|
||||||
|
|
||||||
|
@ -67,10 +67,10 @@ ADD_CUSTOM_COMMAND(
|
|||||||
|
|
||||||
# Windows message file
|
# Windows message file
|
||||||
ADD_CUSTOM_COMMAND(
|
ADD_CUSTOM_COMMAND(
|
||||||
SOURCE ../VC++Files/sql/message.mc
|
SOURCE message.mc
|
||||||
OUTPUT message.rc message.h
|
OUTPUT message.rc message.h
|
||||||
COMMAND mc ARGS ../VC++Files/sql/message.mc
|
COMMAND mc ARGS message.mc
|
||||||
DEPENDS ../VC++Files/sql/message.mc)
|
DEPENDS message.mc)
|
||||||
|
|
||||||
# MySql_version.h.
|
# MySql_version.h.
|
||||||
#ADD_CUSTOM_COMMAND(
|
#ADD_CUSTOM_COMMAND(
|
||||||
@ -84,7 +84,9 @@ ADD_CUSTOM_COMMAND(
|
|||||||
SOURCE ${PROJECT_SOURCE_DIR}/sql/handlerton.cc.in
|
SOURCE ${PROJECT_SOURCE_DIR}/sql/handlerton.cc.in
|
||||||
OUTPUT ${PROJECT_SOURCE_DIR}/sql/handlerton.cc
|
OUTPUT ${PROJECT_SOURCE_DIR}/sql/handlerton.cc
|
||||||
COMMAND cscript.exe ${PROJECT_SOURCE_DIR}/win/config-handlerton.js ARGS ${PROJECT_SOURCE_DIR}/win/configure.data
|
COMMAND cscript.exe ${PROJECT_SOURCE_DIR}/win/config-handlerton.js ARGS ${PROJECT_SOURCE_DIR}/win/configure.data
|
||||||
DEPENDS ${PROJECT_SOURCE_DIR}/sql/handlerton.cc.in)
|
DEPENDS ${PROJECT_SOURCE_DIR}/sql/handlerton.cc.in
|
||||||
|
${PROJECT_SOURCE_DIR}/win/configure.data
|
||||||
|
${PROJECT_SOURCE_DIR}/win/config-handlerton.js)
|
||||||
|
|
||||||
# Error file
|
# Error file
|
||||||
#GET_TARGET_PROPERTY(COMP_ERR_EXE comp_err LOCATION)
|
#GET_TARGET_PROPERTY(COMP_ERR_EXE comp_err LOCATION)
|
||||||
|
8
sql/message.mc
Normal file
8
sql/message.mc
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
MessageId = 100
|
||||||
|
Severity = Error
|
||||||
|
Facility = Application
|
||||||
|
SymbolicName = MSG_DEFAULT
|
||||||
|
Language = English
|
||||||
|
%1For more information, see Help and Support Center at http://www.mysql.com.
|
||||||
|
|
||||||
|
|
@ -27,6 +27,7 @@ noinst_PROGRAMS = archive_test
|
|||||||
archive_test_LDFLAGS = @NOINST_LDFLAGS@
|
archive_test_LDFLAGS = @NOINST_LDFLAGS@
|
||||||
noinst_HEADERS = azlib.h
|
noinst_HEADERS = azlib.h
|
||||||
libarchive_a_SOURCES = azio.c
|
libarchive_a_SOURCES = azio.c
|
||||||
|
EXTRA_DIST = cmakelists.txt
|
||||||
|
|
||||||
# Don't update the files from bitkeeper
|
# Don't update the files from bitkeeper
|
||||||
%::SCCS/s.%
|
%::SCCS/s.%
|
||||||
|
@ -23,13 +23,13 @@ top_srcdir = @top_srcdir@
|
|||||||
# distdir and top_distdir are set by the calling Makefile
|
# distdir and top_distdir are set by the calling Makefile
|
||||||
|
|
||||||
bdb_build = build_unix
|
bdb_build = build_unix
|
||||||
files = LICENSE Makefile Makefile.in README
|
files = LICENSE Makefile Makefile.in README cmakelists.txt
|
||||||
subdirs = btree build_win32 clib common cxx db dbinc \
|
subdirs = btree build_win32 clib common cxx db dbinc \
|
||||||
dbinc_auto db185 db_archive db_checkpoint db_deadlock db_dump \
|
dbinc_auto db185 db_archive db_checkpoint db_deadlock db_dump \
|
||||||
db_dump185 db_hotbackup db_load db_printlog db_recover db_stat db_upgrade \
|
db_dump185 db_hotbackup db_load db_printlog db_recover db_stat db_upgrade \
|
||||||
db_verify dbm dbreg dist env fileops hash \
|
db_verify dbm dbreg dist env fileops hash \
|
||||||
hsearch hmac include lock log mp mutex os \
|
hsearch hmac include lock log mp mutex os \
|
||||||
os_win32 qam rep txn xa sequence
|
os_win32 qam rep txn xa sequence crypto
|
||||||
|
|
||||||
@SET_MAKE@
|
@SET_MAKE@
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ pkglib_LTLIBRARIES = ha_example.la
|
|||||||
ha_example_la_LDFLAGS = -module
|
ha_example_la_LDFLAGS = -module
|
||||||
noinst_HEADERS = ha_example.h
|
noinst_HEADERS = ha_example.h
|
||||||
ha_example_la_SOURCES = ha_example.cc
|
ha_example_la_SOURCES = ha_example.cc
|
||||||
|
EXTRA_DIST = cmakelists.txt
|
||||||
LDADD =
|
LDADD =
|
||||||
|
|
||||||
DEFS = -DMYSQL_SERVER @DEFS@
|
DEFS = -DMYSQL_SERVER @DEFS@
|
||||||
|
@ -30,6 +30,7 @@ libheap_a_SOURCES = hp_open.c hp_extra.c hp_close.c hp_panic.c hp_info.c \
|
|||||||
hp_rnext.c hp_rlast.c hp_rprev.c hp_clear.c \
|
hp_rnext.c hp_rlast.c hp_rprev.c hp_clear.c \
|
||||||
hp_rkey.c hp_block.c \
|
hp_rkey.c hp_block.c \
|
||||||
hp_hash.c _check.c _rectest.c hp_static.c
|
hp_hash.c _check.c _rectest.c hp_static.c
|
||||||
|
EXTRA_DIST = cmakelists.txt
|
||||||
|
|
||||||
# Don't update the files from bitkeeper
|
# Don't update the files from bitkeeper
|
||||||
%::SCCS/s.%
|
%::SCCS/s.%
|
||||||
|
@ -76,7 +76,8 @@ EXTRA_DIST = include/btr0btr.h include/btr0btr.ic include/btr0cur.h include/btr
|
|||||||
include/univ.i include/usr0sess.h include/usr0sess.ic include/usr0types.h \
|
include/univ.i include/usr0sess.h include/usr0sess.ic include/usr0types.h \
|
||||||
include/ut0byte.h include/ut0byte.ic include/ut0dbg.h include/ut0lst.h \
|
include/ut0byte.h include/ut0byte.ic include/ut0dbg.h include/ut0lst.h \
|
||||||
include/ut0mem.h include/ut0mem.ic include/ut0rnd.h include/ut0rnd.ic \
|
include/ut0mem.h include/ut0mem.ic include/ut0rnd.h include/ut0rnd.ic \
|
||||||
include/ut0sort.h include/ut0ut.h include/ut0ut.ic
|
include/ut0sort.h include/ut0ut.h include/ut0ut.ic \
|
||||||
|
cmakelists.txt
|
||||||
|
|
||||||
# Don't update the files from bitkeeper
|
# Don't update the files from bitkeeper
|
||||||
%::SCCS/s.%
|
%::SCCS/s.%
|
||||||
|
@ -40,7 +40,9 @@ if we are compiling on Windows. */
|
|||||||
#undef VERSION
|
#undef VERSION
|
||||||
|
|
||||||
/* Include the header file generated by GNU autoconf */
|
/* Include the header file generated by GNU autoconf */
|
||||||
|
#ifndef __WIN__
|
||||||
#include "../ib_config.h"
|
#include "../ib_config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_SCHED_H
|
#ifdef HAVE_SCHED_H
|
||||||
#include <sched.h>
|
#include <sched.h>
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
# along with this program; if not, write to the Free Software
|
# along with this program; if not, write to the Free Software
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
EXTRA_DIST = mi_test_all.sh mi_test_all.res
|
EXTRA_DIST = mi_test_all.sh mi_test_all.res ft_stem.c cmakelists.txt
|
||||||
pkgdata_DATA = mi_test_all mi_test_all.res
|
pkgdata_DATA = mi_test_all mi_test_all.res
|
||||||
|
|
||||||
INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include
|
INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include
|
||||||
|
@ -23,6 +23,7 @@ libmyisammrg_a_SOURCES = myrg_open.c myrg_extra.c myrg_info.c myrg_locking.c \
|
|||||||
myrg_rkey.c myrg_rfirst.c myrg_rlast.c myrg_rnext.c \
|
myrg_rkey.c myrg_rfirst.c myrg_rlast.c myrg_rnext.c \
|
||||||
myrg_rprev.c myrg_queue.c myrg_write.c myrg_range.c \
|
myrg_rprev.c myrg_queue.c myrg_write.c myrg_range.c \
|
||||||
myrg_rnext_same.c
|
myrg_rnext_same.c
|
||||||
|
EXTRA_DIST = cmakelists.txt
|
||||||
|
|
||||||
# Don't update the files from bitkeeper
|
# Don't update the files from bitkeeper
|
||||||
%::SCCS/s.%
|
%::SCCS/s.%
|
||||||
|
@ -54,7 +54,7 @@ EXTRA_DIST = ctype-big5.c ctype-cp932.c ctype-czech.c ctype-eucjpms.c ctype-euc
|
|||||||
bmove_upp-sparc.s strappend-sparc.s strend-sparc.s \
|
bmove_upp-sparc.s strappend-sparc.s strend-sparc.s \
|
||||||
strinstr-sparc.s strmake-sparc.s strmov-sparc.s \
|
strinstr-sparc.s strmake-sparc.s strmov-sparc.s \
|
||||||
strnmov-sparc.s strstr-sparc.s strxmov-sparc.s \
|
strnmov-sparc.s strstr-sparc.s strxmov-sparc.s \
|
||||||
t_ctype.h my_strchr.c
|
t_ctype.h my_strchr.c cmakelists.txt
|
||||||
|
|
||||||
libmystrings_a_LIBADD=
|
libmystrings_a_LIBADD=
|
||||||
conf_to_src_SOURCES = conf_to_src.c xml.c ctype.c bcmp.c
|
conf_to_src_SOURCES = conf_to_src.c xml.c ctype.c bcmp.c
|
||||||
|
@ -29,7 +29,8 @@ EXTRA_DIST = auto_increment.res auto_increment.tst \
|
|||||||
insert_and_repair.pl \
|
insert_and_repair.pl \
|
||||||
grant.pl grant.res test_delayed_insert.pl \
|
grant.pl grant.res test_delayed_insert.pl \
|
||||||
pmail.pl mail_to_db.pl table_types.pl \
|
pmail.pl mail_to_db.pl table_types.pl \
|
||||||
udf_test udf_test.res myisam-big-rows.tst
|
udf_test udf_test.res myisam-big-rows.tst \
|
||||||
|
cmakelists.txt
|
||||||
|
|
||||||
bin_PROGRAMS = mysql_client_test
|
bin_PROGRAMS = mysql_client_test
|
||||||
noinst_PROGRAMS = insert_test select_test thread_test
|
noinst_PROGRAMS = insert_test select_test thread_test
|
||||||
|
@ -38,6 +38,7 @@ test_sslclient_LDADD= @CLIENT_EXTRA_LDFLAGS@ ../dbug/libdbug.a libvio.a \
|
|||||||
../mysys/libmysys.a ../strings/libmystrings.a \
|
../mysys/libmysys.a ../strings/libmystrings.a \
|
||||||
$(openssl_libs) $(yassl_libs)
|
$(openssl_libs) $(yassl_libs)
|
||||||
libvio_a_SOURCES= vio.c viosocket.c viossl.c viosslfactories.c
|
libvio_a_SOURCES= vio.c viosocket.c viossl.c viosslfactories.c
|
||||||
|
EXTRA_DIST= cmakelists.txt
|
||||||
|
|
||||||
# Don't update the files from bitkeeper
|
# Don't update the files from bitkeeper
|
||||||
%::SCCS/s.%
|
%::SCCS/s.%
|
||||||
|
21
win/Makefile.am
Normal file
21
win/Makefile.am
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
# Copyright (C) 2006 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
|
||||||
|
#
|
||||||
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program; if not, write to the Free Software
|
||||||
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
|
## Process this file with automake to create Makefile.in
|
||||||
|
EXTRA_DIST = build-vs71.bat build-vs8.bat config-handlerton.js configure.js config-version.js README
|
||||||
|
|
||||||
|
# Don't update the files from bitkeeper
|
||||||
|
%::SCCS/s.%
|
@ -29,5 +29,4 @@ libz_la_SOURCES= adler32.c compress.c crc32.c deflate.c gzio.c \
|
|||||||
infback.c inffast.c inflate.c inftrees.c trees.c \
|
infback.c inffast.c inflate.c inftrees.c trees.c \
|
||||||
uncompr.c zutil.c
|
uncompr.c zutil.c
|
||||||
|
|
||||||
EXTRA_DIST= README FAQ INDEX ChangeLog algorithm.txt zlib.3
|
EXTRA_DIST= README FAQ INDEX ChangeLog algorithm.txt zlib.3 cmakelists.txt
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user