# -*- text -*-
# --------------------------------------------------------------------
unix:include( ../config.pro )
win32:DEFINES   += WIN32
# --------------------------------------------------------------------
TEMPLATE	= lib
win32:CONFIG	+= qt staticlib
unix:CONFIG	+= qt dll
TARGET		= ipecanvas
OBJECTS_DIR	= ../../build/obj/ipecanvas
DESTDIR		= ../../build/lib
# --------------------------------------------------------------------
DEFINES         += QT_NO_ASCII_CAST
INCLUDEPATH	+= ../include
DEPENDPATH      += ../include
win32:INCLUDEPATH += ../../../freetype/include
unix:INCLUDEPATH  += $${FREETYPE_INCLUDE}
unix:LIBS	  += $${FREETYPE_LIBS} -lfreetype
# --------------------------------------------------------------------
# Headers that moc needs to see:
INTERFACES	+= ipedlgtext.ui
HEADERS		+= ipecanvas.h
HEADERS		+= ipecreatetext.h
# --------------------------------------------------------------------
SOURCES         += ipecanvas.cpp
SOURCES         += ipecreators.cpp
SOURCES         += ipeoverlay.cpp
SOURCES         += ipecreatepath.cpp
SOURCES         += ipecreatearc.cpp
SOURCES         += ipecreatetext.cpp
SOURCES		+= ipeeditpath.cpp
SOURCES		+= ipescissors.cpp		   
SOURCES		+= ipecanvaspainter.cpp		   
SOURCES		+= ipefonts.cpp		   
SOURCES		+= ipestdfonts.cpp		   
# --------------------------------------------------------------------
unix:target.path = $${IPELIBDIR}
unix:INSTALLS   += target
# --------------------------------------------------------------------
