tmake.conf 1.35 KB
Newer Older
mueller's avatar
mueller committed
1
#
dimitri's avatar
dimitri committed
2
# 
mueller's avatar
mueller committed
3 4 5 6 7 8 9 10 11
#
# tmake configuration for linux-g++
#

TEMPLATE		= app
CONFIG			= qt warn_on release

TMAKE_CC		= gcc
TMAKE_CFLAGS		= -pipe
dimitri's avatar
dimitri committed
12
TMAKE_CFLAGS_WARN_ON	= -Wall -W -fno-exceptions
mueller's avatar
mueller committed
13
TMAKE_CFLAGS_WARN_OFF	=
mueller's avatar
mueller committed
14
TMAKE_CFLAGS_RELEASE	= -O2
mueller's avatar
mueller committed
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
TMAKE_CFLAGS_DEBUG	= -g
TMAKE_CFLAGS_SHLIB	= -fPIC
TMAKE_CFLAGS_YACC	= -Wno-unused -Wno-parentheses

TMAKE_CXX		= g++
TMAKE_CXXFLAGS		= $$TMAKE_CFLAGS
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_INCDIR		=
TMAKE_LIBDIR		=
TMAKE_INCDIR_X11	= /usr/X11R6/include
TMAKE_LIBDIR_X11	= /usr/X11R6/lib
TMAKE_INCDIR_QT		= $(QTDIR)/include
TMAKE_LIBDIR_QT		= $(QTDIR)/lib
TMAKE_INCDIR_OPENGL	= /usr/X11R6/include
TMAKE_LIBDIR_OPENGL	= /usr/X11R6/lib

TMAKE_LINK		= g++
TMAKE_LINK_SHLIB	= g++
TMAKE_LFLAGS		=
TMAKE_LFLAGS_RELEASE	=
dimitri's avatar
dimitri committed
41
TMAKE_LFLAGS_DEBUG	= -g
mueller's avatar
mueller committed
42 43 44 45
TMAKE_LFLAGS_SHLIB	= -shared
TMAKE_LFLAGS_SONAME	= -Wl,-soname,

TMAKE_LIBS		=
mueller's avatar
mueller committed
46 47
TMAKE_LIBS_X11		= -lXext -lX11 -lm
TMAKE_LIBS_X11SM	= -lICE -lSM
mueller's avatar
mueller committed
48
TMAKE_LIBS_QT		= -lqt
dimitri's avatar
dimitri committed
49
TMAKE_LIBS_QT_MT	= -lqt-mt
mueller's avatar
mueller committed
50
TMAKE_LIBS_QT_OPENGL	= -lqgl
mueller's avatar
mueller committed
51
TMAKE_LIBS_OPENGL	= -lMesaGL -lMesaGLU -lXmu
mueller's avatar
mueller committed
52 53 54 55 56 57 58 59

TMAKE_MOC		= moc

TMAKE_AR		= ar cqs
TMAKE_RANLIB		=

TMAKE_TAR		= tar -cf
TMAKE_GZIP		= gzip -9f