# -*- text -*-
# --------------------------------------------------------------------
unix:include( ../config.pro )
win32:DEFINES   += WIN32
# --------------------------------------------------------------------
TEMPLATE	= lib
CONFIG		+= dll
# --------------------------------------------------------------------
# Base
SOURCES		+= ipebase.cpp
SOURCES		+= ipegeo.cpp
SOURCES		+= ipexml.cpp
SOURCES	        += ipecolor.cpp
SOURCES		+= ipebitmap.cpp
SOURCES		+= ipedct.cpp
# Objects
SOURCES	        += ipegroup.cpp
SOURCES	        += ipeimage.cpp
SOURCES	        += ipemark.cpp
SOURCES	        += ipetext.cpp
SOURCES 	+= ipepath.cpp
SOURCES 	+= iperef.cpp
SOURCES         += ipeobj.cpp
# Rest
SOURCES		+= ipelet.cpp
SOURCES	        += ipedoc.cpp
SOURCES	        += ipefactory.cpp
SOURCES	        += ipeiml.cpp
SOURCES	        += ipepage.cpp
SOURCES	        += ipepainter.cpp
SOURCES	        += ipepdfparser.cpp
SOURCES	        += ipepdfwriter.cpp
SOURCES	        += ipepswriter.cpp
SOURCES	        += ipestdstyles.cpp
SOURCES	        += ipestyle.cpp
SOURCES	        += ipevisitor.cpp
SOURCES	        += ipesnap.cpp
SOURCES	        += ipeundo.cpp
SOURCES		+= ipeutils.cpp
SOURCES		+= ipelatex.cpp
# --------------------------------------------------------------------
win32:TARGET	= libipe
win32:DESTDIR	= ../../build/bin
unix:TARGET	= ipe
unix:DESTDIR	= ../../build/lib
win32:LIBS	+= ../../../zlib/lib/zlib.lib
unix:LIBS	+= $${ZLIB_LIBS} -lz
DEFINES		+= IPE_MAKEDLL
INCLUDEPATH	+= ../include
DEPENDPATH      += ../include
win32:INCLUDEPATH += ../../../zlib/src
unix:INCLUDEPATH  += $${ZLIB_INCLUDE}
OBJECTS_DIR	= ../../build/obj/ipelib
# --------------------------------------------------------------------
unix:target.path = $${IPELIBDIR}
unix:INSTALLS   += target
# --------------------------------------------------------------------
