poco/build/config/Cygwin

86 lines
1.6 KiB
Plaintext
Raw Normal View History

2018-05-08 04:33:44 +02:00
#
# CYGWIN
#
# Make settings for Cygwin
#
#
#
# General Settings, note that strip doesn't do anything on Cygwin, thus empty
#
LINKMODE ?= SHARED
#
# Define Tools
#
CC = gcc
CXX = g++
LINK = $(CXX)
LIB = ar -cr
RANLIB = ranlib
SHLIB = $(CXX) -shared -o $@
SHLIBLN = $(POCO_BASE)/build/script/shlibln
STRIP =
2022-07-07 11:18:20 +02:00
DEP = $(POCO_BASE)/build/script/makedepend.gcc
2018-05-08 04:33:44 +02:00
SHELL = sh
RM = rm -rf
CP = cp
MKDIR = mkdir -p
#
# Extension for Shared Libraries
#
LIBPREFIX = cyg
SHAREDLIBEXT = -$(target_version).dll
SHAREDLIBLINKEXT = .dll
IMPPREFIX = lib
IMPLIBEXT = -$(target_version).dll.a
IMPLIBLINKEXT = .dll.a
#
# Compiler and Linker Flags
#
2022-07-07 11:18:20 +02:00
CFLAGS =
CFLAGS32 =
CFLAGS64 =
2018-05-08 04:33:44 +02:00
CXXFLAGS = -Wa,-mbig-obj -DPOCO_NO_FPENVIRONMENT -DPOCO_NO_WSTRING
CXXFLAGS32 =
CXXFLAGS64 = -Wa,-mbig-obj
SHLIBFLAGS = -Wl,--out-implib=$(dir $@)$(subst cyg,lib,$(notdir $@)).a -Wl,--export-all-symbols -Wl,--enable-auto-import
2022-07-07 11:18:20 +02:00
SHLIBFLAGS32 =
SHLIBFLAGS64 =
LINKFLAGS =
LINKFLAGS32 =
LINKFLAGS64 =
STATICOPT_CC =
STATICOPT_CXX =
2018-05-08 04:33:44 +02:00
STATICOPT_LINK = -static
2022-07-07 11:18:20 +02:00
SHAREDOPT_CC =
SHAREDOPT_CXX =
SHAREDOPT_LINK =
2018-05-08 04:33:44 +02:00
DEBUGOPT_CC = -g -D_DEBUG
DEBUGOPT_CXX = -g -D_DEBUG
DEBUGOPT_LINK = -g
RELEASEOPT_CC = -DNDEBUG
RELEASEOPT_CXX = -DNDEBUG
2022-07-07 11:18:20 +02:00
RELEASEOPT_LINK =
2018-05-08 04:33:44 +02:00
#
# System Specific Flags
#
SYSFLAGS = -D_GNU_SOURCE
#
#
# System Specific Libraries
#
2022-07-07 11:18:20 +02:00
SYSLIBS =
2018-05-08 04:33:44 +02:00
2022-07-07 11:18:20 +02:00
# commented out until OSARCH_POSTFIX be fixed
2018-05-08 04:33:44 +02:00
#ifeq ($(findstring x86_64,$(shell uname -m)),x86_64)
# OSARCH_64BITS = 1
#else
# OSARCH_64BITS = 0
#endif