tmake.conf 1.33 KB
Newer Older
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1
#
2
# 
Dimitri van Heesch's avatar
Dimitri van Heesch committed
3 4 5 6 7 8 9 10
#
# tmake configuration for solaris-cc
#

TEMPLATE		= app
CONFIG			= qt warn_on release

TMAKE_CC		= cc
11
TMAKE_CFLAGS		=
Dimitri van Heesch's avatar
Dimitri van Heesch committed
12 13
TMAKE_CFLAGS_WARN_ON	=
TMAKE_CFLAGS_WARN_OFF	= -w
14
TMAKE_CFLAGS_RELEASE	= -O
Dimitri van Heesch's avatar
Dimitri van Heesch committed
15
TMAKE_CFLAGS_DEBUG	= -g
16
TMAKE_CFLAGS_SHLIB	= -KPIC
Dimitri van Heesch's avatar
Dimitri van Heesch committed
17 18 19 20 21 22
TMAKE_CFLAGS_YACC	=

TMAKE_CXX		= CC
TMAKE_CXXFLAGS		= $$TMAKE_CFLAGS
TMAKE_CXXFLAGS_WARN_ON	= $$TMAKE_CFLAGS_WARN_ON
TMAKE_CXXFLAGS_WARN_OFF	= $$TMAKE_CFLAGS_WARN_OFF
23
TMAKE_CXXFLAGS_RELEASE	= -O2
Dimitri van Heesch's avatar
Dimitri van Heesch committed
24
TMAKE_CXXFLAGS_DEBUG	= $$TMAKE_CFLAGS_DEBUG
25
TMAKE_CXXFLAGS_SHLIB	= -PIC
Dimitri van Heesch's avatar
Dimitri van Heesch committed
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
TMAKE_CXXFLAGS_YACC	= $$TMAKE_CFLAGS_YACC

TMAKE_INCDIR		=
TMAKE_LIBDIR		=
TMAKE_INCDIR_X11	= /usr/openwin/include
TMAKE_LIBDIR_X11	= /usr/openwin/lib
TMAKE_INCDIR_QT		= $(QTDIR)/include
TMAKE_LIBDIR_QT		= $(QTDIR)/lib
TMAKE_INCDIR_OPENGL	=
TMAKE_LIBDIR_OPENGL	=

TMAKE_LINK		= CC
# Jan Wortelboer <janw@wins.uva.nl> suggests avoiding $LD_LIBRARY_PATH:
TMAKE_LINK_SHLIB	= CC -R$(QTDIR)/lib:/usr/openwin/lib
TMAKE_LFLAGS		=
TMAKE_LFLAGS_RELEASE	=
TMAKE_LFLAGS_DEBUG	=
43
TMAKE_LFLAGS_SHLIB	= -G -h $(TARGET1)
Dimitri van Heesch's avatar
Dimitri van Heesch committed
44 45
TMAKE_LFLAGS_SONAME	=

46
TMAKE_LIBS		= 
Dimitri van Heesch's avatar
Dimitri van Heesch committed
47
TMAKE_LIBS_X11		= -lXext -lX11 -lm -lICE -lSM
Dimitri van Heesch's avatar
Dimitri van Heesch committed
48
TMAKE_LIBS_QT		= -lqt
49
TMAKE_LIBS_QT_MT	= -lqt-mt
Dimitri van Heesch's avatar
Dimitri van Heesch committed
50
TMAKE_LIBS_QT_OPENGL	= -lqgl -lGL
Dimitri van Heesch's avatar
Dimitri van Heesch committed
51 52 53 54 55 56 57 58 59 60 61
TMAKE_LIBS_OPENGL	= -lGL -lGLU -lXmu

TMAKE_MOC		= moc

TMAKE_AR		= CC -xar -o
TMAKE_RANLIB		=

TMAKE_CLEAN		= -r Templates.DB

TMAKE_TAR		= tar -cf
TMAKE_GZIP		= gzip -9f