mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-06-28 13:07:12 +02:00
.github
bin
module
vendor
CPR
ConcurrentQueue
Fmt
JSMN
MaxmindDB
POCO
ApacheConnector
CppParser
CppUnit
Crypto
Data
Encodings
Foundation
JSON
JWT
MongoDB
Net
NetSSL_OpenSSL
NetSSL_Win
PDF
PageCompiler
PocoDoc
ProGen
Redis
SevenZip
Util
XML
Zip
appveyor
build
config
AIX
ARM-Linux
Alpine
Android
Angstrom
AppleTV
AppleTVSimulator
BeagleBoard
CEGCCARM
CygLinux
Cygwin
Darwin
Darwin-clang
Darwin-clang-libc++
Darwin32
Darwin32-clang
Darwin32-clang-libc++
Darwin64
Darwin64-clang
Darwin64-clang-libc++
DigiEL
ELDK
FreeBSD
FreeBSD-Linux-compat
GCCEMBEDLINUX
HP-UX
Linux
Linux-SolarisStudio
Linux-clang
MinGW
MinGW-CrossEnv
NIOS2-Linux
OSF1
OpenPandora
PPC-Linux
QNX
SH-Linux
SSV-LINUX
SmartOS-gcc
SunOS
SunOS-GCC
SunOS-SunForte
SunOS-SunStudio
SunOS-SunStudio11
SunOS-stdcxx-x86_64
WatchOS
WatchSimulator
Yocto
iPhone
iPhone-clang
iPhone-clang-libc++
iPhoneSimulator
iPhoneSimulator-clang
iPhoneSimulator-clang-libc++
rules
script
cmake
contrib
doc
packaging
patches
release
travis
.gitattributes
.gitignore
.gitmodules
.travis.yml
CHANGELOG
CMakeLists.txt
CODE_OF_CONDUCT.md
CONTRIBUTING.md
CONTRIBUTORS
LICENSE
Makefile
NEWS
README
README.md
VERSION
appveyor.yml
build_cmake.cmd
build_cmake.sh
build_vs140.cmd
build_vs150.cmd
build_vs160.cmd
buildwin.cmd
buildwin.ps1
components
configure
cppignore.lnx
cppignore.win
env.bat
env.sh
libversion
SimpleIni
Squirrel
TinyDir
ZMQ
CMakeLists.txt
.gitignore
.gitmodules
CMakeLists.txt
LICENSE
README.md
Switched to POCO library for unified platform/library interface. Deprecated the external module API. It was creating more problems than solving. Removed most built-in libraries in favor of system libraries for easier maintenance. Cleaned and secured code with help from static analyzers.
76 lines
1.5 KiB
Plaintext
76 lines
1.5 KiB
Plaintext
#
|
|
# MinGW32
|
|
#
|
|
# Make settings for MinGW cross build on Linux
|
|
# (see <http://mxe.cc/>)
|
|
#
|
|
|
|
#
|
|
# General Settings
|
|
#
|
|
LINKMODE ?= STATIC
|
|
POCO_TARGET_OSNAME = MinGW
|
|
POCO_TARGET_OSARCH = i686
|
|
CROSSENV = i686-pc-mingw32
|
|
|
|
#
|
|
# Define Tools
|
|
#
|
|
CC = $(CROSSENV)-gcc
|
|
CXX = $(CROSSENV)-g++
|
|
LINK = $(CXX)
|
|
LIB = $(CROSSENV)-ar -cr
|
|
RANLIB = $(CROSSENV)-ranlib
|
|
SHLIB = $(CXX) -shared -o $@ -Wl,--out-implib=$(dir $@)$(subst cyg,lib,$(basename $(notdir $@))).a
|
|
SHLIBLN = $(POCO_BASE)/build/script/shlibln
|
|
STRIP = $(CROSSENV)-strip
|
|
DEP = $(POCO_BASE)/build/script/makedepend.gcc
|
|
SHELL = sh
|
|
RM = rm -rf
|
|
CP = cp
|
|
MKDIR = mkdir -p
|
|
WINDMC = $(CROSSENV)-windmc
|
|
|
|
#
|
|
# Extension for Shared Libraries
|
|
#
|
|
SHAREDLIBEXT = .dll
|
|
SHAREDLIBLINKEXT = .dll
|
|
|
|
BINEXT = .exe
|
|
|
|
#
|
|
# Compiler and Linker Flags
|
|
#
|
|
CFLAGS =
|
|
CFLAGS32 =
|
|
CFLAGS64 =
|
|
CXXFLAGS =
|
|
CXXFLAGS32 =
|
|
CXXFLAGS64 =
|
|
LINKFLAGS = -Wl,--allow-multiple-definition
|
|
LINKFLAGS32 =
|
|
LINKFLAGS64 =
|
|
STATICOPT_CC =
|
|
STATICOPT_CXX =
|
|
STATICOPT_LINK = -static
|
|
SHAREDOPT_CC =
|
|
SHAREDOPT_CXX =
|
|
SHAREDOPT_LINK = -shared
|
|
DEBUGOPT_CC = -g -D_DEBUG
|
|
DEBUGOPT_CXX = -g -D_DEBUG
|
|
DEBUGOPT_LINK = -g
|
|
RELEASEOPT_CC = -O2 -DNDEBUG
|
|
RELEASEOPT_CXX = -O2 -DNDEBUG
|
|
RELEASEOPT_LINK = -O2
|
|
|
|
#
|
|
# System Specific Flags
|
|
#
|
|
SYSFLAGS = -D_WIN32 -DMINGW32 -DWINVER=0x501 -DPOCO_NO_FPENVIRONMENT -DPCRE_STATIC -DPOCO_THREAD_STACK_SIZE
|
|
|
|
#
|
|
# System Specific Libraries
|
|
#
|
|
SYSLIBS = -liphlpapi -lssl -lcrypto -lws2_32
|