TEMPLATE	= app
LANGUAGE	= C++
HEADERS		= console.h pmchart.h main.h \
		  aboutdialog.h chartdialog.h exportdialog.h \
		  hostdialog.h infodialog.h openviewdialog.h \
		  recorddialog.h samplesdialog.h saveviewdialog.h \
		  searchdialog.h seealsodialog.h settingsdialog.h \
		  tab.h tabdialog.h \
		  chart.h colorbutton.h colorscheme.h statusbar.h \
		  fileiconprovider.h namespace.h qcolorpicker.h \
		  tabwidget.h timeaxis.h timebutton.h timecontrol.h \
		  groupcontrol.h gadget.h sampling.h tracing.h
SOURCES		= console.cpp pmchart.cpp main.cpp \
		  aboutdialog.cpp chartdialog.cpp exportdialog.cpp \
		  hostdialog.cpp infodialog.cpp openviewdialog.cpp \
		  recorddialog.cpp samplesdialog.cpp saveviewdialog.cpp \
		  searchdialog.cpp seealsodialog.cpp settingsdialog.cpp \
		  tab.cpp tabdialog.cpp \
		  chart.cpp colorbutton.cpp colorscheme.cpp statusbar.cpp \
		  fileiconprovider.cpp namespace.cpp qcolorpicker.cpp \
		  tabwidget.cpp timeaxis.cpp timebutton.cpp timecontrol.cpp \
		  groupcontrol.cpp gadget.cpp sampling.cpp tracing.cpp \
		  view.cpp
FORMS		= aboutdialog.ui chartdialog.ui console.ui exportdialog.ui \
		  hostdialog.ui infodialog.ui pmchart.ui openviewdialog.ui \
		  recorddialog.ui samplesdialog.ui saveviewdialog.ui \
		  searchdialog.ui seealsodialog.ui settingsdialog.ui \
		  tabdialog.ui
ICON		= pmchart.icns
RC_FILE		= pmchart.rc
RESOURCES	= pmchart.qrc
INCLUDEPATH	+= ../include ../libqmc ../libqwt
win32:INCLUDEPATH += @pcp_dir@/include @pcp_dir@/local/include
LIBS		= -lpcp -L../libqmc -lqmc -L../libqwt -lqwt
LIBS		+= -L../libqmc/@qt_release@ -L../libqmc/build/@qt_release@
LIBS		+= -L../libqwt/@qt_release@ -L../libqwt/build/@qt_release@
win32:LIBS	+= -L@pcp_dir@/bin -L@pcp_dir@/local/bin -L@pcp_dir@/lib
win32:LIBS	+= -lwsock32
QT		+= network
CONFIG		+= qt warn_on @qt_release@
QMAKE_INFO_PLIST = pmchart.info
