TEMPLATE	= lib
CONFIG		+= qt warn_on
CONFIG		+= dll
HEADERS		= editor.h  \
		  parenmatcher.h  \
		  completion.h \
		  viewmanager.h \
		  markerwidget.h\
		  conf.h \
		  browser.h \
		  arghintwidget.h \
		  cindent.h

SOURCES		= editor.cpp \
		  parenmatcher.cpp  \
		  completion.cpp \
		  viewmanager.cpp \
		  markerwidget.cpp \
		  conf.cpp \
		  browser.cpp \
		  arghintwidget.cpp \
		  cindent.cpp \
		  yyindent.cpp

FORMS		= preferences.ui

TARGET		= tqteditor
DESTDIR		= ../../../lib
VERSION		= 1.0.0

INCLUDEPATH	+= $$QT_SOURCE_TREE/tools/designer/interfaces

target.path=$$libs.path

INSTALLS += target

unix {
	QMAKE_CFLAGS += $$QMAKE_CFLAGS_SHLIB
	QMAKE_CXXFLAGS += $$QMAKE_CXXFLAGS_SHLIB -fvisibility=default
}
