TEMPLATE	= lib
CONFIG		= warn_on staticlib $extraopts
HEADERS		= CharStream.h \
		  ErrorHandler.h \
                  JavaCC.h \
                  ParseException.h \
		  TokenManager.h \
		  Token.h \
		  vhdlstring.h \
		  VhdlParser.h \
		  VhdlParserConstants.h \
		  VhdlParserTokenManager.h \
		  TokenMgrError.h \
	          VhdlParserIF.h \
                  VhdlParserErrorHandler.hpp

SOURCES		= CharStream.cc \
		  ParseException.cc \
		  Token.cc \
		  TokenMgrError.cc \
		  VhdlParser.cc \
		  VhdlParserTokenManager.cc \
                  VhdlParserIF.cpp

INCLUDEPATH = . ../src ../qtools generated_src/doxygen
#TMAKE_CXXFLAGS += -DQT_NO_CODECS -DQ T_LITE_UNICODE

#must enable -fexceptions because we have try catch blocks in VhdlParser.cc
TMAKE_CXXFLAGS +=-w -fexceptions -DQT_LITE_UNICODE
win32:TMAKE_CXXFLAGS += -fexceptions -DQT_NODLL
win32-g++:TMAKE_CXXFLAGS += -fexceptions -D__CYGWIN__ -DALL_STATIC
OBJECTS_DIR = ../objects/vhdlparser
DESTDIR = ../lib
