]>
Commit | Line | Data |
---|---|---|
77282916 VZ |
1 | # |
2 | # $Id$ | |
3 | # | |
4 | # tmake configuration for linux-g++ | |
5 | # | |
6 | ||
7 | TEMPLATE = app | |
8 | CONFIG = qt warn_on release | |
9 | ||
10 | TMAKE_CC = gcc | |
11 | TMAKE_CFLAGS = | |
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 | |
18 | ||
19 | TMAKE_CXX = g++ | |
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 | |
27 | ||
28 | TMAKE_INCDIR = | |
29 | TMAKE_LIBDIR = | |
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 | |
36 | ||
37 | TMAKE_LINK = g++ | |
38 | TMAKE_LINK_SHLIB = g++ | |
39 | TMAKE_LFLAGS = -Wl,-rpath=/lib:/usr/X11R6/lib:$(QTDIR)/lib | |
40 | TMAKE_LFLAGS_RELEASE = | |
41 | TMAKE_LFLAGS_DEBUG = | |
42 | TMAKE_LFLAGS_SHLIB = -shared | |
43 | TMAKE_LFLAGS_SONAME = -Wl,-soname, | |
44 | ||
45 | TMAKE_LIBS = | |
46 | TMAKE_LIBS_X11 = -lX11 -lXext | |
47 | TMAKE_LIBS_QT = -lqt | |
48 | TMAKE_LIBS_QT_OPENGL = -lqgl | |
49 | TMAKE_LIBS_OPENGL = -lMesaGL -lMesaGLU -lXmu -lXext -lm | |
50 | ||
51 | TMAKE_MOC = moc | |
52 | ||
53 | TMAKE_AR = ar cqs | |
54 | TMAKE_RANLIB = | |
55 | ||
56 | TMAKE_TAR = tar -cf | |
57 | TMAKE_GZIP = gzip -9f |