-rw-r--r-- | sharp.tmake.conf | 68 |
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 @@ +# +# $Id$ +# +# tmake configuration for linux-g++ using the arm-linux-g++ crosscompiler. +# + +TEMPLATE = app +CONFIG = qt warn_on release + +TMAKE_CC = arm-linux-gcc +TMAKE_DASHCROSS = -arm +TMAKE_CFLAGS = -pipe +TMAKE_CFLAGS_WARN_ON = -Wall -W +TMAKE_CFLAGS_WARN_OFF = -w +TMAKE_CFLAGS_RELEASE = -O2 +TMAKE_CFLAGS_DEBUG = -g +TMAKE_CFLAGS_SHLIB = -fPIC +TMAKE_CFLAGS_YACC = -Wno-unused -Wno-parentheses +TMAKE_CFLAGS_THREAD = -D_REENTRANT + +TMAKE_CXX = arm-linux-g++ +TMAKE_CXXFLAGS = $$TMAKE_CFLAGS -DQT_QWS_SL5XXX -DQT_QWS_CUSTOM -DQWS -fno-exceptions -fno-rtti -DADD_TOOLTIP +TMAKE_CXXFLAGS_WARN_ON = $$TMAKE_CFLAGS_WARN_ON +TMAKE_CXXFLAGS_WARN_OFF = $$TMAKE_CFLAGS_WARN_OFF +TMAKE_CXXFLAGS_RELEASE = $$TMAKE_CFLAGS_RELEASE +TMAKE_CXXFLAGS_DEBUG = $$TMAKE_CFLAGS_DEBUG +TMAKE_CXXFLAGS_SHLIB = $$TMAKE_CFLAGS_SHLIB +TMAKE_CXXFLAGS_YACC = $$TMAKE_CFLAGS_YACC +TMAKE_CXXFLAGS_THREAD = $$TMAKE_CFLAGS_THREAD + +TMAKE_INCDIR = +TMAKE_LIBDIR = +TMAKE_INCDIR_X11 = +TMAKE_LIBDIR_X11 = +TMAKE_INCDIR_QT = $(QTDIR)/include +TMAKE_LIBDIR_QT = $(QTDIR)/lib +TMAKE_INCDIR_QTOPIA = $(QPEDIR)/include +TMAKE_LIBDIR_QTOPIA = $(QPEDIR)/lib +TMAKE_INCDIR_OPENGL = /usr/X11R6/include +TMAKE_LIBDIR_OPENGL = /usr/X11R6/lib + +TMAKE_LINK = arm-linux-gcc +TMAKE_LINK_SHLIB = arm-linux-gcc +TMAKE_LFLAGS = +TMAKE_LFLAGS_RELEASE = +TMAKE_LFLAGS_DEBUG = +TMAKE_LFLAGS_SHLIB = -shared +TMAKE_LFLAGS_SONAME = -Wl,-soname, +TMAKE_LFLAGS_THREAD = +TMAKE_RPATH = -Wl,-rpath, + +TMAKE_LIBS = +TMAKE_LIBS_X11 = +TMAKE_LIBS_X11SM = +TMAKE_LIBS_QT = -lqte +TMAKE_LIBS_QT_THREAD = -lqte-mt +TMAKE_LIBS_QTOPIA = -lqtopia +TMAKE_LIBS_OPENGL = +TMAKE_LIBS_THREAD = -lpthread + +TMAKE_MOC = $(QTDIR)/bin/moc +TMAKE_UIC = $(QTDIR)/bin/uic + +TMAKE_AR = arm-linux-ar cqs +TMAKE_RANLIB = + +TMAKE_TAR = tar -cf +TMAKE_GZIP = gzip -9f |