#
# $Id$
#
# tmake configuration for hpux-cc
#

TEMPLATE		= app
CONFIG			= qt warn_on release

TMAKE_CC		= cc
TMAKE_CFLAGS		= -Ae +DA1.1e +DS1.1 -w
TMAKE_CFLAGS_WARN_ON	=
TMAKE_CFLAGS_WARN_OFF	=
TMAKE_CFLAGS_RELEASE	= -O
TMAKE_CFLAGS_DEBUG	= -g
TMAKE_CFLAGS_SHLIB	= +Z
TMAKE_CFLAGS_YACC	=
TMAKE_CFLAGS_THREAD	= -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE

TMAKE_CXX		= CC
TMAKE_CXXFLAGS		= +DA1.1e +DS1.1 -w +a1
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	= /usr/include/X11R6
TMAKE_LIBDIR_X11	= /usr/lib/X11R6
TMAKE_INCDIR_QT		= $(QTDIR)/include
TMAKE_LIBDIR_QT		= $(QTDIR)/lib
TMAKE_INCDIR_OPENGL	= /opt/graphics/OpenGL/include /usr/contrib/X11R6/include
TMAKE_LIBDIR_OPENGL	= /opt/graphics/OpenGL/lib /usr/contrib/X11R6/lib

TMAKE_LINK		= CC
TMAKE_LINK_SHLIB	= CC
# CC generates template code during linking, and so needs -I's
TMAKE_LFLAGS		= +DA1.1e +DS1.1 -L/usr/lib -I$$TMAKE_INCDIR_X11 -I$$TMAKE_INCDIR_QT
TMAKE_LFLAGS_RELEASE	= -O -s
TMAKE_LFLAGS_DEBUG	=
TMAKE_LFLAGS_SHLIB	= -b
TMAKE_LFLAGS_SONAME	= -Wl,+h,
TMAKE_LFLAGS_THREAD	=
TMAKE_HPUX_SHLIB	= 1

TMAKE_LIBS		= -lm
TMAKE_LIBS_X11		= -lXext -lX11
TMAKE_LIBS_QT		= -lqt
TMAKE_LIBS_QT_THREAD	= -lqt-mt
TMAKE_LIBS_OPENGL	= -lGLU -lGL -lXmu
TMAKE_LIBS_THREAD	= -lpthread

TMAKE_MOC		= $(QTDIR)/bin/moc
TMAKE_UIC		= $(QTDIR)/bin/uic

TMAKE_AR		= ar cqs
TMAKE_RANLIB		=

TMAKE_TAR		= tar -cf
TMAKE_GZIP		= gzip -9f
