mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-06-15 14:47:13 +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
PUGIXML
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.
74 lines
1.4 KiB
Plaintext
74 lines
1.4 KiB
Plaintext
#
|
|
# Yocto
|
|
#
|
|
# Make settings for Linux/GCC ARM
|
|
#
|
|
#
|
|
|
|
#
|
|
# General Settings
|
|
#
|
|
LINKMODE ?= SHARED
|
|
TOOL ?= arm-linux
|
|
POCO_TARGET_OSNAME = Linux
|
|
POCO_TARGET_OSARCH ?= armv7l
|
|
|
|
#
|
|
# Define Tools
|
|
#
|
|
CC = $(TOOL)-gcc
|
|
CXX = $(TOOL)-g++
|
|
LINK = $(CXX)
|
|
LIB = $(TOOL)-ar -cr
|
|
RANLIB = $(TOOL)-ranlib
|
|
SHLIB = $(CXX) -shared -Wl,-soname,$(notdir $@) -o $@
|
|
SHLIBLN = $(POCO_BASE)/build/script/shlibln
|
|
STRIP = $(TOOL)-strip
|
|
DEP = $(POCO_BASE)/build/script/makedepend.gcc
|
|
SHELL = sh
|
|
RM = rm -rf
|
|
CP = cp
|
|
MKDIR = mkdir -p
|
|
|
|
#
|
|
# Extension for Shared Libraries
|
|
#
|
|
SHAREDLIBEXT = .so.$(target_version)
|
|
SHAREDLIBLINKEXT = .so
|
|
|
|
#
|
|
# Compiler and Linker Flags
|
|
#
|
|
CFLAGS = -std=c99
|
|
CFLAGS32 =
|
|
CFLAGS64 =
|
|
CXXFLAGS = -Wall -Wno-sign-compare
|
|
CXXFLAGS32 =
|
|
CXXFLAGS64 =
|
|
LINKFLAGS =
|
|
LINKFLAGS32 =
|
|
LINKFLAGS64 =
|
|
STATICOPT_CC =
|
|
STATICOPT_CXX =
|
|
STATICOPT_LINK = -static
|
|
SHAREDOPT_CC = -fPIC
|
|
SHAREDOPT_CXX = -fPIC
|
|
SHAREDOPT_LINK = -Wl,-rpath,$(LIBPATH)
|
|
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_XOPEN_SOURCE=600 -D_REENTRANT -D_THREAD_SAFE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DPOCO_HAVE_FD_EPOLL \
|
|
-DPOCO_HAVE_ADDRINFO -DPOCO_HAVE_LIBRESOLV
|
|
|
|
#
|
|
# System Specific Libraries
|
|
#
|
|
SYSLIBS = -lpthread -ldl -lrt
|