#
# 
#
# tmake configuration for aix-xlc
#

TEMPLATE		= app
CONFIG			= qt warn_on release

TMAKE_CC		= xlc
TMAKE_CFLAGS		= -qstrict 
TMAKE_CFLAGS_WARN_ON	=
TMAKE_CFLAGS_WARN_OFF	=
TMAKE_CFLAGS_RELEASE	= -O
TMAKE_CFLAGS_DEBUG	= -g
TMAKE_CFLAGS_SHLIB	=
TMAKE_CFLAGS_YACC	=

TMAKE_CXX		= xlC
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	=
TMAKE_LIBDIR_X11	=
TMAKE_INCDIR_QT		= $(QTDIR)/include
TMAKE_LIBDIR_QT		= $(QTDIR)/lib
TMAKE_INCDIR_OPENGL	=
TMAKE_LIBDIR_OPENGL	=

TMAKE_LINK		= xlC
TMAKE_LINK_SHLIB	= ld
TMAKE_LINK_SHLIB_CMD	= /usr/lpp/xlC/bin/makeC++SharedLib -p 0 \
			    -o lib$(TARGET).so.$(VER_MAJ).$(VER_MIN) \
			    -lXext -lX11 $(OBJECTS) $(OBJMOC); \
			  ar q lib$(TARGET).a lib$(TARGET).so.$(VER_MAJ).$(VER_MIN); \
			  ranlib lib$(TARGET).a; \
			  mv lib$(TARGET).a $(DESTDIR)
TMAKE_LFLAGS		=
TMAKE_LFLAGS_RELEASE	=
TMAKE_LFLAGS_DEBUG	=
TMAKE_LFLAGS_SHLIB	=
TMAKE_LFLAGS_SONAME	=

TMAKE_LIBS		= -liconv
TMAKE_LIBS_X11		= -lXext -lX11 -lm
TMAKE_LIBS_QT		= -lqt
TMAKE_LIBS_QT_MT	= -lqt-mt
TMAKE_LIBS_QT_OPENGL	= -lqgl
TMAKE_LIBS_OPENGL	= -lGL -lGLU -lXmu

TMAKE_MOC		= moc

TMAKE_AR		= ar cq
TMAKE_RANLIB		= ranlib

TMAKE_TAR		= tar -cf
TMAKE_GZIP		= gzip -9f
