first commit
This commit is contained in:
17
extern/STLport/5.2.1/build/lib/CC.mak
vendored
Normal file
17
extern/STLport/5.2.1/build/lib/CC.mak
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
# -*- Makefile -*- Time-stamp: <03/10/12 20:35:49 ptr>
|
||||
|
||||
SRCROOT := ..
|
||||
COMPILER_NAME := CC
|
||||
|
||||
STLPORT_ETC_DIR = ../../etc
|
||||
STLPORT_INCLUDE_DIR = ../../stlport
|
||||
include Makefile.inc
|
||||
include ${SRCROOT}/Makefiles/gmake/top.mak
|
||||
|
||||
INCLUDES += -I. -I$(STLPORT_INCLUDE_DIR)
|
||||
|
||||
# options for build with boost support
|
||||
ifdef STLP_BUILD_BOOST_PATH
|
||||
INCLUDES += -I$(STLP_BUILD_BOOST_PATH)
|
||||
endif
|
||||
|
||||
41
extern/STLport/5.2.1/build/lib/Makefile.inc
vendored
Normal file
41
extern/STLport/5.2.1/build/lib/Makefile.inc
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
# -*- Makefile -*- Time-stamp: <06/09/08 11:50:49 ptr>
|
||||
|
||||
LIBNAME = stlport_$(COMPILER_NAME)$(ARCHITECHURE_LIB_PREFIX)
|
||||
MAJOR = 5
|
||||
MINOR = 2
|
||||
PATCH = 1
|
||||
SRC_CPP = ../../src/dll_main.cpp \
|
||||
../../src/fstream.cpp \
|
||||
../../src/strstream.cpp \
|
||||
../../src/sstream.cpp \
|
||||
../../src/ios.cpp \
|
||||
../../src/stdio_streambuf.cpp \
|
||||
../../src/istream.cpp \
|
||||
../../src/ostream.cpp \
|
||||
../../src/iostream.cpp \
|
||||
../../src/codecvt.cpp \
|
||||
../../src/collate.cpp \
|
||||
../../src/ctype.cpp \
|
||||
../../src/monetary.cpp \
|
||||
../../src/num_get.cpp \
|
||||
../../src/num_put.cpp \
|
||||
../../src/num_get_float.cpp \
|
||||
../../src/num_put_float.cpp \
|
||||
../../src/numpunct.cpp \
|
||||
../../src/time_facets.cpp \
|
||||
../../src/messages.cpp \
|
||||
../../src/locale.cpp \
|
||||
../../src/locale_impl.cpp \
|
||||
../../src/locale_catalog.cpp \
|
||||
../../src/facets_byname.cpp \
|
||||
../../src/complex.cpp \
|
||||
../../src/complex_io.cpp \
|
||||
../../src/complex_trig.cpp \
|
||||
../../src/string.cpp \
|
||||
../../src/bitset.cpp \
|
||||
../../src/allocators.cpp
|
||||
|
||||
SRC_C = ../../src/c_locale.c \
|
||||
../../src/cxa.c
|
||||
|
||||
SRC_RC = ../../src/stlport.rc
|
||||
85
extern/STLport/5.2.1/build/lib/README
vendored
Normal file
85
extern/STLport/5.2.1/build/lib/README
vendored
Normal file
@@ -0,0 +1,85 @@
|
||||
Quick start.
|
||||
|
||||
GNU Make (Linux, OpenBSD, FreeBSD, CygWin, etc.), with gcc:
|
||||
|
||||
make -f gcc.mak depend
|
||||
make -f gcc.mak install
|
||||
|
||||
GNU Make (SunOS), with SunPro CC:
|
||||
|
||||
make -f CC.mak depend
|
||||
make -f CC.mak install
|
||||
|
||||
Microsoft NMAKE (MS Windows), with VC6:
|
||||
|
||||
nmake /fmsvc.mak install
|
||||
|
||||
|
||||
Make system goals.
|
||||
|
||||
- all source files declared in one place (for all platforms and
|
||||
compilers); the same is for base library (application) name and
|
||||
version.
|
||||
- derive object filenames from source filenames in make system
|
||||
- source files may be situated in few catalogs
|
||||
- avoid information duplication, if possible
|
||||
- support cross-compilation
|
||||
|
||||
|
||||
Make targets.
|
||||
|
||||
release-static
|
||||
|
||||
build STLport as static library
|
||||
|
||||
dbg-static
|
||||
|
||||
build STLport as static library (with debug information)
|
||||
|
||||
stldbg-static
|
||||
|
||||
build STLport as static library (STLP_DEBUG mode, with debug information)
|
||||
|
||||
release-shared
|
||||
|
||||
build STLport as dynamic (shared) library
|
||||
|
||||
dbg-shared
|
||||
|
||||
STLport as dynamic (shared) library (with debug information)
|
||||
|
||||
stldbg-shared
|
||||
|
||||
build STLport as dynamic (shared) library (STLP_DEBUG mode, with
|
||||
debug information)
|
||||
|
||||
all (default)
|
||||
|
||||
cumulative target for release,dbg,stldbg -shared on Unix-lile platforms
|
||||
and plus release,dbg,stldbg -static on Windows.
|
||||
|
||||
depend
|
||||
|
||||
create dependency files (for performance reasons dependency not created
|
||||
during compilation process); this target absent for MS NMAKE (due to pure
|
||||
scripting opportunities)
|
||||
|
||||
install-release-shared
|
||||
install-dbg-shared
|
||||
install-stldbg-shared
|
||||
install-release-static
|
||||
install-dbg-static
|
||||
install-stldbg-static
|
||||
|
||||
build and install appropriate libraries and related files, into
|
||||
'STLport/lib' and 'STLport/bin' (../../lib, relative position of this file)
|
||||
|
||||
install
|
||||
|
||||
cumulative target for install-*-shared on Unix-like platforms and
|
||||
install-*-* on Windows.
|
||||
|
||||
clean
|
||||
|
||||
remove all intermediate files
|
||||
|
||||
17
extern/STLport/5.2.1/build/lib/aCC.mak
vendored
Normal file
17
extern/STLport/5.2.1/build/lib/aCC.mak
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
# -*- Makefile -*- Time-stamp: <03/10/12 20:35:49 ptr>
|
||||
|
||||
SRCROOT := ..
|
||||
COMPILER_NAME := aCC
|
||||
|
||||
STLPORT_INCLUDE_DIR = ../../stlport
|
||||
include Makefile.inc
|
||||
include ${SRCROOT}/Makefiles/gmake/top.mak
|
||||
|
||||
|
||||
INCLUDES += -I$(STLPORT_INCLUDE_DIR)
|
||||
|
||||
# options for build with boost support
|
||||
ifdef STLP_BUILD_BOOST_PATH
|
||||
INCLUDES += -I$(STLP_BUILD_BOOST_PATH)
|
||||
endif
|
||||
|
||||
28
extern/STLport/5.2.1/build/lib/bcc.mak
vendored
Normal file
28
extern/STLport/5.2.1/build/lib/bcc.mak
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
# -*- Makefile -*- Time-stamp: <03/10/12 20:35:49 ptr>
|
||||
|
||||
SRCROOT := ..
|
||||
COMPILER_NAME := bcc
|
||||
|
||||
STLPORT_INCLUDE_DIR = ../../stlport
|
||||
include Makefile.inc
|
||||
include ${SRCROOT}/Makefiles/gmake/top.mak
|
||||
|
||||
ifneq ($(OSNAME),linux)
|
||||
OBJ_EXT := obj
|
||||
ifndef INCLUDE
|
||||
$(error Missing INCLUDE environment variable definition. Please see doc/README.borland \
|
||||
for instructions about how to prepare Borland compiler to build STLport libraries.)
|
||||
endif
|
||||
else
|
||||
DEFS += -D_GNU_SOURCE
|
||||
GCC_VERSION := $(shell gcc -dumpversion)
|
||||
DEFS += -DGCC_VERSION=$(GCC_VERSION)
|
||||
endif
|
||||
|
||||
INCLUDES += -I$(STLPORT_INCLUDE_DIR)
|
||||
|
||||
# options for build with boost support
|
||||
ifdef STLP_BUILD_BOOST_PATH
|
||||
INCLUDES += -I$(STLP_BUILD_BOOST_PATH)
|
||||
endif
|
||||
|
||||
18
extern/STLport/5.2.1/build/lib/dmc.mak
vendored
Normal file
18
extern/STLport/5.2.1/build/lib/dmc.mak
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
# -*- Makefile -*- Time-stamp: <03/10/12 20:35:49 ptr>
|
||||
|
||||
SRCROOT := ..
|
||||
COMPILER_NAME := dmc
|
||||
OBJ_EXT := obj
|
||||
|
||||
STLPORT_INCLUDE_DIR = ../../stlport
|
||||
include Makefile.inc
|
||||
include ${SRCROOT}/Makefiles/gmake/top.mak
|
||||
|
||||
|
||||
INCLUDES += -I$(STLPORT_INCLUDE_DIR)
|
||||
|
||||
# options for build with boost support
|
||||
ifdef STLP_BUILD_BOOST_PATH
|
||||
INCLUDES += -I$(STLP_BUILD_BOOST_PATH)
|
||||
endif
|
||||
|
||||
39
extern/STLport/5.2.1/build/lib/evc.mak
vendored
Normal file
39
extern/STLport/5.2.1/build/lib/evc.mak
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
!if !EXIST(..\Makefiles\nmake\config.mak)
|
||||
!error No config file found, please run 'configure --help' first.
|
||||
!endif
|
||||
|
||||
!include ..\Makefiles\nmake\config.mak
|
||||
|
||||
!ifndef COMPILER_NAME
|
||||
!error No compiler set, please run 'configure --help' first and chose a compiler.
|
||||
!endif
|
||||
|
||||
!if ("$(COMPILER_NAME)" != "evc3" && \
|
||||
"$(COMPILER_NAME)" != "evc4" && \
|
||||
"$(COMPILER_NAME)" != "evc8" && \
|
||||
"$(COMPILER_NAME)" != "evc9")
|
||||
!error You picked the wrong makefile, please rerun configure script and follow the instructions.
|
||||
!endif
|
||||
|
||||
SRCROOT=..
|
||||
|
||||
STLPORT_INCLUDE_DIR = ../../stlport
|
||||
!include Makefile.inc
|
||||
|
||||
CROSS_COMPILING=1
|
||||
|
||||
DEFS_REL = /D_STLP_USE_DYNAMIC_LIB
|
||||
DEFS_DBG = /D_STLP_USE_DYNAMIC_LIB
|
||||
DEFS_STLDBG = /D_STLP_USE_DYNAMIC_LIB
|
||||
DEFS_STATIC_REL = /D_STLP_USE_STATIC_LIB
|
||||
DEFS_STATIC_DBG = /D_STLP_USE_STATIC_LIB
|
||||
DEFS_STATIC_STLDBG = /D_STLP_USE_STATIC_LIB
|
||||
|
||||
INCLUDES=$(INCLUDES) /I "$(STLPORT_INCLUDE_DIR)"
|
||||
|
||||
LDSEARCH=$(LDSEARCH) /LIBPATH:$(STLPORT_LIB_DIR)
|
||||
RC_FLAGS_REL = /I "$(STLPORT_INCLUDE_DIR)" /D "COMP=$(COMPILER_NAME)"
|
||||
RC_FLAGS_DBG = /I "$(STLPORT_INCLUDE_DIR)" /D "COMP=$(COMPILER_NAME)"
|
||||
RC_FLAGS_STLDBG = /I "$(STLPORT_INCLUDE_DIR)" /D "COMP=$(COMPILER_NAME)"
|
||||
|
||||
!include $(SRCROOT)/Makefiles/nmake/top.mak
|
||||
26
extern/STLport/5.2.1/build/lib/gcc.mak
vendored
Normal file
26
extern/STLport/5.2.1/build/lib/gcc.mak
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
# -*- Makefile -*- Time-stamp: <08/06/06 10:50:42 yeti>
|
||||
|
||||
SRCROOT := ..
|
||||
COMPILER_NAME := gcc
|
||||
STLP_BUILD := 1
|
||||
|
||||
STLPORT_INCLUDE_DIR = ../../stlport
|
||||
HEADERS_BASE = ${STLPORT_INCLUDE_DIR}
|
||||
|
||||
include Makefile.inc
|
||||
include ${SRCROOT}/Makefiles/gmake/top.mak
|
||||
include ${SRCROOT}/Makefiles/gmake/subdirs.mak
|
||||
|
||||
ifeq ($(OSNAME),linux)
|
||||
DEFS += -D_GNU_SOURCE
|
||||
endif
|
||||
|
||||
# options for build with boost support
|
||||
ifdef STLP_BUILD_BOOST_PATH
|
||||
INCLUDES += -I$(STLP_BUILD_BOOST_PATH)
|
||||
endif
|
||||
|
||||
SUBDIRS := ${SRCROOT}/test/unit
|
||||
|
||||
check: all
|
||||
+$(call doinsubdirs,${SUBDIRS})
|
||||
20
extern/STLport/5.2.1/build/lib/icc.mak
vendored
Normal file
20
extern/STLport/5.2.1/build/lib/icc.mak
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
# -*- Makefile -*- Time-stamp: <03/10/12 20:35:49 ptr>
|
||||
|
||||
SRCROOT := ..
|
||||
COMPILER_NAME := icc
|
||||
|
||||
STLPORT_INCLUDE_DIR = ../../stlport
|
||||
include Makefile.inc
|
||||
include ${SRCROOT}/Makefiles/gmake/top.mak
|
||||
|
||||
INCLUDES += -I$(STLPORT_INCLUDE_DIR)
|
||||
|
||||
ifeq ($(OSNAME),linux)
|
||||
DEFS += -D_GNU_SOURCE
|
||||
endif
|
||||
|
||||
# options for build with boost support
|
||||
ifdef STLP_BUILD_BOOST_PATH
|
||||
INCLUDES += -I$(STLP_BUILD_BOOST_PATH)
|
||||
endif
|
||||
|
||||
5
extern/STLport/5.2.1/build/lib/icl.mak
vendored
Normal file
5
extern/STLport/5.2.1/build/lib/icl.mak
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
|
||||
COMPILER_NAME=icl
|
||||
|
||||
!include msvc.mak
|
||||
|
||||
37
extern/STLport/5.2.1/build/lib/msvc.mak
vendored
Normal file
37
extern/STLport/5.2.1/build/lib/msvc.mak
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
!if !EXIST(..\Makefiles\nmake\config.mak)
|
||||
!error No config file found, please run 'configure --help' first.
|
||||
!endif
|
||||
|
||||
!include ..\Makefiles\nmake\config.mak
|
||||
|
||||
!ifndef COMPILER_NAME
|
||||
!error No compiler set, please run 'configure --help' first and chose a compiler.
|
||||
!endif
|
||||
|
||||
!if (("$(COMPILER_NAME)" != "vc6") && \
|
||||
("$(COMPILER_NAME)" != "vc70") && \
|
||||
("$(COMPILER_NAME)" != "vc71") && \
|
||||
("$(COMPILER_NAME)" != "vc8") && \
|
||||
("$(COMPILER_NAME)" != "vc9") && \
|
||||
("$(COMPILER_NAME)" != "vc10") && \
|
||||
("$(COMPILER_NAME)" != "icl"))
|
||||
!error '$(COMPILER_NAME)' not supported by this make file, please rerun 'configure' script and follow instructions.
|
||||
!endif
|
||||
|
||||
SRCROOT=..
|
||||
|
||||
STLPORT_INCLUDE_DIR = ../../stlport
|
||||
!include Makefile.inc
|
||||
|
||||
INCLUDES=$(INCLUDES) /I$(STLPORT_INCLUDE_DIR)
|
||||
|
||||
RC_FLAGS_REL = /I$(STLPORT_INCLUDE_DIR) /D "COMP=$(COMPILER_NAME)"
|
||||
RC_FLAGS_DBG = /I$(STLPORT_INCLUDE_DIR) /D "COMP=$(COMPILER_NAME)"
|
||||
RC_FLAGS_STLDBG = /I$(STLPORT_INCLUDE_DIR) /D "COMP=$(COMPILER_NAME)"
|
||||
|
||||
#Even if pure release and dbg targets do not need additionnal memory
|
||||
#to be built they might if user wants to build a STL safe release build
|
||||
#for instance.
|
||||
OPT = /Zm800
|
||||
|
||||
!include $(SRCROOT)/Makefiles/nmake/top.mak
|
||||
72
extern/STLport/5.2.1/build/lib/nmake-src-prefix.mak
vendored
Normal file
72
extern/STLport/5.2.1/build/lib/nmake-src-prefix.mak
vendored
Normal file
@@ -0,0 +1,72 @@
|
||||
# -*- makefile -*- Time-stamp: <03/10/26 15:42:12 ptr>
|
||||
# $Id$
|
||||
|
||||
ALLOBJS = $(ALLOBJS:../../src/=)
|
||||
ALLRESS = $(ALLRESS:../../src/=)
|
||||
|
||||
#
|
||||
# rules for .cpp --> .o
|
||||
#
|
||||
|
||||
{../../src}.cpp{$(OUTPUT_DIR)}.o:
|
||||
$(COMPILE_cc_REL) $(OUTPUT_OPTION) $<
|
||||
|
||||
{../../src}.cpp{$(OUTPUT_DIR_DBG)}.o:
|
||||
$(COMPILE_cc_DBG) $(OUTPUT_OPTION_DBG) $<
|
||||
|
||||
{../../src}.cpp{$(OUTPUT_DIR_STLDBG)}.o:
|
||||
$(COMPILE_cc_STLDBG) $(OUTPUT_OPTION_STLDBG) $<
|
||||
|
||||
{../../src}.cpp{$(OUTPUT_DIR_A)}.o:
|
||||
$(COMPILE_cc_STATIC_REL) $(OUTPUT_OPTION_STATIC) $<
|
||||
|
||||
{../../src}.cpp{$(OUTPUT_DIR_A_DBG)}.o:
|
||||
$(COMPILE_cc_STATIC_DBG) $(OUTPUT_OPTION_STATIC_DBG) $<
|
||||
|
||||
{../../src}.cpp{$(OUTPUT_DIR_A_STLDBG)}.o:
|
||||
$(COMPILE_cc_STATIC_STLDBG) $(OUTPUT_OPTION_STATIC_STLDBG) $<
|
||||
|
||||
#
|
||||
# rules for .c --> .o
|
||||
#
|
||||
|
||||
{../../src}.c{$(OUTPUT_DIR)}.o:
|
||||
$(COMPILE_c_REL) $(OUTPUT_OPTION) $<
|
||||
|
||||
{../../src}.c{$(OUTPUT_DIR_DBG)}.o:
|
||||
$(COMPILE_c_DBG) $(OUTPUT_OPTION_DBG) $<
|
||||
|
||||
{../../src}.c{$(OUTPUT_DIR_STLDBG)}.o:
|
||||
$(COMPILE_c_STLDBG) $(OUTPUT_OPTION_STLDBG) $<
|
||||
|
||||
{../../src}.c{$(OUTPUT_DIR_A)}.o:
|
||||
$(COMPILE_c_STATIC_REL) $(OUTPUT_OPTION_STATIC) $<
|
||||
|
||||
{../../src}.c{$(OUTPUT_DIR_A_DBG)}.o:
|
||||
$(COMPILE_c_STATIC_DBG) $(OUTPUT_OPTION_STATIC_DBG) $<
|
||||
|
||||
{../../src}.c{$(OUTPUT_DIR_A_STLDBG)}.o:
|
||||
$(COMPILE_c_STATIC_STLDBG) $(OUTPUT_OPTION_STATIC_STLDBG) $<
|
||||
|
||||
#
|
||||
# rules for .rc --> .res
|
||||
#
|
||||
|
||||
{../../src}.rc{$(OUTPUT_DIR)}.res:
|
||||
$(COMPILE_rc_REL) $(RC_OUTPUT_OPTION) $<
|
||||
|
||||
{../../src}.rc{$(OUTPUT_DIR_DBG)}.res:
|
||||
$(COMPILE_rc_DBG) $(RC_OUTPUT_OPTION_DBG) $<
|
||||
|
||||
{../../src}.rc{$(OUTPUT_DIR_STLDBG)}.res:
|
||||
$(COMPILE_rc_STLDBG) $(RC_OUTPUT_OPTION_STLDBG) $<
|
||||
|
||||
{../../src}.rc{$(OUTPUT_DIR_A)}.res:
|
||||
$(COMPILE_rc_STATIC_REL) $(RC_OUTPUT_OPTION) $<
|
||||
|
||||
{../../src}.rc{$(OUTPUT_DIR_A_DBG)}.res:
|
||||
$(COMPILE_rc_STATIC_DBG) $(RC_OUTPUT_OPTION_DBG) $<
|
||||
|
||||
{../../src}.rc{$(OUTPUT_DIR_A_STLDBG)}.res:
|
||||
$(COMPILE_rc_STATIC_STLDBG) $(RC_OUTPUT_OPTION_STLDBG) $<
|
||||
|
||||
Reference in New Issue
Block a user