4 # tmake configuration for linux-g++
8 CONFIG = qt warn_on release
12 TMAKE_CFLAGS_WARN_ON = -Wall -W
13 TMAKE_CFLAGS_WARN_OFF =
14 TMAKE_CFLAGS_RELEASE = -O2 -fno-strength-reduce
15 TMAKE_CFLAGS_DEBUG = -g
16 TMAKE_CFLAGS_SHLIB = -fPIC
17 TMAKE_CFLAGS_YACC = -Wno-unused -Wno-parentheses
20 TMAKE_CXXFLAGS = $$TMAKE_CFLAGS
21 TMAKE_CXXFLAGS_WARN_ON = $$TMAKE_CFLAGS_WARN_ON
22 TMAKE_CXXFLAGS_WARN_OFF = $$TMAKE_CFLAGS_WARN_OFF
23 TMAKE_CXXFLAGS_RELEASE = $$TMAKE_CFLAGS_RELEASE
24 TMAKE_CXXFLAGS_DEBUG = $$TMAKE_CFLAGS_DEBUG
25 TMAKE_CXXFLAGS_SHLIB = $$TMAKE_CFLAGS_SHLIB
26 TMAKE_CXXFLAGS_YACC = $$TMAKE_CFLAGS_YACC
30 TMAKE_INCDIR_X11 = /usr/X11R6/include
31 TMAKE_LIBDIR_X11 = /usr/X11R6/lib
32 TMAKE_INCDIR_QT = $(QTDIR)/include
33 TMAKE_LIBDIR_QT = $(QTDIR)/lib
34 TMAKE_INCDIR_OPENGL = /usr/X11R6/include
35 TMAKE_LIBDIR_OPENGL = /usr/X11R6/lib
38 TMAKE_LINK_SHLIB = g++
39 TMAKE_LFLAGS = -Wl,-rpath=/lib:/usr/X11R6/lib:$(QTDIR)/lib
40 TMAKE_LFLAGS_RELEASE =
42 TMAKE_LFLAGS_SHLIB = -shared
43 TMAKE_LFLAGS_SONAME = -Wl,-soname,
46 TMAKE_LIBS_X11 = -lX11 -lXext
48 TMAKE_LIBS_QT_OPENGL = -lqgl
49 TMAKE_LIBS_OPENGL = -lMesaGL -lMesaGLU -lXmu -lXext -lm