Makefile.in
Makefile
+qMakefile
+moc_*
+qrc_mdi.cpp
+gvedit
SUBDIRS = ui images
+all: gvedit
+
+qMakefile: gvedit.pro
+ qmake-qt4 -o qMakefile gvedit.pro
+
+gvedit: main.cpp qMakefile
+ $(MAKE) -f qMakefile prefix=${prefix} libdir=${libdir}
+
EXTRA_DIST = csettings.cpp csettings.h document1.png document2.png \
gvedit.pro gvedit.ncb gvedit.sln gvedit.vcproj gvedit.vcproj.RESEARCH.arif.user gvedit.vcproj.user \
imageviewer.cpp imageviewer.h \
+++ /dev/null
-
-DEFINES += HAVE_CONFIG_H GVEDIT_DATADIR=/Users/erg/share/graphviz/gvedit
-LIBS += -L/Users/erg/lib -lgvc -lgraph -lcdt
-INCLUDEPATH += ../../lib/gvc ../../lib/common ../../lib/pathplan ../../lib/graph ../../lib/cdt ../..
-
-CONFIG += qt
-HEADERS = mainwindow.h mdichild.h csettings.h imageviewer.h ui_settings.h
-SOURCES = main.cpp mainwindow.cpp mdichild.cpp csettings.cpp imageviewer.cpp
-RESOURCES = mdi.qrc
-
--- /dev/null
+
+DEFINES += HAVE_CONFIG_H GVEDIT_DATADIR=@datadir@/graphviz/gvedit
+LIBS += -L@libdir@ -lgvc -lgraph -lcdt
+INCLUDEPATH += \
+ /usr/include/Qt \
+ /usr/include/QtCore \
+ /usr/include/QtGui \
+ ../../lib/gvc \
+ ../../lib/common \
+ ../../lib/pathplan \
+ ../../lib/graph \
+ ../../lib/cdt \
+ ../..
+
+CONFIG += qt
+HEADERS = mainwindow.h mdichild.h csettings.h imageviewer.h ui_settings.h
+SOURCES = main.cpp mainwindow.cpp mdichild.cpp csettings.cpp imageviewer.cpp
+RESOURCES = mdi.qrc
+
# $Id$ $Revision$
## Process this file with automake to produce Makefile.in
+all:
+
EXTRA_DIST = copy.png cut.png export.png icon.png new.png open.png \
paste.png run.png save.png save_as.png settings.png
#ifdef WIN32_DLL
#include "windows.h"
#endif
+#include <stdio.h>
#include <QApplication>
#include "mainwindow.h"
*************************************************************************/
#include <QtGui>
-#include <qframe>
+#include <qframe.h>
#include "mainwindow.h"
#include "mdichild.h"
#include "csettings.h"
# $Id$ $Revision$
## Process this file with automake to produce Makefile.in
+all:
EXTRA_DIST = main.ui settings.ui
Makefile.in
Makefile
-.deps
*.1.pdf
+gvmap
+cluster
+.deps
+.libs
cmd/smyrna/Makefile
cmd/gvmap/Makefile
cmd/gvedit/Makefile
+ cmd/gvedit/gvedit.pro
cmd/gvedit/ui/Makefile
cmd/gvedit/images/Makefile
tclpkg/Makefile
BuildRequires: java-devel
%define PHP 1
BuildRequires: php-devel
+%define QT 0
+BuildRequires: qt-devel
%ifnarch ppc64
%define SHARP 1
BuildRequires: mono-core
%{_libdir}/graphviz/*fdb
%endif
+#-- graphviz-qt rpm --------------------------------------------------
+%if 0%{?QT}
+%package qt
+Group: Applications/Multimedia
+Summary: Graphviz applications using QT
+Requires: graphviz = %{version}-%{release}
+
+%description qt
+Graphviz applications using QT - currently just gvedit
+
+%files qt
+%{_bindir}/gvedit
+%{_datadir}/graphviz/gvedit/*
+%endif
+
#-- graphviz-sharp rpm --------------------------------------------
%if 0%{?SHARP}
%package sharp