Revision: 201025 RCL_3
authorDremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 15 Jul 2010 19:48:16 +0300
branchRCL_3
changeset 17 046e2c4dbfd0
parent 14 26d9fa3d93f5
child 18 44d14dfed84d
Revision: 201025 Kit: 2010127
svgtencoder/svgtenc/standalone/binary/svgtbinencode
svgtencoder/svgtenc/standalone/group/bld.inf
svgtencoder/svgtenc/standalone/group/svgtbinencoder.mmp
svgtencoder/svgtenc/standalone/group/svgtbinencoderlinux.mk
Binary file svgtencoder/svgtenc/standalone/binary/svgtbinencode has changed
--- a/svgtencoder/svgtenc/standalone/group/bld.inf	Wed Jun 09 10:47:53 2010 +0300
+++ b/svgtencoder/svgtenc/standalone/group/bld.inf	Thu Jul 15 19:48:16 2010 +0300
@@ -30,6 +30,7 @@
 	//START TOOLS
 		//#if defined(TOOLS) 
 				../binary/svgtbinencode.exe	/epoc32/tools/svgtbinencode.exe
+				../binary/svgtbinencode	/epoc32/tools/svgtbinencode
 				../binary/xerces-c_2_6.dll	/epoc32/tools/xerces-c_2_6.dll
 				// For Windows abld Support "Link with dynamic xerces-c.2.8.0"
 				//../lib_win/xerces-c_2.lib /epoc32/release/tools/rel/xerces-c_2.lib
--- a/svgtencoder/svgtenc/standalone/group/svgtbinencoder.mmp	Wed Jun 09 10:47:53 2010 +0300
+++ b/svgtencoder/svgtenc/standalone/group/svgtbinencoder.mmp	Thu Jul 15 19:48:16 2010 +0300
@@ -25,7 +25,7 @@
 // level 3. Also require RTTI.
 
 option MSVC /GX /W3 /GR
-option GCC  -w -DXML_LIBRARY
+option GCC  -w -DXML_LIBRARY -m32
 
 SOURCEPATH ../Internal/xmlReader/src
 SOURCE MyRXMLReader.cpp
--- a/svgtencoder/svgtenc/standalone/group/svgtbinencoderlinux.mk	Wed Jun 09 10:47:53 2010 +0300
+++ b/svgtencoder/svgtenc/standalone/group/svgtbinencoderlinux.mk	Thu Jul 15 19:48:16 2010 +0300
@@ -1,23 +1,6 @@
-#
-# Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies).
-# All rights reserved.
-# This component and the accompanying materials are made available
-# under the terms of "Eclipse Public License v1.0"
-# which accompanies this distribution, and is available
-# at the URL "http://www.eclipse.org/legal/epl-v10.html".
-#
-# Initial Contributors:
-# Nokia Corporation - initial contribution.
-#
-# Contributors:
-#
-# Description:
-#
-
-
-PROGRAM=/home/nokia/standalone/group/svgtbinencode.exe
-OBJS=/home/nokia/standalone/group
-PARENT_DIR=/home/nokia/standalone/group
+PROGRAM=svgtbinencode
+OBJS=.
+PARENT_DIR=.
 SOURCES_CPP=../Internal/Gfx2D/src/GfxFloatFixPt.cpp \
 ../Internal/Gfx2D/src/Gfxtrignometric.cpp \
 ../Internal/Gfx2D/src/GfxGc/GfxColor.cpp \
@@ -167,9 +150,14 @@
 	 # /I"$(STLPORT_INC)"
 
 VPATH=$(PARENT_DIR)
-CC=g++ -g
+
+# Uncomment this, to generate a debug version.
+# debug=-g3
+
+CC=g++ -O2 -m32 $(debug)
+
 LINK=ld
-LINK32_FLAGS=/home/nokia/standalone/lib_linux/libxercesenc-c.so.28
+LINK32_FLAGS=-L../lib_linux -lxercesenc-c
 DEFINES =-I "../Internal/SVGEngine/inc" \
 -I "../Internal/Gfx2D/inc" \
 -I "../Internal/Gfx2D/VGRasterizer/inc" \
@@ -182,12 +170,12 @@
 -I "../Internal/Path/inc" -D ARM -D NDEBUG -D _CONSOLE -D _MBCS
 #/YX /FD /c
 #CLFLAGS = /Od /nologo /GF -W4 /Fd -GX
-CLFLAGS =-ansi -umacro -fms-extensions -w -fshort-wchar -g3 
+CLFLAGS =-ansi -umacro -fms-extensions -w -fshort-wchar $(debug)
 #/nologo /MT /GX 
 $(PROGRAM) : $(OBJECTS_CPP_REL) $(OBJECTS_C_REL) 
 #	echo $(SOURCES_CPP)
 #	echo $(SOURCES_C)
-	g++ -g3 -lstdc++ -o $(PROGRAM) $(OBJECTS_CPP_REL) $(OBJECTS_C_REL) $(LINK32_FLAGS)
+	$(CC) -lstdc++ -lpthread -o $(PROGRAM) $(OBJECTS_CPP_REL) $(OBJECTS_C_REL) $(LINK32_FLAGS)
 
 #DEB : $(OBJECTS_CPP_DEB) 
 	echo "DEB build Called"
@@ -248,5 +236,3 @@
 	find -name *.o -type f -exec rm {} \;
 
 FORCE:
-
-