#
# $Id$
#
# tmake configuration for openbsd-g++
#

TEMPLATE		= app
CONFIG			= qt warn_on release

TMAKE_CC		= cc
TMAKE_CFLAGS		= -pthread
TMAKE_CFLAGS_WARN_ON	= -Wall -W
TMAKE_CFLAGS_WARN_OFF	= -w
TMAKE_CFLAGS_RELEASE	= -O2 -pipe 
TMAKE_CFLAGS_DEBUG	= -g
TMAKE_CFLAGS_SHLIB	= -fPIC
TMAKE_CFLAGS_YACC	= -Wno-unused -Wno-parentheses

TMAKE_CXX		= c++
TMAKE_CXXFLAGS		= $$TMAKE_CFLAGS
TMAKE_CXXFLAGS_WARN_ON	= $$TMAKE_CFLAGS_WARN_ON
TMAKE_CXXFLAGS_WARN_OFF	= $$TMAKE_CFLAGS_WARN_OFF
TMAKE_CXXFLAGS_RELEASE	= -O2 -pipe 
TMAKE_CXXFLAGS_DEBUG	= $$TMAKE_CFLAGS_DEBUG
TMAKE_CXXFLAGS_SHLIB	= $$TMAKE_CFLAGS_SHLIB
TMAKE_CXXFLAGS_YACC	= $$TMAKE_CFLAGS_YACC

TMAKE_INCDIR		= /usr/local/include
TMAKE_LIBDIR		= /usr/local/lib
TMAKE_INCDIR_X11	= /usr/X11R6/include
TMAKE_LIBDIR_X11	= /usr/X11R6/lib
TMAKE_INCDIR_QT		= /usr/local/include/X11/qt3
TMAKE_LIBDIR_QT		= /usr/local/lib/qt3
TMAKE_INCDIR_OPENGL	= /usr/X11R6/include
TMAKE_LIBDIR_OPENGL	= /usr/X11R6/lib

TMAKE_LINK		= $$TMAKE_CXX
TMAKE_LINK_SHLIB	= $$TMAKE_CXX
TMAKE_LINK_SHLIB_CMD	= $$TMAKE_LINK_SHLIB $$TMAKE_LFLAGS_SHLIB $(LFLAGS) -o $(DESTDIR)$(TARGET_x.y) $(OBJECTS) $(OBJMOC) $(LIBS)
TMAKE_LFLAGS		=
TMAKE_LFLAGS_RELEASE	=
TMAKE_LFLAGS_DEBUG	=
TMAKE_LFLAGS_SHLIB	= -shared $$TMAKE_CFLAGS_SHLIB
TMAKE_LFLAGS_SONAME	=

TMAKE_LIBS		=
TMAKE_LIBS_X11		= -lXext -lX11 -lm
TMAKE_LIBS_QT		= -pthread -lqt-mt -lpng

TMAKE_LIBS_OPENGL	= -lGLU -lGL -lXmu

TMAKE_MOC		= /usr/local/bin/moc3-mt
TMAKE_UIC		= /usr/local/bin/uic

TMAKE_AR		= ar q
TMAKE_RANLIB		= ranlib

TMAKE_TAR		= tar -cf
TMAKE_GZIP		= gzip -9f
