mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-07-08 18:07:12 +02:00
Integrate MySQL module.
This commit is contained in:
module
CMakeLists.txt
Library
Vendor
CMakeLists.txt
MDBC
CMakeLists.txtCOPYING.LIBREADME
cmake
COPYING-CMAKE-SCRIPTSCheckFunctions.cmakeCheckIncludeFiles.cmakeCheckTypes.cmakeConnectorName.cmakeFindIconv.cmakeSearchLibrary.cmakeWindowsCache.cmakeinstall.cmakelinux_x86_toolchain.cmakesign.cmakesymlink.cmakeversion_info.cmake
examples
include
CMakeLists.txtconfig-win.hdbug.herrmsg.hgetopt.hhash.hm_ctype.hm_string.hma_common.hma_dyncol.hma_secure.hmy_alarm.hmy_base.hmy_config.hmy_config.h.inmy_context.hmy_dir.hmy_global.hmy_list.hmy_net.hmy_no_pthread.hmy_pthread.hmy_stmt.hmy_sys.hmysql.h
mysql
mysql_async.hmysql_com.hmysql_io.hmysql_mm.hmysql_priv.hmysql_version.hmysql_version.h.inmysql_wireprotocol.hmysqld_error.hmysys_err.hsha1.hthr_alarm.hviolite.hlibmariadb
CMakeLists.txtacinclude.m4array.cbchange.cbmove.cbmove_upp.ccharset.cclient_plugin.cdbug.cdefault.cerrmsg.cerrors.cget_password.cgetopt.cgetopt1.chash.cint2str.cis_prefix.clibmariadb.clist.cllstr.clonglong2str.cma_dtoa.cma_dyncol.cma_secure.cma_time.cmf_dirname.cmf_fn_ext.cmf_format.cmf_loadpath.cmf_pack.cmf_path.cmf_unixpath.cmf_wcomp.cmulalloc.cmy_alloc.cmy_auth.cmy_charset.cmy_compress.cmy_context.cmy_div.cmy_error.cmy_fopen.cmy_fstream.cmy_getwd.cmy_init.cmy_lib.cmy_loaddata.cmy_malloc.cmy_messnc.cmy_net.cmy_once.cmy_open.cmy_port.cmy_pthread.cmy_read.cmy_realloc.cmy_seek.cmy_static.cmy_static.hmy_stmt.cmy_stmt_codec.cmy_symlink.cmy_thr_init.cmy_vsnprintf.cmy_write.cmysql_async.cmysys_priv.hnet.cpassword.csha1.cstr2int.cstrcend.cstrcont.cstrend.cstrfill.cstring.cstrinstr.cstrmake.cstrmov.cstrnlen.cstrnmov.cstrto.cstrtoll.cstrtoull.cstrxmov.cstrxnmov.cthr_mutex.ctypelib.cviolite.c
mariadb_config
plugins
win-iconv
win
packaging
resource.rc.inzlib
CMakeLists.txtChangeLogFAQINDEXMakefileMakefile.inREADMEadler32.c
amiga
compress.cconfigurecontrib
README.contrib
crc32.ccrc32.hdeflate.cdeflate.hada
buffer_demo.adbmtest.adbread.adbreadme.txttest.adbzlib-streams.adbzlib-streams.adszlib-thin.adbzlib-thin.adszlib.adbzlib.adszlib.gpr
amd64
asm686
blast
delphi
dotzlib
DotZLib.buildDotZLib.chmDotZLib.sln
DotZLib
AssemblyInfo.csChecksumImpl.csCircularBuffer.csCodecBase.csDeflater.csDotZLib.csDotZLib.csprojGZipStream.csInflater.csUnitTests.cs
LICENSE_1_0.txtreadme.txtgcc_gvmat64
infback9
inflate86
iostream
iostream2
iostream3
masmx64
masmx86
minizip
MakefileMakefile.amMiniZip64_Changes.txtMiniZip64_info.txtconfigure.accrypt.hioapi.cioapi.hiowin32.ciowin32.hmake_vms.comminiunz.cminiunzip.1minizip.1minizip.cminizip.pc.inmztools.cmztools.hunzip.cunzip.hzip.czip.h
pascal
puff
testzlib
untgz
vstudio
readme.txt
vc10
miniunz.vcxprojminiunz.vcxproj.filtersminizip.vcxprojminizip.vcxproj.filterstestzlib.vcxprojtestzlib.vcxproj.filterstestzlibdll.vcxprojtestzlibdll.vcxproj.filterszlib.rczlibstat.vcxprojzlibstat.vcxproj.filterszlibvc.defzlibvc.slnzlibvc.vcxprojzlibvc.vcxproj.filters
vc11
miniunz.vcxprojminizip.vcxprojtestzlib.vcxprojtestzlibdll.vcxprojzlib.rczlibstat.vcxprojzlibvc.defzlibvc.slnzlibvc.vcxproj
vc12
miniunz.vcxprojminizip.vcxprojtestzlib.vcxprojtestzlibdll.vcxprojzlib.rczlibstat.vcxprojzlibvc.defzlibvc.slnzlibvc.vcxproj
vc14
miniunz.vcxprojminizip.vcxprojtestzlib.vcxprojtestzlibdll.vcxprojzlib.rczlibstat.vcxprojzlibvc.defzlibvc.slnzlibvc.vcxproj
vc9
doc
examples
gzclose.cgzguts.hgzlib.cgzread.cgzwrite.cinfback.cinffast.cinffast.hinffixed.hinflate.cinflate.hinftrees.cinftrees.hmake_vms.commsdos
nintendods
old
os400
qnx
test
treebuild.xmltrees.ctrees.huncompr.cwatcom
win32
zconf.h.cmakeinzconf.h.inzconf.h.includedzlib.3zlib.3.pdfzlib.hzlib.mapzlib.pc.cmakeinzlib.pc.inzlib2ansizutil.czutil.h
112
module/Vendor/MDBC/zlib/msdos/Makefile.msc
vendored
Normal file
112
module/Vendor/MDBC/zlib/msdos/Makefile.msc
vendored
Normal file
@ -0,0 +1,112 @@
|
||||
# Makefile for zlib
|
||||
# Microsoft C 5.1 or later
|
||||
# Last updated: 19-Mar-2003
|
||||
|
||||
# To use, do "make makefile.msc"
|
||||
# To compile in small model, set below: MODEL=S
|
||||
|
||||
# If you wish to reduce the memory requirements (default 256K for big
|
||||
# objects plus a few K), you can add to the LOC macro below:
|
||||
# -DMAX_MEM_LEVEL=7 -DMAX_WBITS=14
|
||||
# See zconf.h for details about the memory requirements.
|
||||
|
||||
# ------------- Microsoft C 5.1 and later -------------
|
||||
|
||||
# Optional nonstandard preprocessor flags (e.g. -DMAX_MEM_LEVEL=7)
|
||||
# should be added to the environment via "set LOCAL_ZLIB=-DFOO" or added
|
||||
# to the declaration of LOC here:
|
||||
LOC = $(LOCAL_ZLIB)
|
||||
|
||||
# Type for CPU required: 0: 8086, 1: 80186, 2: 80286, 3: 80386, etc.
|
||||
CPU_TYP = 0
|
||||
|
||||
# Memory model: one of S, M, C, L (small, medium, compact, large)
|
||||
MODEL=L
|
||||
|
||||
CC=cl
|
||||
CFLAGS=-nologo -A$(MODEL) -G$(CPU_TYP) -W3 -Oait -Gs $(LOC)
|
||||
#-Ox generates bad code with MSC 5.1
|
||||
LIB_CFLAGS=-Zl $(CFLAGS)
|
||||
|
||||
LD=link
|
||||
LDFLAGS=/noi/e/st:0x1500/noe/farcall/packcode
|
||||
# "/farcall/packcode" are only useful for `large code' memory models
|
||||
# but should be a "no-op" for small code models.
|
||||
|
||||
|
||||
# variables
|
||||
ZLIB_LIB = zlib_$(MODEL).lib
|
||||
|
||||
OBJ1 = adler32.obj compress.obj crc32.obj deflate.obj gzclose.obj gzlib.obj gzread.obj
|
||||
OBJ2 = gzwrite.obj infback.obj inffast.obj inflate.obj inftrees.obj trees.obj uncompr.obj zutil.obj
|
||||
|
||||
|
||||
# targets
|
||||
all: $(ZLIB_LIB) example.exe minigzip.exe
|
||||
|
||||
.c.obj:
|
||||
$(CC) -c $(LIB_CFLAGS) $*.c
|
||||
|
||||
adler32.obj: adler32.c zlib.h zconf.h
|
||||
|
||||
compress.obj: compress.c zlib.h zconf.h
|
||||
|
||||
crc32.obj: crc32.c zlib.h zconf.h crc32.h
|
||||
|
||||
deflate.obj: deflate.c deflate.h zutil.h zlib.h zconf.h
|
||||
|
||||
gzclose.obj: gzclose.c zlib.h zconf.h gzguts.h
|
||||
|
||||
gzlib.obj: gzlib.c zlib.h zconf.h gzguts.h
|
||||
|
||||
gzread.obj: gzread.c zlib.h zconf.h gzguts.h
|
||||
|
||||
gzwrite.obj: gzwrite.c zlib.h zconf.h gzguts.h
|
||||
|
||||
infback.obj: infback.c zutil.h zlib.h zconf.h inftrees.h inflate.h \
|
||||
inffast.h inffixed.h
|
||||
|
||||
inffast.obj: inffast.c zutil.h zlib.h zconf.h inftrees.h inflate.h \
|
||||
inffast.h
|
||||
|
||||
inflate.obj: inflate.c zutil.h zlib.h zconf.h inftrees.h inflate.h \
|
||||
inffast.h inffixed.h
|
||||
|
||||
inftrees.obj: inftrees.c zutil.h zlib.h zconf.h inftrees.h
|
||||
|
||||
trees.obj: trees.c zutil.h zlib.h zconf.h deflate.h trees.h
|
||||
|
||||
uncompr.obj: uncompr.c zlib.h zconf.h
|
||||
|
||||
zutil.obj: zutil.c zutil.h zlib.h zconf.h
|
||||
|
||||
example.obj: test/example.c zlib.h zconf.h
|
||||
$(CC) -c $(CFLAGS) $*.c
|
||||
|
||||
minigzip.obj: test/minigzip.c zlib.h zconf.h
|
||||
$(CC) -c $(CFLAGS) $*.c
|
||||
|
||||
|
||||
# the command line is cut to fit in the MS-DOS 128 byte limit:
|
||||
$(ZLIB_LIB): $(OBJ1) $(OBJ2)
|
||||
if exist $(ZLIB_LIB) del $(ZLIB_LIB)
|
||||
lib $(ZLIB_LIB) $(OBJ1);
|
||||
lib $(ZLIB_LIB) $(OBJ2);
|
||||
|
||||
example.exe: example.obj $(ZLIB_LIB)
|
||||
$(LD) $(LDFLAGS) example.obj,,,$(ZLIB_LIB);
|
||||
|
||||
minigzip.exe: minigzip.obj $(ZLIB_LIB)
|
||||
$(LD) $(LDFLAGS) minigzip.obj,,,$(ZLIB_LIB);
|
||||
|
||||
test: example.exe minigzip.exe
|
||||
example
|
||||
echo hello world | minigzip | minigzip -d
|
||||
|
||||
clean:
|
||||
-del *.obj
|
||||
-del *.lib
|
||||
-del *.exe
|
||||
-del *.map
|
||||
-del zlib_*.bak
|
||||
-del foo.gz
|
Reference in New Issue
Block a user