Sha256: b9198302c5e0d96263e735a63a4a863f9eab17cea2ac47410d285fa4367b25e5

Contents?: true

Size: 1.98 KB

Versions: 135

Compression:

Stored size: 1.98 KB

Contents

# Time-stamp: <03/11/30 11:46:14 ptr>

#INCLUDES :=

CXX := icpc
CC := icc

ifdef TARGET_OS
# CXX := ${TARGET_OS}-c++
# CC := ${TARGET_OS}-gcc
endif

CXX_VERSION := $(shell ${CXX} --version | awk 'NR == 1 {print $$3; }')
# if we didn't get anything from that, use the old style for versions < 9
ifeq (${CXX_VERSION},)
CXX_VERSION := $(shell ${CXX} --version)
endif

CXX_VERSION_MAJOR := $(shell echo ${CXX_VERSION} | awk 'BEGIN { FS = "."; } { print $$1; }')
CXX_VERSION_MINOR := $(shell echo ${CXX_VERSION} | awk 'BEGIN { FS = "."; } { print $$2; }')
# CXX_VERSION_PATCH := $(shell echo ${CXX_VERSION} | awk 'BEGIN { FS = "."; } { print $$3; }')

SYSINCLUDES := -I$(shell which icpc | xargs dirname | xargs dirname)/include/c++

DEFS ?=
OPT ?=

DEFS += -D_REENTRANT

OUTPUT_OPTION = -o $@
LINK_OUTPUT_OPTION = ${OUTPUT_OPTION}
CPPFLAGS = $(DEFS) $(INCLUDES) $(SYSINCLUDES)

ifeq ($(OSNAME),linux)
CCFLAGS = $(OPT)
CFLAGS = $(OPT)
# CXXFLAGS = -pthread -nostdinc++ -fexceptions -fident $(OPT)
CXXFLAGS = $(OPT)
endif

CDEPFLAGS = -E -M
CCDEPFLAGS = -E -M

# STLport DEBUG mode specific defines
stldbg-static :	    DEFS += -D_STLP_DEBUG
stldbg-shared :     DEFS += -D_STLP_DEBUG
stldbg-static-dep : DEFS += -D_STLP_DEBUG
stldbg-shared-dep : DEFS += -D_STLP_DEBUG

# optimization and debug compiler flags
release-static : OPT += -O2
release-shared : OPT += -O2

dbg-static : OPT += -g
dbg-shared : OPT += -g
#dbg-static-dep : OPT += -g
#dbg-shared-dep : OPT += -g

stldbg-static : OPT += -g
stldbg-shared : OPT += -g
#stldbg-static-dep : OPT += -g
#stldbg-shared-dep : OPT += -g

# dependency output parser (dependencies collector)

DP_OUTPUT_DIR = | sed 's|\($*\)\.o[ :]*|$(OUTPUT_DIR)/\1.o $@ : |g' > $@; \
                           [ -s $@ ] || rm -f $@

DP_OUTPUT_DIR_DBG = | sed 's|\($*\)\.o[ :]*|$(OUTPUT_DIR_DBG)/\1.o $@ : |g' > $@; \
                           [ -s $@ ] || rm -f $@

DP_OUTPUT_DIR_STLDBG = | sed 's|\($*\)\.o[ :]*|$(OUTPUT_DIR_STLDBG)/\1.o $@ : |g' > $@; \
                           [ -s $@ ] || rm -f $@

Version data entries

135 entries across 135 versions & 2 rubygems

Version Path
rhodes-7.6.0 platform/shared/stlport/build/Makefiles/gmake/icc.mak
rhodes-7.5.1 platform/shared/stlport/build/Makefiles/gmake/icc.mak
rhodes-7.4.1 platform/shared/stlport/build/Makefiles/gmake/icc.mak
rhodes-7.1.17 platform/shared/stlport/build/Makefiles/gmake/icc.mak
rhodes-6.2.0 platform/shared/stlport/build/Makefiles/gmake/icc.mak
rhodes-6.0.11 platform/shared/stlport/build/Makefiles/gmake/icc.mak
rhodes-5.5.18 platform/shared/stlport/build/Makefiles/gmake/icc.mak
rhodes-5.5.17 platform/shared/stlport/build/Makefiles/gmake/icc.mak
rhodes-5.5.15 platform/shared/stlport/build/Makefiles/gmake/icc.mak
rhodes-5.5.0.22 platform/shared/stlport/build/Makefiles/gmake/icc.mak
rhodes-5.5.2 platform/shared/stlport/build/Makefiles/gmake/icc.mak
rhodes-5.5.0.7 platform/shared/stlport/build/Makefiles/gmake/icc.mak
rhodes-5.5.0.3 platform/shared/stlport/build/Makefiles/gmake/icc.mak
rhodes-5.5.0 platform/shared/stlport/build/Makefiles/gmake/icc.mak
tauplatform-1.0.3 platform/shared/stlport/build/Makefiles/gmake/icc.mak
tauplatform-1.0.2 platform/shared/stlport/build/Makefiles/gmake/icc.mak
tauplatform-1.0.1 platform/shared/stlport/build/Makefiles/gmake/icc.mak
rhodes-3.5.1.12 platform/shared/stlport/build/Makefiles/gmake/icc.mak
rhodes-3.3.5 platform/shared/stlport/build/Makefiles/gmake/icc.mak
rhodes-3.4.2 platform/shared/stlport/build/Makefiles/gmake/icc.mak