summaryrefslogtreecommitdiffabout
path: root/sharp.tmake.conf
Unidiff
Diffstat (limited to 'sharp.tmake.conf') (more/less context) (ignore whitespace changes)
-rw-r--r--sharp.tmake.conf68
1 files changed, 68 insertions, 0 deletions
diff --git a/sharp.tmake.conf b/sharp.tmake.conf
new file mode 100644
index 0000000..6c5c59f
--- a/dev/null
+++ b/sharp.tmake.conf
@@ -0,0 +1,68 @@
1#
2# $Id$
3#
4# tmake configuration for linux-g++ using the arm-linux-g++ crosscompiler.
5#
6
7 TEMPLATE = app
8 CONFIG = qt warn_on release
9
10 TMAKE_CC = arm-linux-gcc
11 TMAKE_DASHCROSS = -arm
12 TMAKE_CFLAGS = -pipe
13 TMAKE_CFLAGS_WARN_ON= -Wall -W
14 TMAKE_CFLAGS_WARN_OFF= -w
15 TMAKE_CFLAGS_RELEASE= -O2
16 TMAKE_CFLAGS_DEBUG= -g
17 TMAKE_CFLAGS_SHLIB= -fPIC
18 TMAKE_CFLAGS_YACC= -Wno-unused -Wno-parentheses
19 TMAKE_CFLAGS_THREAD= -D_REENTRANT
20
21 TMAKE_CXX = arm-linux-g++
22 TMAKE_CXXFLAGS = $$TMAKE_CFLAGS -DQT_QWS_SL5XXX -DQT_QWS_CUSTOM -DQWS -fno-exceptions -fno-rtti -DADD_TOOLTIP
23 TMAKE_CXXFLAGS_WARN_ON= $$TMAKE_CFLAGS_WARN_ON
24 TMAKE_CXXFLAGS_WARN_OFF= $$TMAKE_CFLAGS_WARN_OFF
25 TMAKE_CXXFLAGS_RELEASE= $$TMAKE_CFLAGS_RELEASE
26 TMAKE_CXXFLAGS_DEBUG= $$TMAKE_CFLAGS_DEBUG
27 TMAKE_CXXFLAGS_SHLIB= $$TMAKE_CFLAGS_SHLIB
28 TMAKE_CXXFLAGS_YACC= $$TMAKE_CFLAGS_YACC
29 TMAKE_CXXFLAGS_THREAD= $$TMAKE_CFLAGS_THREAD
30
31 TMAKE_INCDIR =
32 TMAKE_LIBDIR =
33 TMAKE_INCDIR_X11=
34 TMAKE_LIBDIR_X11=
35 TMAKE_INCDIR_QT = $(QTDIR)/include
36 TMAKE_LIBDIR_QT = $(QTDIR)/lib
37 TMAKE_INCDIR_QTOPIA= $(QPEDIR)/include
38 TMAKE_LIBDIR_QTOPIA= $(QPEDIR)/lib
39 TMAKE_INCDIR_OPENGL= /usr/X11R6/include
40 TMAKE_LIBDIR_OPENGL= /usr/X11R6/lib
41
42 TMAKE_LINK = arm-linux-gcc
43 TMAKE_LINK_SHLIB= arm-linux-gcc
44 TMAKE_LFLAGS =
45 TMAKE_LFLAGS_RELEASE=
46 TMAKE_LFLAGS_DEBUG=
47 TMAKE_LFLAGS_SHLIB= -shared
48 TMAKE_LFLAGS_SONAME= -Wl,-soname,
49 TMAKE_LFLAGS_THREAD=
50 TMAKE_RPATH = -Wl,-rpath,
51
52 TMAKE_LIBS =
53 TMAKE_LIBS_X11 =
54 TMAKE_LIBS_X11SM=
55 TMAKE_LIBS_QT = -lqte
56 TMAKE_LIBS_QT_THREAD= -lqte-mt
57 TMAKE_LIBS_QTOPIA= -lqtopia
58 TMAKE_LIBS_OPENGL=
59 TMAKE_LIBS_THREAD= -lpthread
60
61 TMAKE_MOC = $(QTDIR)/bin/moc
62 TMAKE_UIC = $(QTDIR)/bin/uic
63
64 TMAKE_AR = arm-linux-ar cqs
65 TMAKE_RANLIB =
66
67 TMAKE_TAR = tar -cf
68 TMAKE_GZIP = gzip -9f