This commit is contained in:
Guenter Obiltschnig 2008-01-28 17:40:38 +00:00
Родитель 15b371a7a8
Коммит f5a6439390
3 изменённых файлов: 154 добавлений и 7 удалений

Просмотреть файл

@ -1,5 +1,5 @@
#
# $Id: //poco/Main/build/config/ARM-Linux#8 $
# $Id: //poco/svn/build/config/ARM-Linux#2 $
#
# ARM-Linux
#
@ -16,18 +16,19 @@ STLPORT_INCLUDE = /usr/local/include/stlport
STLPORT_LIB = /usr/local/lib
OPENSSL_INCLUDE = /usr/local/arm/2.95.3/include
OPENSSL_LIB = /usr/local/arm/2.95.3/lib
TOOL = arm-linux
#
# Define Tools
#
CC = arm-linux-gcc
CXX = arm-linux-g++
CC = $(TOOL)-gcc
CXX = $(TOOL)-g++
LINK = $(CXX)
LIB = arm-linux-ar -cr
RANLIB = arm-linux-ranlib
LIB = $(TOOL)-ar -cr
RANLIB = $(TOOL)-ranlib
SHLIB = $(CXX) -shared -Wl,-soname,$(notdir $@) -o $@
SHLIBLN = $(POCO_BASE)/build/script/shlibln
STRIP = arm-linux-strip
STRIP = $(TOOL)-strip
DEP = $(POCO_BASE)/build/script/makedepend.gcc
SHELL = sh
RM = rm -rf
@ -73,4 +74,4 @@ SYSFLAGS = -I$(STLPORT_INCLUDE) -I$(OPENSSL_INCLUDE) -D_XOPEN_SOURCE=500 -D_BSD_
#
# System Specific Libraries
#
SYSLIBS = -L$(STLPORT_LIB) -L$(OPENSSL_LIB) -lstlport_arm-linux-gcc -lpthread -ldl
SYSLIBS = -L$(STLPORT_LIB) -L$(OPENSSL_LIB) -lstlport_arm-linux-gcc -lpthread -ldl -lrt

73
build/config/DigiEL Normal file
Просмотреть файл

@ -0,0 +1,73 @@
#
# $Id: //poco/svn/build/config/DigiEL#2 $
#
# DigiEL
#
# Make settings for Digi Embedded Linux 4 (gcc 4.0.3, uclibc 0.9.28)
#
#
# General Settings
#
LINKMODE = STATIC
TOOL = arm-linux
POCO_TARGET_OSNAME = Linux
POCO_TARGET_OSARCH = ARM
#
# 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 =
CFLAGS32 =
CFLAGS64 =
CXXFLAGS =
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=500 -D_BSD_SOURCE -D_REENTRANT -D_THREAD_SAFE -DPOCO_NO_FPENVIRONMENT -DPOCO_NO_WSTRING
#
# System Specific Libraries
#
SYSLIBS = -lpthread -ldl -lrt

73
build/config/PPC-Linux Normal file
Просмотреть файл

@ -0,0 +1,73 @@
#
# $Id: //poco/svn/build/config/PPC-Linux#1 $
#
# PPC-Linux
#
# Make settings for Cross compiling in to unknown, PPC-based embedded Linux
#
#
# General Settings
#
LINKMODE = STATIC
POCO_TARGET_OSNAME = Linux
POCO_TARGET_OSARCH = PPC
TOOL = ppc-linux
#
# Define Tools
#
CC = $(TOOL)-gcc
CXX = $(TOOL)-g++
LINK = $(CXX)
STRIP = $(TOOL)-strip
LIB = $(TOOL)-ar -cr
RANLIB = $(TOOL)-ranlib
SHLIB = $(CXX) -shared -Wl,-soname,$(notdir $@) -o $@
SHLIBLN = $(POCO_BASE)/build/script/shlibln
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 = -Isrc
CFLAGS32 =
CFLAGS64 =
CXXFLAGS =
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=500 -D_BSD_SOURCE -D_REENTRANT -D_THREAD_SAFE -DPOCO_NO_FPENVIRONMENT
#
# System Specific Libraries
#
SYSLIBS = -lpthread -ldl -lrt